Authorization Reversal Service {#samsungpay-reversal-intro}
===========================================================

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                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
|-------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `Elavon`          | Card types supported for full authorization reversals: Diners Club, Mastercard, Visa. A full authorization reversal must occur within 24 hours of the authorization.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| FDC Germany       | You are responsible for complying with the processor's specific requirements for full authorization reversals. Contact the processor for more information.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| FDMS South        | Card types supported for full authorization reversals: Visa, Mastercard, Discover, and JCB (US Domestic). For JCB cards, [US Domestic](# "") means that the currency is USD and your location is the U.S., Puerto Rico, Guam, U.S. Virgin Islands, or Northern Mariana Islands. Full authorization reversals are supported only for transactions that do not go through a currency conversion. Full authorization reversals are supported for the following types of merchants and currencies: * Merchants located in the U.S. who authorize, settle, and fund in U.S. dollars. * Merchants located in Canada who authorize, settle, and fund in Canadian dollars. * Merchants located in Latin America or the Caribbean who authorize, settle, and fund in U.S. dollars. * Merchants located in Europe who authorize, settle, and fund in the currency for the country in which the merchant is located. {#samsungpay-reversal-intro_d27e81} |
| Software Express  | Card types supported for full authorization reversals: Visa, Mastercard.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
[Processor-Specific Information About Authorization Reversals]

Required Fields for Reversing an Authorization {#samsungpay-reversal-mandatory}
===============================================================================

The following fields are required when creating an authorization reversal request:

clientReferenceInformation.code
:

orderInformation.amountDetails.currency
:

orderInformation.amountDetails.totalAmount
:

processingInformation.paymentSolution
:
Set to `008`.

Related Information {#samsungpay-reversal-mandatory_section_abb_khn_b1c}
------------------------------------------------------------------------

[REST API Field Reference Guide](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/rest-api-fields-intro.md "")

Reversing an Authorization {#samsungpay-reversal-procedure}
===========================================================

1. Send the service request to `POST https://&lt;``url_prefix``&gt;/v2/payments/{id}/reversals`. Use one of these prefixes:

   * Test: `apitest.cybersource.com`
   * Production: `api.cybersource.com`
   * Production in India: `api.in.cybersource.com`

   {#samsungpay-reversal-procedure_choices_mgd_hkn_b1c}

   #### ADDITIONAL INFORMATION

   Where `id` is the authorization ID returned in the authorization response.

   ```
   {
     "id": "6481692924466004003001"
   }
   ```

   The URL with the `id` value is included in the authorization response:

   ```
   {
       "_links": {
           "authReversal": {
               "method": "POST",
               "href": "/pts/v2/payments/6481692924466004003001/reversals"
           },
   ```
2. 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](https://developer.cybersource.com/api/reference/response-codes.md "").

Example: Basic Credit Card Authorization Reversal Using the REST API {#samsungpay-reversal-ex-rest}
===================================================================================================

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."
    }
}
```

