Voucher:payment

This endpoint initiates a voucher (gift card) payment in the Transaction Gateway Unit API. It allows your system to process a payment using a voucher as the payment method in a direct request.

Use this API when you want to charge a voucher for an order amount and begin a payment transaction using voucher credentials (e.g., card number and PIN). This is part of the voucher & gift card payment flow, enabling you to handle voucher-based payments directly through your backend integration.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

The new Voucher resource

string | null

Unique service location (SL-code) required when authenticating with Merchant API Tokens (AT-code + Token)

string | null

Is shown on the statement of the payer.

string | null

A unique reference defined in the merchant’s system for this transaction. This field only allows alphanumeric characters.

uri | null

The URL where the payer will be sent to after the payment.

uri | null

The URL where we exchange the status of a transaction.

amount
object
required
string | null
enum
voucher
object
required
customer
order
stats
transferData
object | null
Headers
string
enum
Defaults to prod

The environment that should be used to create the voucher payment.

Allowed:
string
length ≤ 100

The application name that was used to create the voucher payment.

string
length ≤ 32

The application version that was used to create the voucher payment.

string
length ≤ 100

The plugin name that was used to create the voucher payment.

string
length ≤ 32

The version of the plugin that was used to create the voucher payment.

Responses

400

Invalid input

422

Unprocessable entity

Language
Credentials
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json