# Webhook

### 支付成功后，若填写回调地址，则会返回支付成功通知。

如需校验签名见：[签名](/kodecrypto/cn/qian-ming.md#webhook-tong-zhi-qian-ming-jiao-yan)

&#x20;字段说明

| Name                | Explanation |
| ------------------- | ----------- |
| `order_id`          | 商户唯一订单编号    |
| `actual_amount`     | 订单法币金额      |
| `actual_currency`   | 订单法币货币      |
| `amount`            | 订单数字货币金额    |
| `pay_amount`        | 实际支付金额      |
| `currency`          | 数字货币        |
| `from`              | 支付地址        |
| `to`                | 付款地址        |
| `status`            | 支付状态        |
| `pay_time`          | 实际付款时间      |
| `pass_through_info` | 商户元数据       |
| `callback_num`      | 通知次数        |
| `last_notify_time`  | 最后通知时间      |

```json
{
    "order_id": 'merchant_order_id',
    "actual_amount": '1.90',
    "actual_currency": 'USD',
    "amount": '1.849300',
    "pay_amount": '1.849300',
    "currency": 'USDT',
    "from": 'TXtbqR7J45H9q5PsuL73ob7iJk3peDqSAV',
    "to": 'TRLHJEgBsYPLtvjHPdkrNhCPuVfH42pdnk',
    "status": 'Paid',
    "pay_time": 1739505527,
    "pass_through_info": "{'user_id': '1'}",
    "callback_num": 1,
    "last_notify_time": 1739505558
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kodecrypto-document.gitbook.io/kodecrypto/cn/tong-zhi/webhook.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
