查询提现订单详情
GET/withdraw/detail
通过提现订单 ID 或者商户订单号查询提现订单详情。
Request
Query Parameters
withdrawId int32
提现订单 ID
withdrawId
和 outTradeNo
至少传一个
outTradeNo string
商户订单号
withdrawId
和 outTradeNo
至少传一个
Responses
- 200
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
0
- 成功1
- 待审批2
- 审批中3
- 区块确认中4
- 失败5
- 驳回
code int32required
状态码
msg stringrequired
成功或错误提示
description string
错误提示详情
data
object
提现订单对象
chainId int32required
链 ID
此为平台内部 ID,不是链上或者钱包里的链 ID,可以从查询链列表接口获取
currencyId int32required
货币 ID
可以从查询货币列表接口获取
withdrawId int32required
提现订单 ID
outTradeNo stringnullable
商户订单号
withdrawAmount stringrequired
提现金额
注:该字段的值为整型数字,通过 (实际金额 * 10^货币小数位数) 计算而来
仅对专业版商户:可包含多个金额,用,
分隔,与提现地址一一对应
withdrawAddress stringrequired
提现地址
仅对专业版商户:可包含多个地址,用,
分隔,与提现金额一一对应
withdrawStatus int32required
Possible values: [0
, 1
, 2
, 3
, 4
, 5
]
提现订单状态
withdrawTime date-timerequired
提现申请时间
transferHash stringnullable
交易哈希
{
"code": 0,
"msg": "string",
"description": "string",
"data": {
"chainId": 0,
"currencyId": 0,
"withdrawId": 0,
"outTradeNo": "string",
"withdrawAmount": "string",
"withdrawAddress": "string",
"withdrawStatus": 0,
"withdrawTime": "2024-07-29T15:51:28.071Z",
"transferHash": "string"
}
}
{
"code": 200,
"msg": "success",
"data": {
"withdrawId": 1231,
"chainId": 1,
"currencyId": 2,
"outTradeNo": "202404191522",
"withdrawStatus": 1,
"withdrawAddress": "TA1AtPt6bRfFgc4KuXJb9LrJrqxeXiaV2A",
"withdrawAmount": "1000000",
"withdrawTime": "2024-04-19 15:22:46"
}
}
Unauthorized
Forbidden
Not Found
Loading...