The authorization reversal service is a follow-on service that uses the request ID
returned from the previous authorization. An authorization reversal releases the hold
that the authorization placed on the customer’s credit card funds. Use this service to
reverse an unnecessary or undesired authorization.
Payment Processor | Authorization Reversal Information |
---|---|
Barclays | You are responsible for complying with the processor’s specific requirements
for full authorization reversals. Contact the processor for more information.
Enhanced authorization reversals are supported on this processor; therefore,
extra data is included in the authorization reversal request. It is not
necessary to process or monitor the extra data. |
Required Fields for Reversing an Authorization
The following fields are required when creating an authorization reversal request:
- clientReferenceInformation.code
- orderInformation.amountDetails.currency
- orderInformation.amountDetails.totalAmount
- processingInformation.paymentSolution
- Set to008.
Related Information
Reversing an Authorization
- Send the service request toPOST https://<. Use one of these prefixes:url_prefix>/v2/payments/{id}/reversals
- Test:apitest.cybersource.com
- Production:api.cybersource.com
- Production in India:api.in.cybersource.com
ADDITIONAL INFORMATION
Whereidis the authorization ID returned in the authorization response.{ "id": "6481692924466004003001" }The URL with theidvalue is included in the authorization response:{ "_links": { "authReversal": { "method": "POST", "href": "/pts/v2/payments/6481692924466004003001/reversals" }, - Check the response message to make sure that the request was successful. A 200-level HTTP response code indicates success. For information about response codes, see Transaction Response Codes.
Example: Basic Credit Card Authorization Reversal Using
the REST API
Authorization Reversal Request
{ "clientReferenceInformation": { "code": "TC50171_3" }, "reversalInformation": { "amountDetails": { "totalAmount": "102.21" }, "reason": "exception" } }
Authorization Reversal Response
{ "submitTimeUtc": "2021-04-22T16:44:03Z", "status": "approved", "errorInformation": { "reason": "EXCEPTION", "message": "The request was processed successfully." } }