Skip to navigation

Confirm card payment

View as Markdown

Confirm a card payment using the token returned by the Card Payment SDK’s submit().

Authentication

X-API-Keystring
API Key authentication via header

Request

Your payment details
referencestringRequired

Your unique payment reference (e.g. ORDER-123123)

tokenstringRequired

Token returned by the Card Payment SDK’s submit()

amountintegerRequired>=100

Amount in cents, minimum 100 (e.g. 1050 = 10.50 USD)

currencyenumRequired

Currency in ISO 4217 3-letter format. Only USD is supported at the moment.

Allowed values:
billingobjectRequired

Response

Card payment confirmed
transactionobjectOptional

Errors

422
Unprocessable Entity Error