On This Page
Merchant-Initiated Reversals and Voids
When you do not receive a reply message after sending a request to CyberSource, this feature enables you to reverse or void the transaction that you requested.
API Resource Name:
POST https://api.cybersource.com/pts/v2/payments
Note
For merchants in India, the Production endpoint is https://api.in.cybersource.com/pts/v2/payments
Ready to integrate?
- Include theclientReferenceInformation.transactionIdfield in your original request for an authorization, capture, sale, follow-on credit, or stand-alone credit.
Step Result
NOTEThe value of the merchant transaction ID must be unique for 60 days. - When you do not receive a reply message for your original transaction request, reverse or void the original transaction as described in the following table.
Step Result
Transaction to Reverse or VoidProcedureAuthorizationRequest the full authorization reversal service as described in "Reversals."Instead of including the request ID in your request message, include theclientReferenceInformation.transactionIdfield. The merchant transaction ID links your reversal request to your original request.Capture or saleRequest the void service as described in "Voids." Instead of including the request ID in your request message, include theclientReferenceInformation.transactionIdfield. The merchant transaction ID links your void request to your original request.CyberSource automatically handles authorization reversals on capture and sale requests.CreditRequest the void service as described in"Voids." Instead of including the request ID in your request message, include theclientReferenceInformation.transactionIdfield. The merchant transaction ID links your void request to your original request. - If the original transaction failed, the reply message for the reversal or void request includes the following fields:
- reversalAmountDetails.originalTransactionAmount
- authorizationInformation.reasonCode