REST API | Visa Platform Connect

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": "5413330089700042", "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" }