v1

latestOpenAPI 3.0.02026-07-24440173.4 KB
Payments (V2)

DirectPayment

Facilitates the payment process by directly executing payments using card details or saved tokens. Note: This endpoint can be used if your system PCI certified

post/v2/DirectPayment/{invoiceKey}/{paymentGatewayId}

Path parameters

invoiceKeystring required

The invoice key for the transaction.

paymentGatewayIdinteger required

The payment gateway ID to process the payment through.

Request body

PaymentType'card' | 'token' required

Specify the payment type: 'card' for card payment, 'token' for tokenized payment.

Bypass3DSboolean

Specify whether this transaction should be verified by 3DS or not.

SaveTokenboolean

Set to true to save card data and return a token for future use.

Tokenstring

The token value to execute the transaction against. Required if PaymentType is 'token'.

Response

Payment processed successfully

IsSuccessboolean

Indicates if the request was successful.

Messagestring

Response message associated with the request.