---
title: "Withdraw Completed Webhook"
source_url: https://docs.rapyd.net/en/withdraw-completed-webhook.html
lang: en
---

# Withdraw Completed Webhook

The **WithdrawCompleted** webhook is sent when a withdrawal is completed at a Rapyd point-of-sale location.

> **Note:**
>
> The endpoint for webhooks is unique for each merchant. To set up a webhook endpoint for the POS API, contact **Rapyd Client Support**.

### 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 withdrawal. Decimal.
- - currency
  - Three-letter ISO 4217 code for the currency used in the 'amount' field.
- - id
  - ID of the withdrawal. UUID.
- - phone_number
  - Phone number of the Rapyd Wallet in E.164 format.
- - pos_id
  - ID of the Rapyd point of sale where the withdrawal was made. String starting with **pos_**.
- - timestamp
  - Time of the withdrawal, in Unix time.
- - type
  - Type of webhook: **WithdrawCompleted**

- WithdrawCompleted Webhook
- ```json
  {
    "type": "WithdrawCompleted",
    "id": "1da9cde0-d60d-11e8-8544-0ed4cc82c482",
    "phone_number": "+442071838752",
    "amount": 50,
    "currency": "USD",
    "pos_id": "013623da-d2e4-11e8-8544-0ed4cc82c482",
    "timestamp": "1540221245"
  }
  ```
