Merchant-Initiated Sale for Debt Recovery with Stored Card Data
This section describes how to process a bundled authorization and capture to perform a
merchant-initiated sale for debt recovery.
Endpoint
Production:
POST
https://api.cybersource.com
/pts/v2/paymentsTest:
POST
https://apitest.cybersource.com
/pts/v2/paymentsRequired Fields for a Merchant-Initiated Sale for Debt Recovery with Stored Card Data
Using the REST API
- Set this field toTransitDA Debt recovery MIT sale.
- Cybersourceprovides the value for this field.
- Cybersourceprovides the value for this field.
- Set this field to1.
- Set this field totrue.
- Set this field totrue.
- Set this field totrue.
- Set this field to1.
- Set this field totrue.
- Set this field tomerchant.
- Set this field totrue.
- Set this field tomoto.
- Set this field totransit.
Example: Merchant-Initiated Sale for Debt Recovery with Stored Card Data
Request
{ "clientReferenceInformation": { "comments": "TransitDA Debt recovery MIT sale", "code": "10000579", "transactionId": "20000579", "partner": { "thirdPartyCertificationNumber": "BPCDRC220403", "solutionId": "548UHQ8Z" } }, "processingInformation": { "commerceIndicator": "moto", "industryDataType": "transit", "reconciliationId": "1111", "capture": "true", "authorizationOptions": { "debtRecoveryIndicator": "true", "authIndicator": "1", "ignoreAvsResult": "true", "ignoreCvResult": "true", "transportationMode": "01", "initiator": { "type": "merchant", "storedCredentialUsed": "true", "merchantInitiatedTransaction": { "reason": "1", "previousTransactionId": "016153570198200" } } } }, "paymentInformation": { "card": { "number": "541333XXXXXXXXXX", "expirationMonth": "12", "expirationYear": "2049", "type": "002" } }, "orderInformation": { "amountDetails": { "totalAmount": "10.00", "currency": "EUR" } } }
Response to a Declined Request
{ "_links": { "self": { "method": "GET", "href": "/pts/v2/payments/6508879024886569004002" } }, "clientReferenceInformation": { "code": "10000579", "partner": { "solutionId": "548UHQ8Z" }, "transactionId": "20000579" }, "errorInformation": { "reason": "PROCESSOR_DECLINED", "message": "Decline - General decline of the card. No other information provided by the issuing bank." }, "id": "6508879024886569004002", "pointOfSaleInformation": { "emv": { "tags": "9F36020015910AB58D60185BEF0247303072179F180430303031860E04DA9F580903B1BAEDFD1438BA48" } }, "processorInformation": { "systemTraceAuditNumber": "162971", "networktransactionId": "016153570198200", "retrievalReferenceNumber": "211511162971", "transactionId": "016153570198200", "responseCode": "05", "avs": { "code": "1" } }, "status": "DECLINED" }