Mass Transit Merchant-Initiated Sale for Debt Recovery with a Token
China UnionPayREST API
This section describes how to process a merchant-initiated sale for debt
recovery with a token.
Endpoint
Test:
POST
https://apitest.cybersource.com
/pts/v2/paymentsProduction:
POST
https://api.cybersource.com
/pts/v2/paymentsRequired Fields for a Merchant-Initiated Sale for Debt Recovery with a Token Using the
REST API
- Set this field totrue.
- Set this field totrue.
- Set this field totrue.
- Set this field tointernet.
- Set this field totransit.
Related Information
REST Example: Performing a Merchant-Initiated Sale for Debt
Recovery with a Token
Request
1234567891011121314151617181920212223242526272829303132333435363738{"clientReferenceInformation": { "code": "CUP Purchase Transit", "transactionId": ""12845678", "partner": { "thirdPartyCertificationNumber": "123456789012" } }, "processingInformation": { "commerceIndicator" : "internet", "industryDataType": "transit", "reconciliationId": "897YHGTHJUY", "linkId": "7007351831836009903681", "capture": "true", "authorizationOptions": { "debtRecoveryIndicator": "true", "deferredAuthIndicator": "true", "ignoreAvsResult": "true", "ignoreCvResult": "true" } } }, "paymentInformation": { "card": { "expirationMonth": "12", "expirationYear": "2033", "cardType": "062" }, "instrumentIdentifier": { "id": "0ABF155EB33E8FC2E0633F36CF0A0220" } }, "orderInformation": { "amountDetails": { "totalAmount": "100.00", "currency": "" } } }
Response to a Successful Request
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{"_links": { "void": { "method": "POST", "href": "/pts/v2/payments/7012397101156081303137/voids" }, "self": { "method": "GET", "href": "/pts/v2/payments/7012397101156081303137" } }, "clientReferenceInformation": { "code": "CUP Purchase Transit", "transactionId": "12845678" }, "id": "7012397101156081303137", "orderInformation": { "amountDetails": { "totalAmount": "100.00", "authorizedAmount": "100.00", "currency": "THB" } }, "paymentAccountInformation": { "card": { "type": "062" } }, "paymentInformation": { "tokenizedCard": { "type": "062" }, "instrumentIdentifier": { "id": "0ABF155EB33E8FC2E0633F36CF0A0220", "state": "ACTIVE" }, "card": { "type": "062" } "processorInformation": { "approvalCode": "005290", "settlementDate": "0501", "responseCode": "00", "avs": { "code": "2" } }, "reconciliationId": "8897YHGTHJUY", "status": "AUTHORIZED", "submitTimeUtc": "2023-11-29T06:35:11Z"}