> For the complete documentation index, see [llms.txt](https://developers.coincircuit.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.coincircuit.io/webhooks/readme/deposits.md). Agents can also search and read this documentation through its [MCP server](https://developers.coincircuit.io/~gitbook/mcp).

# Deposits

Deposit webhook events and example payloads.

Deposit webhooks track money sent to your deposit accounts, either crypto to a deposit address or a bank transfer to a virtual account.

### Field descriptions

Deposit webhook events put the deposit directly in `data`. It has the same shape as a deposit returned by the API.

Exactly one of `data.crypto` and `data.fiat` is set. The other is `null`.

| Field                              | Type                 | Description                                                                                                                                               |
| ---------------------------------- | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `data.id`                          | `string`             | Unique deposit identifier.                                                                                                                                |
| `data.type`                        | `'crypto' \| 'fiat'` | `crypto` for a blockchain transfer, `fiat` for a bank transfer.                                                                                           |
| `data.status`                      | `string`             | `pending`, `completed`, or `failed`. See each event below.                                                                                                |
| `data.amount`                      | `string`             | Amount received, as a decimal string.                                                                                                                     |
| `data.currency`                    | `string`             | Deposit currency, such as `USDT` or `NGN`.                                                                                                                |
| `data.fee`                         | `string`             | Fee charged on the deposit, as a decimal string.                                                                                                          |
| `data.netAmount`                   | `string`             | Amount credited to your balance (amount minus fee), as a decimal string.                                                                                  |
| `data.conversion`                  | `object \| null`     | Set when a crypto deposit was converted to USDT on arrival: `fromCurrency`, `toCurrency`, `sourceAmount`, `targetAmount`, and `rate`.                     |
| `data.depositAccountId`            | `string \| null`     | The deposit account the deposit went into.                                                                                                                |
| `data.balanceReference`            | `string \| null`     | Reference of the balance entry this deposit credited. Null until it is credited.                                                                          |
| `data.customer`                    | `object \| null`     | The customer the deposit belongs to: `id`, `firstName`, `lastName`, `email`, and `metadata`. Null for a deposit to your own account.                      |
| `data.crypto.txHash`               | `string \| null`     | Transaction hash on the blockchain.                                                                                                                       |
| `data.crypto.chain`                | `string \| null`     | Blockchain network, such as `ethereum` or `tron`.                                                                                                         |
| `data.crypto.asset`                | `string \| null`     | Crypto asset received, such as `USDT`.                                                                                                                    |
| `data.crypto.amount`               | `string`             | Amount received in the asset that was sent.                                                                                                               |
| `data.crypto.fromAddress`          | `string \| null`     | Wallet address the funds came from.                                                                                                                       |
| `data.crypto.toAddress`            | `string \| null`     | Deposit address the funds were sent to.                                                                                                                   |
| `data.crypto.amlCheck`             | `string`             | Result of the compliance check: `pending`, `passed`, `failed`, or `under_review`.                                                                         |
| `data.crypto.staticDepositAddress` | `object \| null`     | The deposit address that received the funds: `chain`, `address`, and `createdAt`.                                                                         |
| `data.fiat.reference`              | `string \| null`     | Reference for the bank transfer.                                                                                                                          |
| `data.fiat.method`                 | `string`             | Always `bank_transfer`.                                                                                                                                   |
| `data.fiat.payer`                  | `object`             | Account that sent the money: `accountName`, `accountNumber`, `bankName`, `bankCode`.                                                                      |
| `data.fiat.payee`                  | `object`             | Account that received the money, with the same fields as `payer`.                                                                                         |
| `data.fiat.ngnVirtualAccount`      | `object \| null`     | The NGN virtual account that received the money: `currency`, `accountNumber`, `accountName`, `bankName`, `bankCode`, `accountReference`, and `createdAt`. |
| `data.createdAt`                   | `string`             | When the deposit was detected (ISO 8601).                                                                                                                 |
| `data.completedAt`                 | `string \| null`     | When the deposit was credited. Null while pending or if it failed.                                                                                        |

### Events

* `deposit.processing`
* `deposit.completed`
* `deposit.failed`

### `deposit.processing`

Sent when a deposit is detected and is being processed. `data.status` is `pending`.

```json
{
  "event": "deposit.processing",
  "data": {
    "id": "dep_123456789_abcdef",
    "type": "crypto",
    "status": "pending",
    "amount": "100.00",
    "currency": "USDT",
    "fee": "0.50",
    "netAmount": "99.50",
    "conversion": null,
    "depositAccountId": "da_123456789_abcdef",
    "balanceReference": null,
    "customer": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "firstName": "John",
      "lastName": "Doe",
      "email": "customer@example.com",
      "metadata": {
        "userId": "usr_8f21c3"
      }
    },
    "crypto": {
      "txHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
      "chain": "ethereum",
      "asset": "USDT",
      "amount": "100.00",
      "fromAddress": "0x9f8e7d6c5b4a39281706f5e4d3c2b1a098765432",
      "toAddress": "0x2b4c6d8e0f1a3b5c7d9e1f2a4b6c8d0e2f4a6b8c",
      "amlCheck": "pending",
      "staticDepositAddress": {
        "chain": "ethereum",
        "address": "0x2b4c6d8e0f1a3b5c7d9e1f2a4b6c8d0e2f4a6b8c",
        "createdAt": "2026-01-10T08:00:00.000Z"
      }
    },
    "fiat": null,
    "createdAt": "2026-01-15T10:30:00.000Z",
    "completedAt": null
  }
}
```

### `deposit.completed`

Sent when a deposit is credited to your balance. `data.status` is `completed`.

{% tabs %}
{% tab title="Crypto deposit" %}

```json
{
  "event": "deposit.completed",
  "data": {
    "id": "dep_123456789_abcdef",
    "type": "crypto",
    "status": "completed",
    "amount": "100.00",
    "currency": "USDT",
    "fee": "0.50",
    "netAmount": "99.50",
    "conversion": null,
    "depositAccountId": "da_123456789_abcdef",
    "balanceReference": "BAL-9f1c4a2b7de3",
    "customer": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "firstName": "John",
      "lastName": "Doe",
      "email": "customer@example.com",
      "metadata": {
        "userId": "usr_8f21c3"
      }
    },
    "crypto": {
      "txHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
      "chain": "ethereum",
      "asset": "USDT",
      "amount": "100.00",
      "fromAddress": "0x9f8e7d6c5b4a39281706f5e4d3c2b1a098765432",
      "toAddress": "0x2b4c6d8e0f1a3b5c7d9e1f2a4b6c8d0e2f4a6b8c",
      "amlCheck": "passed",
      "staticDepositAddress": {
        "chain": "ethereum",
        "address": "0x2b4c6d8e0f1a3b5c7d9e1f2a4b6c8d0e2f4a6b8c",
        "createdAt": "2026-01-10T08:00:00.000Z"
      }
    },
    "fiat": null,
    "createdAt": "2026-01-15T10:30:00.000Z",
    "completedAt": "2026-01-15T10:35:00.000Z"
  }
}
```

{% endtab %}

{% tab title="Bank transfer deposit" %}

```json
{
  "event": "deposit.completed",
  "data": {
    "id": "dep_987654321_fedcba",
    "type": "fiat",
    "status": "completed",
    "amount": "150000.00",
    "currency": "NGN",
    "fee": "100.00",
    "netAmount": "149900.00",
    "conversion": null,
    "depositAccountId": "da_123456789_abcdef",
    "balanceReference": "BAL-3e7a1c9d5b20",
    "customer": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "firstName": "John",
      "lastName": "Doe",
      "email": "customer@example.com",
      "metadata": {
        "userId": "usr_8f21c3"
      }
    },
    "crypto": null,
    "fiat": {
      "reference": "NMB-12345",
      "method": "bank_transfer",
      "payer": {
        "accountName": "John Doe",
        "accountNumber": "0123456789",
        "bankName": "Wema Bank",
        "bankCode": "035"
      },
      "payee": {
        "accountName": "COINCIRCUIT/John Doe",
        "accountNumber": "9876543210",
        "bankName": "Nomba Bank",
        "bankCode": "090645"
      },
      "ngnVirtualAccount": {
        "currency": "NGN",
        "accountNumber": "9876543210",
        "accountName": "COINCIRCUIT/John Doe",
        "bankName": "Nomba Bank",
        "bankCode": "090645",
        "accountReference": "CCVBA-7f3a9c12",
        "createdAt": "2026-01-10T08:00:00.000Z"
      }
    },
    "createdAt": "2026-01-15T10:30:00.000Z",
    "completedAt": "2026-01-15T10:31:00.000Z"
  }
}
```

{% endtab %}
{% endtabs %}

### `deposit.failed`

Sent when a deposit fails a compliance check and is rejected. `data.status` is `failed`.

```json
{
  "event": "deposit.failed",
  "data": {
    "id": "dep_123456789_abcdef",
    "type": "crypto",
    "status": "failed",
    "amount": "100.00",
    "currency": "USDT",
    "fee": "0.50",
    "netAmount": "99.50",
    "conversion": null,
    "depositAccountId": "da_123456789_abcdef",
    "balanceReference": null,
    "customer": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "firstName": "John",
      "lastName": "Doe",
      "email": "customer@example.com",
      "metadata": {
        "userId": "usr_8f21c3"
      }
    },
    "crypto": {
      "txHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
      "chain": "ethereum",
      "asset": "USDT",
      "amount": "100.00",
      "fromAddress": "0x9f8e7d6c5b4a39281706f5e4d3c2b1a098765432",
      "toAddress": "0x2b4c6d8e0f1a3b5c7d9e1f2a4b6c8d0e2f4a6b8c",
      "amlCheck": "failed",
      "staticDepositAddress": {
        "chain": "ethereum",
        "address": "0x2b4c6d8e0f1a3b5c7d9e1f2a4b6c8d0e2f4a6b8c",
        "createdAt": "2026-01-10T08:00:00.000Z"
      }
    },
    "fiat": null,
    "createdAt": "2026-01-15T10:30:00.000Z",
    "completedAt": null
  }
}
```
