> For the complete documentation index, see [llms.txt](https://docs.upay.ink/api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.upay.ink/api/payment-out/withdraw-asynchronous-notification.md).

# Withdraw Asynchronous Notification

> After the withdraw is completed, the system will automatically send a notification message to the callback address (notifyUrl) associated with the withdraw to inform you of the final status of the withdraw.

**Method：**&#x50;OST

**Parameter Type：**&#x61;pplication/json

**Parameter：**

| Field Name      | Field Type | Required | Signature | Instruction                                                                                                                               |
| --------------- | ---------- | -------- | --------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| appId           | string     | True     | True      | Merchant APP ID                                                                                                                           |
| orderNo         | string     | True     | True      | UPay withdraw number                                                                                                                      |
| merchantOrderNo | string     | True     | True      | Merchant withdraw number                                                                                                                  |
| chainType       | string     | True     | True      | Network:1: Tron (TRC20) 2: Ethereum (ERC20)                                                                                               |
| crypto          | string     | True     | True      | Amount, Unit: USDT                                                                                                                        |
| toAddress       | string     | True     | True      | Payee address                                                                                                                             |
| status          | string     | True     | True      | Payment status, for details, see: [Withdrawal Status](#withdrawal-status)                                                                 |
| createdAt       | string     | True     | True      | Order creation time, Unix second level timestamp                                                                                          |
| completedAt     | string     | True     | True      | Order completion time, Unix second level timestamp                                                                                        |
| attach          | string     | False    | False     | User-defined data will be returned unchanged when calling back to notifyUrl.                                                              |
| signature       | string     | True     | False     | Data signature, see: [Signature Algorithm](https://app.gitbook.com/o/ltHj7RXGy28PeaQNIfgT/s/6qsYSjbQHbBdxbgd1wf9/introduction/signature)​ |

​

### Notification return <a href="#notification-return" id="notification-return"></a>

After receiving the notification information, the merchant will output OK or ok (php example: echo "OK";) in the body of the response body. Otherwise, the point-to-point notification will be sent 5 times.

### Notification retry policy <a href="#notification-retry-policy" id="notification-retry-policy"></a>

If the first notification fails, subsequent notification frequency (seconds): 10, 30, 60, 300, 600.

#### **Withdrawal Status:**

<table><thead><tr><th width="190">status</th><th width="139.66666666666666">Field Type</th><th>Instruction</th><th data-hidden></th></tr></thead><tbody><tr><td>0</td><td>string</td><td>Awaiting payment</td><td>待支付</td></tr><tr><td>1</td><td>string</td><td>Payment success</td><td>支付成功</td></tr><tr><td>2</td><td>string</td><td>Payment failure</td><td>超时</td></tr></tbody></table>
