Skip to main content

Card Tokenization Response

Card authorisation response returned after card proxy creation.

cardNumberstring

Obfuscated card number.

cardProxystring

Processor token. Used to make payment next time.

cardTypestring

Card type (Visa, MasterCard etc.).

expirystring

Card expiry in MM/yy format.

failureCodestring

Failure code in case the authorisation fails.

failureReasonstring

Failure reason in case the authorisation fails.

pricing object

Applicable pricing based on provided card and payment details.

customerFeenumber<double>

Fee paid by the customer.

merchantFeenumber<double>

Fee paid by the merchant.

paymentAmountnumber<double>

Payment amount i.e. base amount excluding any fee.

processingAmountnumber<double>

Total amount charged to the card, including any fee.

redirectUrlstring

3DSecure redirect url to complete the 3DSecure challege if required by the scheme.

statusstring

Proxy status Expected Statuses

  1. Pending This proxy is waiting be to processed
  2. Successful - This proxy was successful
  3. Failed - This proxy has Failed
  4. PendingThreeDS - This proxy needs to complete 3DSecure process using the RedirectUrl.
Card Tokenization Response
{
"cardNumber": "string",
"cardProxy": "string",
"cardType": "string",
"expiry": "string",
"failureCode": "string",
"failureReason": "string",
"pricing": {
"customerFee": 0,
"merchantFee": 0,
"paymentAmount": 0,
"processingAmount": 0
},
"redirectUrl": "string",
"status": "string"
}