# Deposit Callback

## Deposit Callback

In this step, we are sending you a webhook with the status of the payement to your provided URL in the FCF Pay dashboard as a project callback URL.&#x20;

This webhook happens when you receive payment.

The request has a JSON body value like this:

```
{
  "success": true,
  "data": {
    "order_id": "68",
    "user_id": "",
    "deposited": true,
    "txid": "0x9cf24f76778e517511f6178f114a1d3e95e3c7fdbfcbe52a961b6d748e860849", 
    "unique_id": "0x9cf24f76778e517511f6178f114a1d3e95e3c7fdbfcbe52a961b6d748e860849_0",
    "fiat_amount": "26.12"
    "fiat_currency": "USD"
    "amount": "64464",
    "currency": "BTC",
    "confirm_blocks": 72,
    "fees": "662",
    "decimal": 8,
    "fee_decimal": 8
  },
  "message": "Payment Received"
}
```

| Field           | Description                                                                                                           |
| --------------- | --------------------------------------------------------------------------------------------------------------------- |
| order\_id       | it's the same order Id which you sent us in create order                                                              |
| user\_id        | The user\_id is the same as you sent us in create-order                                                               |
| txid            | txid is the deposit transaction id                                                                                    |
| unique\_id      | The unique id is that order unique id which you should take and call to check-source endpoint for checking the source |
| deposited       | True/False: when it's true the transaction is successfully deposited, when it's false transaction is not deposited    |
| confirm\_blocks | Confiramation blocks count                                                                                            |
| fiat\_amount    | The fiat amount is converted by using CMC API                                                                         |
| fiat\_currency  | The fiat\_amount currency name is the same as you sent us in create-order                                             |
| amount          | Transaction amount                                                                                                    |
| currency        | The currency is transferred cryptocurrency name                                                                       |
| fees            | The fees is miners fees for transaction                                                                               |
| decimal         | The decimal depends on paid cryptocurrencies                                                                          |
| fee\_decimal    | The fee decimal depends on paid cryptocurrencies                                                                      |
