查询出款
按三方订单号查询当前APPID下的出款订单。请求使用签名鉴权。
Query 请求参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
third_order_no | string | 是 | 三方订单号,1–32 个字符 |
http
GET /v1/payout-orders?third_order_no=PAYOUT202610220001成功响应
json
{
"request_id": "7d5f6832c7494cb28e413f97f8460981",
"code": 0,
"message": "成功",
"data": {
"payout_id": "202610220000000044",
"app_id": "1234567890",
"third_order_no": "PAYOUT202610220001",
"user_id": "1234567891",
"currency": "USDT",
"payout_amount": "100.00",
"status": "SUCCESS",
"failure_reason": "",
"custom_params": "customer=example",
"callback_url": "https://merchant.example.com/notify/payout",
"create_time": "2026-10-22T00:00:00Z",
"finish_time": "2026-10-22T00:00:01Z",
"update_time": "2026-10-22T00:00:01Z"
}
}| 字段 | 类型 | 说明 |
|---|---|---|
data.payout_id | string | 平台出款ID,YYYYMMDD + 10位随机数字,表内唯一 |
data.app_id | string | 商户 APPID,由鉴权请求头确定 |
data.third_order_no | string | 三方订单号,1–32 个字符,同一 APPID 下唯一;重复返回 1019 |
data.user_id | string | 收款会员的10位用户ID,首位非0;不是Telegram ID |
data.currency | string | 币种,固定为 USDT |
data.payout_amount | string | 出款金额,USDT;不收手续费,商户扣款与会员到账均等于此金额 |
data.status | string | 出款状态:PROCESSING 处理中,SUCCESS 成功,FAILED 失败 |
data.failure_reason | string | 出款失败原因;非失败状态为空字符串 |
data.custom_params | string | 自定义参数,最多 500 字符;原样返回,默认空字符串 |
data.callback_url | string | 本订单回调地址,非必填;填写时必须为 HTTPS,最多 2048 字节,须为公网地址;未传或空字符串表示不通知 |
data.create_time | string | 创建时间,RFC 3339 格式,UTC 时区 |
data.finish_time | string | 处理完成时间,RFC 3339 / UTC;处理中为空字符串 |
data.update_time | string | 更新时间,RFC 3339 格式,UTC 时区 |
公共响应字段见通用约定。
业务错误
| code | message | 处理方式 |
|---|---|---|
| 1029 | 出款订单不存在 | 检查当前 APPID 下的 third_order_no。 |