Mass Transit Visa Account Verification Request (AVR) with a Token
This section describes how to process a zero amount authorization for a mass transit Visa account verification request (AVR).
Endpoint
Test:
POST
https://apitest.cybersource.com
/pts/v2/paymentsProduction:
POST
https://api.cybersource.com
/pts/v2/paymentsRequired Fields for a Visa AVR Authorization with a Transient Token Using the REST
API
- Set this field to0.00.
- Set this field to001.
- Set this field to2.
- Set this field tocontactless.
- Set this field to5.
- Set this field to0.
- Set this field toretail.
Example: Performing a Visa AVR Authorization with a Transient Token Using the REST
API
Request
{ "clientReferenceInformation": { "transactionId": "5987654321", "partner": { "thirdPartyCertificationNumber": "123456789012" } }, "processingInformation": { "processingInformation.commerceIndicator" : "retail", "reconciliationId": "asfafafafaffa" }, "orderInformation": { "amountDetails": { "totalAmount": "0.00", "currency": "THB" } }, "tokenInformation": { "jti": "a76392f4-cde4-97aa-1112-0242ac14c005" }, "pointOfSaleInformation": { "terminalId": "12345678", "catLevel": "2", "entryMode": "contactless", "terminalCapability": "5", "terminalPinCapability": "0" } }
Response to a Successful Request
{ "_links": { "authReversal": { "method": "POST", "href": "/pts/v2/payments/6482301315406593304003/reversals" }, "self": { "method": "GET", "href": "/pts/v2/payments/6482301315406593304003" }, "capture": { "method": "POST", "href": "/pts/v2/payments/6482301315406593304003/captures" } }, "clientReferenceInformation": { "code": "123456", "transactionId": "5987654321" }, "id": "6482301315406593304003", "orderInformation": { "amountDetails": { "authorizedAmount": "0.00", "currency": "THB" } }, "paymentAccountInformation": { "card": { "type": "001" } }, "paymentInformation": { "tokenizedCard": { "type": "001" }, "card": { "type": "001" } }, "processorInformation": { "systemTraceAuditNumber": "191316", "approvalCode": "831000", "merchantAdvice": { "code": "01", "codeRaw": "M001" }, "responseDetails": "ABC", "networktransactionId": "016153570198200", "consumerAuthenticationResponse": { "code": "2", "codeRaw": "2" }, "transactionId": "016153570198200", "responseCode": "00", "avs": { "code": "Y", "codeRaw": "Y" } }, "reconciliationId": "asfafafafaffa", "status": "AUTHORIZED", "submitTimeUtc": "2022-03-25T17:42:11Z" }