Auth/Sale Request
{
"TransactionIdentifier": "{{$guid}}",//GUID needs to be unique example:40511888-ad35-4bba-8dcb-214f493e185c
"TotalAmount": 1,
"CurrencyCode": "840", //Numeric currency code (ISO 4217). 840 = USD
"ThreeDSecure": true,
"Source": {
"CardPan": "4012000000020006", //Test card
"CardCvv": "323",
"CardExpiration": "2310",
"CardholderName": "John Doe"
},
"OrderIdentifier": "INT-{{$guid}}-Orc",
"AddressMatch": false,
"ExtendedData": {
"ThreeDSecure": {
"ChallengeWindowSize": 4,
"ChallengeIndicator": "03"
},
"MerchantResponseUrl": "{{MERCHANT_URL}}" //Please use a valid URL. PowerTranz's servers will send a
//response to the merchant response url. It's a callback URL.
}
}
Auth/Sale - Initial Redirect Data Response
{
"TransactionType": 1,
"Approved": false,
"TransactionIdentifier": "Your GUID from the payload should be reflected here",
"TotalAmount": 1.00,
"CurrencyCode": "840",
"IsoResponseCode": "SP4",
"ResponseMessage": "SPI Preprocessing complete",
"OrderIdentifier": "Your order identifier from the payload should be reflected here",
"RedirectData": "<!DOCTYPE html><html><head></head><body>...</body></html>",
"SpiToken": "SPI TOKEN will be here"
}
Auth/Sale - Authentication Response
{
"TransactionType": 1,
"Approved": false,
"TransactionIdentifier": "Your TransactionIdentifier from the payload should be reflected here",
"TotalAmount": 1.00,
"CurrencyCode": "840",
"CardBrand": "Visa",
"IsoResponseCode": "3D0",
"ResponseMessage": "3DS complete",
"RiskManagement": {
"ThreeDSecure": {
"Eci": "05",
"Xid": "dd56a939-08fa-4d18-bd57-64d8094a5606",
"Cavv": "AJkBCQIGiIYplVGQaQaIAAAAAAA=",
"AuthenticationStatus": "Y",
"ProtocolVersion": "2.1.0",
"FingerprintIndicator": "U",
"DsTransId": "838c2d2b-4def-415a-9046-de899b25bb4f",
"ResponseCode": "3D0",
"CardholderInfo": "Additional authentication is needed for this transaction,
'please contact(Issuer Name) at xxx - xxx - xxx'."
//this message needs to be displayed to the cardholder if received
}
},
"PanToken": "1glhritqittv5cslkx5awmljha8cjrntjjnawagki4czpg9qap",
"OrderIdentifier": "Your order identifier from the payload should be reflected here",
"SpiToken": "SPI TOKEN will be here"
}
Comments
0 comments
Article is closed for comments.