Token Transaction Status
In this section you will learn how to process a Token Transaction Status message
Token Transaction Status Overview
A Token Transaction Status enables a merchant to return the status of a transaction using a token associated with a previous transaction
How to process a Token Transaction Status request message
The merchant's system sends a HTTP GET Token Transaction Status request message to the ANYpay Gateway. Sections Token Transaction Status describes the elements required to build a Token Transaction Status request message.
Examples of a Token Transaction Status request message can be seen below.
https://api-integration.pxp-solutions.net/transactionservice/api/v5/transactions/03379763-2E9A-4AB8-9E0F-ED8C39614FCF
Handling a Token Transaction Status response message
An example of a Token Transaction Status response message can be seen below.
{
"id": "03379763-2e9a-4ab8-9e0f-ed8c39614fcf",
"state": "Authorised",
"providerStateCode": "000",
"providerStateMessage": null,
"currencyCode": "USD",
"transactionAmount": 10,
"cardType": "card.visa",
"type": "ecom.sale",
"transactionDateTime": "2018-02-16T14:55:41.777",
"accountDetails": {
"cardNumber": "444433******1111",
"cardTokenizedNumber": "9997000000005071111",
"isVisaCheckout": null,
"cardExpiryYear": 49,
"cardExpiryMonth": 12
},
"details": {
"providerMerchantId": "542929008043127",
"providerTerminalId": "00630376"
},
"stateDetails": {
"approvalCode": "06287A"
}
}
Updated about 5 years ago