On This Page
Basic Steps: Reversing a Payment Authorization
- Follow these steps to reverse an Apple Pay payment authorization:
- Create the request message with the requiredRESTAPI fields.
- Use the API fields listed in Fields Required to Reverse a Payment Authorization.
- Refer to the example in REST Example: Reverse a Payment Authorization.
- Send the request to one of these endpoints:
- Production:POSThttps://api.cybersource.com/pts/v2/payments/{id}/reversals
- Test:POSThttps://apitest.cybersource.com/pts/v2/payments/{id}/reversals
ADDITIONAL INFORMATION
Replace the{id}portion of the URL with the transaction ID of the payment that you want to reverse. The transaction ID is returned in theidfield of the response to the authorization request. Example value: 7359642011156554503954 - Verify the response messages to make sure that the request was successful.
ADDITIONAL INFORMATION
A 200-level HTTP response code indicates success. See the .