Authorization Reversal {#um-processing-rev-intro}
=================================================

Use this information to reverse an unnecessary authorization.

Endpoint {#um-processing-rev-intro_d7e85}
-----------------------------------------

**Production:** `POST ``https://api.visaacceptance.com``/pts/v2/payments/`*{id}*`/reversals`{#um-processing-rev-intro_d7e94}  
**Test:** `POST ``https://apitest.visaacceptance.com``/pts/v2/payments/`*{id}*`/reversals`{#um-processing-rev-intro_d7e107}  
The *{id}* is the transaction ID returned in the authorization response.

Required Fields for an Authorization Reversal {#um-processing-rev-reqd-fields}
==============================================================================

clientReferenceInformation.code
:

reversalInformation.amountDetails.totalAmount
:

reversalInformation.reason
:
Set this field to `Authreversal`.

REST Example: Authorization Reversal {#um-processing-rev-ex-rest-cup}
=====================================================================

Request

```
{
  "clientReferenceInformation": {
    "code": "FE978755"
  },
  "reversalInformation": {
    "amountDetails": {
      "totalAmount": "999.87"
    },
    "reason": "Authreversal"
  }
}
```

Response to a Successful Request

```
{
    "_links": {
        "self": {
            "method": "GET",
            "href": "/pts/v2/reversals/7167830399586147504953"
        }
    },
    "clientReferenceInformation": {
        "code": "FE978755"
    },
    "id": "7167830399586147504953",
    "orderInformation": {
        "amountDetails": {
            "currency": "THB"
        }
    },
    "processorInformation": {
        "responseCode": "000"
    },
    "reversalAmountDetails": {
        "reversedAmount": "999.87",
        "currency": "THB"
    },
    "status": "REVERSED",
    "submitTimeUtc": "2024-05-27T04:10:40Z"
}
```

