On This Page

{#jumplink-list}  
[Markdown](/content/cybsdeveloper2021/amer/en/docs/cybs/en-us/urban-mobility/developer/ctv/rest/mass-transit/um-processing-followon/um-processing-rev-intro.md)  
Filter  
FILTER BY TAG

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

This section describes how to reverse an authorization.  
Use the authorization reversal service to reverse an unnecessary or undesired authorization.

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

**Production:** `POST ``https://api.cybersource.com``/pts/v2/payments/`*{id}*`/reversals`{#um-processing-rev-intro_d7e94}  
**Test:** `POST ``https://apitest.cybersource.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 a Mass Transit Authorization Reversal {#um-processing-rev-reqd-fields}
==========================================================================================

[clientReferenceInformation.comments](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/client-ref-info-aa/client-ref-info-comments.md "")
:

[clientReferenceInformation.partner.thirdPartyCertificationNumber](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/client-ref-info-aa/client-ref-info-partner-third-party-certnum.md "")
:

[clientReferenceInformation.transactionId](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/client-ref-info-aa/client-ref-info-transaction-id.md "")
:

[reversalInformation.amountDetails.currency](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/reversal-info-aa/reversal-info-amount-details-currency.md "")
:

[reversalInformation.amountDetails.totalAmount](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/reversal-info-aa/reversal-info-amount-details-total-amount.md "")
:

Related Information
-------------------

* [API field reference guide for the REST API](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/rest-api-fields-intro.md "")

REST Example: Reversing a Mass Transit Authorization {#um-processing-rev-ex-rest}
=================================================================================

Request

```
{
    "clientReferenceInformation": {
        "comments": "REVERSAL Timeout",
        "transactionId": "11987654321",
        "partner": {
            "thirdPartyCertificationNumber": "123456789012"
        }
    },
    "reversalInformation": {
        "amountDetails": {
            "totalAmount": "300.00",
            "currency": "EUR"
        }
    }
}
```

Response to a Successful Request

```
{
    "_links": {
        "self": {
            "method": "GET",
            "href": "/pts/v2/reversals/6484678664766823004004"
        }
    },
    "clientReferenceInformation": {
        "code": "123456",
        "transactionId": "11987654321"
    },
    "id": "6484678664766823004004",
    "orderInformation": {
        "amountDetails": {
            "currency": "EUR"
        }
    },
    "processorInformation": {
        "responseDetails": "ABC",
        "responseCode": "00"
    },
    "reconciliationId": "6484678664766823004004",
    "reversalAmountDetails": {
        "reversedAmount": "300.00",
        "currency": "EUR"
    },
    "status": "REVERSED",
    "submitTimeUtc": "2022-03-28T11:44:26Z"
}
```

RELATED TO THIS PAGE

