> 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/order/order-notify.md).

# Order Asynchronous Notification

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

**Method：**&#x50;OST

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

**Parameter：**

<table><thead><tr><th width="186.5">Field Name</th><th width="121">Field Type</th><th width="115">Required</th><th width="115">Signature</th><th>Instruction</th></tr></thead><tbody><tr><td>appId</td><td>string</td><td>True</td><td>True</td><td>Merchant APP ID</td></tr><tr><td>orderNo</td><td>string</td><td>True</td><td>True</td><td>UPay order number</td></tr><tr><td>merchantOrderNo</td><td>string</td><td>True</td><td>True</td><td>Merchant order number</td></tr><tr><td>chainType</td><td>string</td><td>True</td><td>True</td><td><p>Network: </p><p>1: Tron (TRC20)</p><p>2: PayPal (PYUSD)</p><p>3: Ethereum (ERC20)</p></td></tr><tr><td>crypto</td><td>string</td><td>True</td><td>True</td><td>Amount, Unit: USDT / PYUSD</td></tr><tr><td>actualCrypto</td><td>string</td><td>True</td><td>True</td><td>Amount of received, unit USDT / PYUSD</td></tr><tr><td>poundage</td><td>string</td><td>True</td><td>True</td><td>Handling fee, unit USDT / PYUSD</td></tr><tr><td>actualPoundage</td><td>string</td><td>True</td><td>True</td><td>Handling fee of received, unit USDT / PYUSD</td></tr><tr><td>status</td><td>string</td><td>True</td><td>True</td><td>Order status: <a href="#order-status">Order Status</a></td></tr><tr><td>createdAt</td><td>string</td><td>True</td><td>True</td><td>Order creation time, Unix second level timestamp</td></tr><tr><td>completedAt</td><td>string</td><td>True</td><td>True</td><td>Order completion time, Unix second level timestamp</td></tr><tr><td>attach</td><td>string</td><td>False</td><td>False</td><td>User-defined data will be returned unchanged when calling back to notifyUrl.</td></tr><tr><td>signature</td><td>string</td><td>True</td><td>False</td><td>Data signature, see: <a href="/api/introduction/signature.md">Signature Algorithm</a></td></tr></tbody></table>

## Notification return

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

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

#### **Order Status：**

<table><thead><tr><th width="247">status</th><th width="203.33333333333331">Field Type</th><th>Description</th></tr></thead><tbody><tr><td>0</td><td>string</td><td>Awaiting payment</td></tr><tr><td>1</td><td>string</td><td>Payment success</td></tr><tr><td>2</td><td>string</td><td>Timeout</td></tr><tr><td>3</td><td>string</td><td>Failure</td></tr></tbody></table>
