On This Page 
    Authorization Reversal
    This section provides the information about how to process an authorization reversal. 
Reversing an authorization releases the hold on the customer’s payment card funds that the
      issuing bank placed when processing the authorization. 
For a debit card or prepaid card in which only a partial amount was approved, the amount of
      the reversal must be the amount that was authorized, not the amount that was requested.
Supported Card Types
      All supported card types can process reversals.
        
      
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}
Required Fields for Processing an Authorization Reversal
    - Cybersourceprovides the value for this field.
- The amount of the reversal must be the same as the authorization amount that was included in the authorization response message. Do not use the amount that was requested in the authorization request message.
REST Example: Processing an Authorization Reversal
    Request
{ "clientReferenceInformation": { "code": "test123" } "reversalInformation" : { "amountDetails" : { "totalAmount" : "100.00", "currency" : "USD" } } }
Response to a Successful Request
{ "_links" : { "self" : { "method" : "GET", "href" : "/pts/v2/reversals/6869460219566537303955" } }, "clientReferenceInformation" : { "code" : "RTS-Auth-Reversal" }, "id" : "6869460219566537303955", "orderInformation" : { "amountDetails" : { "currency" : "USD" } }, "processorInformation" : { "responseCode" : "200" }, "reconciliationId" : "82kBK3qDNtls", "reversalAmountDetails" : { "reversedAmount" : "100.00", "currency" : "USD" }, "status" : "REVERSED", "submitTimeUtc" : "2023-06-16T20:07:02Z" }