# Webhook

{% hint style="success" %}
If the correct address is filled in the request parameter (notify\_url), the address will be notified when the payment is successful.
{% endhint %}

```python
{
    "order_id": 'order_id_123123',
    "actual_amount": '1.90',
    "actual_currency": 'USD',
    "amount": '1.849300',
    "pay_amount": '1.849300',
    "currency": 'USDT',
    "from": 'IjI13NVVP14Nfe',
    "to": 'ji134jIuh12f012',
    "status": 'Paid',
    "pay_time": 1739505527,
    "pass_through_info": "{'tes3t': '1'}",
    "callback_num": 1,
    "last_notify_time": 1739505558,
    "signature": "签名"
}
```

| Name                | Type | Description                                  |
| ------------------- | ---- | -------------------------------------------- |
| order\_id           | str  | 业务侧交易号                                       |
| actual\_amount      | str  | 法币金额                                         |
| actual\_currency    | str  | 法币名称                                         |
| amount              | str  | 虚拟币金额                                        |
| pay\_amount         | str  | 支付金额（这里与amount不会存在区别，只有相同才算成功）               |
| currency            | str  | 虚拟币名称                                        |
| from                | str  | 交易来源地址                                       |
| to                  | str  | 收款地址                                         |
| status              | str  | 支付状态                                         |
| pay\_time           | int  | 支付时间戳                                        |
| pass\_through\_info | str  | 传递数据                                         |
| callback\_num       | int  | 通知次数（通知失败会重试，重试间隔为次数\*5min，最多6次）             |
| last\_notify\_time  | int  | 最后通知时间                                       |
| signature           | str  | [验证签名](/kodecrypto/quick-start/signature.md) |


---

# 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/notice/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.
