---
title: "Remote Authorization Reversed Webhook"
source_url: https://docs.rapyd.net/en/remote-authorization-reversed-webhook.html
lang: en
---

# Remote Authorization Reversed Webhook

This **AUTHORIZATION** webhook with status **REVERSED** is sent after a successful response from the client to Rapyd, and one of the following events:

- The transaction was not processed due to a reversal message from the location where the card was used.
- A communications failure that blocked completion of the transaction within the time required by the card issuer.

> **Note:**
>
> The endpoint for webhooks is unique for each client. To set up a webhook endpoint, see [Defining a Webhook Endpoint](https://docs.rapyd.net/en/defining-a-webhook-endpoint.md "Defining a Webhook Endpoint").

### Parameters

### Webhook Header Parameters

- - Content-Type
  - Indicates that the data appears in JSON format. Set to **application/json**.
- - salt
  - Random string.
- - signature
  - Signature calculated for each webhook individually.

    See [Webhook Authentication](https://docs.rapyd.net/en/webhook-authentication.md "Webhook Authentication").
- - timestamp
  - Timestamp for the webhook, in [Unix time](https://docs.rapyd.net/en/glossary.md#UUID-945d98cf-adae-e1cf-2606-c7fae8b4a7e1_unix_time "Unix time") (seconds).

### Webhook Root Parameters

- - created_at
  - Time that the webhook was created, in [Unix time](https://docs.rapyd.net/en/glossary.md#UUID-945d98cf-adae-e1cf-2606-c7fae8b4a7e1_unix_time "Unix time").

    > **Note:**
    >
    > Inside the `data` object, some webhooks have another `created_at` field that refers to a different event.
- - data
  - Contains the actual data of the webhook.

    For details, see below.
- - extended_timestamp
  - Time in milliseconds that the webhook was created, in [Unix time](https://docs.rapyd.net/en/glossary.md#UUID-945d98cf-adae-e1cf-2606-c7fae8b4a7e1_unix_time "Unix time").
- - id
  - ID of the webhook. String starting with **wh_**.
- - status
  - Status of the webhook. One of the following:

    - **NEW**
    - **CLO** - Closed.
    - **ERR** - Error.
    - **RET** - Re-sent.

    > **Note:**
    >
    > Inside the `data` object, some webhooks have another `status` field that refers to a different event.
- - trigger_operation_id
  - ID of the operation that triggered the webhook. UUID.
- - type
  - Name of the webhook type.

    > **Note:**
    >
    > The name in the Client Portal is different.

### Webhook Data Parameters

- - amount
  - Amount of the transaction, in units defined in `currency`.
- - auth_code
  - Authorization code provided by client.
- - currency
  - Currency of the transaction. Three-letter ISO 4217 code.
- - created_at
  - Timestamp for the operation, in Unix time.
- - id
  - ID of the authorization. String starting with **cardauth_**.
- - reversed_authorization_id
  - ID of the authorization reversal.
- - status
  - Status of the request. One of the following values:

    - **COMPLETED**
    - **REVERSED**
- - transaction_amount
  - Amount debited from the Rapyd Wallet. Decimal, including the correct number of decimal places for the currency exponent, as defined in ISO 2417:2015.
- - transaction_currency_code
  - Original transaction currency, if different from the currency credited to the Rapyd Wallet. Three-letter ISO 4217 code.
- - type
  - Type of request. One of the following values:

    - **AUTHORIZATION**

- AUTHORIZATION Webhook
- ```json
  {
      "id": "wh_60073e780373d86a928a012ca7f42f1a",
      "data": {
          "type": "AUTHORIZATION",
          "amount": 50,
          "status": "REVERSED",
          "currency": "USD",
          "auth_code": null,
          "created_at": 1619316412,
          "authorization_id": "cardauth_b66536190c58b2dad3c495810c6f4003",
          "reversed_authorization_id": "cardauth_07e794c9a79a646d13839ed148d91d9a"
      },
      "type": "AUTHORIZATION",
      "status": "NEW",
      "created_at": 1619316412,
      "extended_timestamp": 1619316412632,
      "trigger_operation_id": "372394cb-f316-4d38-8276-b24dd092b1cc"
  }
  ```
