---
title: "Quarantine Declined Webhook"
source_url: https://docs.rapyd.net/en/quarantine-declined-webhook.html
lang: en
---

# Quarantine Declined Webhook

The **QUARANTINE_DECLINED** webhook is sent when Rapyd permanently declines a transaction that was placed in quarantine.

> **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

- - action_flow_id
  - ID of the action flow. UUID.
- - action_type
  - The action that triggered the quarantine. One of the following:

    - **bank_account_issuing_transfer**
    - **create_bank_account**
    - **create_ewallet**
    - **create_ewallet_contact**
    - **create_payment**
    - **create_payout**
    - **ewallet_transfer_funds**
    - **identity_verification**
    - **personalize_issued_card**
    - **transfer_funds_between_ewallets**
    - **update_contact_compliance_profile**
    - **update_ewallet**
    - **update_ewallet_contact**
- - created_at
  - Time of creation of the quarantine, in [Unix time](https://docs.rapyd.net/en/glossary.md#UUID-945d98cf-adae-e1cf-2606-c7fae8b4a7e1_unix_time "Unix time").
- - duplicated_action_flow_id
  - ID of the duplicate action flow. Relevant to payouts.
- - error_code
  - Error code that is linked to the quarantine.
- - limits
  - Describes the limit that the action breached. Contains the following fields:

    - - breach_value
      - The value of the measured bucket if the transaction is approved.
    - - compliance_profile
      - The compliance level of the wallet.
    - - limit_name
      - Name of the limit.
    - - limit_value
      - Value of the limit.
    - - wallet_token
      - ID of the wallet relevant to the transaction. String starting with **ewallet_**. Limits and the compliance level are set for this wallet. Relevant when `reason` is set to **limits**.
- - reason
  - The reason that the transaction is placed in quarantine:

    - **compliance** - Compliance issues.
    - **limits** - Breached limit.
    - **rapyd_protect** - Rapyd Protect issues.
- - resolved_at
  - Time the quarantine was resolved, in [Unix time](https://docs.rapyd.net/en/glossary.md#UUID-945d98cf-adae-e1cf-2606-c7fae8b4a7e1_unix_time "Unix time"). Value is **0** when not resolved.
- - source
  - The Rapyd service that quarantined the action:

    - **compliance**
    - **rapyd_protect**
- - status
  - Status of the quarantine:

    - **HLD** - Quarantine under review.
    - **DEC** - Quarantine release declined.
    - **REL** - Quarantine released.
    - **REF** - Quarantine release failed.
- - target_tokens
  - ID of the relevant payout. One element of a string array, starting with **payout_**.
- - token
  - ID of the quarantine. String starting with **qm_**.
- - updated_at
  - Time the quarantine was last updated, in [Unix time](https://docs.rapyd.net/en/glossary.md#UUID-945d98cf-adae-e1cf-2606-c7fae8b4a7e1_unix_time "Unix time").

- QUARANTINE_DECLINED Webhook
- ```json
  {
      "id": "wh_dc905c661f273ac304c46f5d7db4ad8a",
      "data": {
          "token": "qm_7b36e91027f566f31a3782531e74a122",
          "target_tokens": [
              "payout_71987d8e65a4e7a68a5ea000e1984a24"
  	],
          "limits": {
              "limit_name": "Wallet total balance",
              "limit_value": 1100,
              "breach_value": 1102.38,
              "wallet_token": "ewallet_0c8e536d7a851db043387c5dab94f0f7",
              "compliance_profile": 3
          },
          "reason": "limits",
          "source": "compliance",
          "status": "DEC",
          "created_at": 1646529841,
          "error_code": "TRANSACTION_LIMIT_BREACHED",
          "updated_at": 1646529841,
          "action_type": "create_payment",
          "resolved_at": 0,
          "action_flow_id": "7bdaeaaa-8ed0-4815-affa-771b28ac1f35",
          "duplicated_action_flow_id": null
      },
      "type": "QUARANTINE_DECLINED",
      "status": "NEW",
      "created_at": 1646529843,
      "extended_timestamp": 1646529843336,
      "trigger_operation_id": "cf9b45b9-ad65-4589-b0e7-14218b2b06e3"
  }
  ```
