# Customers webhooks

**Webhook Events**

| Event type                                           | Description                                                |
| ---------------------------------------------------- | ---------------------------------------------------------- |
| CUSTOMER\_PURSE\_EXPIRED                             | The address was not replenished and expired after 30 days. |
| CUSTOMER\_PURSE\_MEM\_POOL\_FOUND                    | The transaction pending in the mempool.                    |
| CUSTOMER\_PURSE\_PENDING\_COMPLIANCE                 | Transaction under compliance check.                        |
| CUSTOMER\_PURSE\_COMPLIANCE\_DECLINED                | The transaction failed compliance check.                   |
| CUSTOMER\_PURSE\_FUNDS\_RECEIVED\_FOR\_PURSE         | Transaction received successfully.                         |
| CUSTOMER\_PURSE\_TRANSLATION\_TO\_ACCOUNT\_COMPLETED | Funds have been successfully credited to your account.     |

**Payload description**

**CUSTOMER\_PURSE\_EXPIRED**

| Parameter       | Type    | Description               |
| --------------- | ------- | ------------------------- |
| customerId      | string  | system id of the customer |
| customerBlocked | boolean | customer block status     |
| purseId         | string  | system id of the address  |
| address         | string  | customer deposit address  |

**CUSTOMER\_PURSE\_MEM\_POOL\_FOUND**

| Parameter       | Type    | Description                          |
| --------------- | ------- | ------------------------------------ |
| currency        | number  | currency of the transaction          |
| customerId      | string  | system id of the customer            |
| customerBlocked | boolean | customer block status                |
| purseId         | string  | system id of the address             |
| address         | string  | customer deposit address             |
| transactionId   | number  | system id of the transaction         |
| amount          | number  | transaction amount                   |
| senderAddress   | string  | transaction sender address           |
| createdDate     | string  | transaction creation date            |
| transactionHash | string  | transaction hash from the blockchain |

**CUSTOMER\_PURSE\_PENDING\_COMPLIANCE**

| Parameter       | Type    | Description                  |
| --------------- | ------- | ---------------------------- |
| currency        | string  | currency of the transaction  |
| customerId      | string  | system id of the customer    |
| customerBlocked | boolean | customer block status        |
| address         | string  | customer deposit address     |
| purseId         | string  | system id of the address     |
| transactionId   | string  | system id of the transaction |
| amount          | number  | transaction amount           |
| transactionHash | string  | transaction hash             |

**CUSTOMER\_PURSE\_COMPLIANCE\_DECLINED**

| Parameter       | Type    | Description                  |
| --------------- | ------- | ---------------------------- |
| currency        | string  | currency of the transaction  |
| customerId      | string  | system id of the customer    |
| customerBlocked | boolean | customer block status        |
| address         | string  | customer deposit address     |
| purseId         | string  | system id of the address     |
| transactionId   | string  | system id of the transaction |
| amount          | number  | transaction amount           |
| transactionHash | string  | transaction hash             |

<br>

**CUSTOMER\_PURSE\_FUNDS\_RECEIVED\_FOR\_PURSE**

| Parameter       | Type    | Description                          |
| --------------- | ------- | ------------------------------------ |
| currency        | string  | currency of the transaction          |
| customerId      | string  | system id of the customer            |
| customerBlocked | boolean | customer block status                |
| purseId         | string  | system id of the address             |
| address         | string  | customer deposit address             |
| transactionId   | string  | system id of the transaction         |
| amount          | number  | transaction amount                   |
| senderAddress   | string  | transaction sender address           |
| transactionHash | string  | transaction hash from the blockchain |
| createdDate     | string  | transaction creation date            |

**CUSTOMER\_PURSE\_TRANSLATION\_TO\_ACCOUNT\_COMPLETED**

| Parameter       | Type    | Description                                           |
| --------------- | ------- | ----------------------------------------------------- |
| currency        | string  | currency of the transaction                           |
| customerId      | string  | system id of the customer                             |
| customerBlocked | boolean | customer block status                                 |
| purseId         | string  | system id of the address                              |
| address         | string  | customer deposit address                              |
| transactionId   | string  | system id of the transaction                          |
| amount          | number  | transaction amount                                    |
| createdDate     | string  | transaction creation date                             |
| serviceFee      | number  | transaction fee                                       |
| externalId      | string  | External order identifier (specified by the merchant) |

<br>
