Authorization Reversals
Use the authorization reversal service to reverse an unnecessary or undesired
authorization.
Endpoint
Production:
POST
https://api.cybersource.com
/pts/v2/payments/{id}
/reversalsTest:
POST
https://apitest.cybersource.com
/pts/v2/payments/{id}
/reversalsThe is the transaction ID returned in the
authorization response.
{id}
Example: Reversing a Mass Transit Authorization
Request
{ "clientReferenceInformation": { "comments": "REVERSAL Timeout", "transactionId": "11987654321", "partner": { "thirdPartyCertificationNumber": "123456789012" } }, "reversalInformation": { "amountDetails": { "totalAmount": "300.00", "currency": "EUR" } } }
Response to a Successful Request
{ "_links": { "self": { "method": "GET", "href": "/pts/v2/reversals/6484678664766823004004" } }, "clientReferenceInformation": { "code": "123456", "transactionId": "11987654321" }, "id": "6484678664766823004004", "orderInformation": { "amountDetails": { "currency": "EUR" } }, "processorInformation": { "responseDetails": "ABC", "responseCode": "00" }, "reconciliationId": "6484678664766823004004", "reversalAmountDetails": { "reversedAmount": "300.00", "currency": "EUR" }, "status": "REVERSED", "submitTimeUtc": "2022-03-28T11:44:26Z" }