UUAPI管理后台 => 配置管理 => 技术接口配置 => 通知回调地址
HTTPSPOSTapplication/jsonUTF-8回调加密 headers 中包含
uu-api-merchant-id字段,用于验证回调是否来自 UUAPI。
{
"uu-api-merchant-id": "1234567890abcdef1234567890abcdef"
}
{
"token_id": 1,
"transaction_id": "9cdbcaee6126744789198c460...",
"using_user": "user_123",
"using_no": "AU_251129211439...",
"timestamp": 1698380000,
"amount": 100,
"address": "TQCgLnDCtb3...",
"u_price": 1,
}
| 参数名 | 类型 | 说明 |
|---|---|---|
| token_id | number | 币种ID |
| transaction_id | string | 链上交易hash UUAPI侧唯一标识 |
| using_user | string | 商户侧用户 商户侧唯一标识 |
| using_no | string | 订单号-对应2.1中获取的订单号 |
| timestamp | number | 交易时间(时间戳) |
| amount | number | 金额 |
| address | string | 地址 |
| u_price | number | 实时USD汇率 |
Success ,否则 UUAPI 会认为回调失败。