查询退款订单详情
GET/refund/detail
通过商户订单号或退款订单 ID 查询退款订单详情。
Request
Query Parameters
outTradeNo string
商户订单号
商户订单号和退款订单 ID 至 少传一个
id int32
退款订单 ID
商户订单号和退款订单 ID 至少传一个
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
可以从查询货币列表接口获取
refundId int32required
退款订单 ID
outTradeNo stringrequired
商户订单号
outPaymentNo stringrequired
支付单号
refundAddress stringrequired
退款地址
refundAmount stringnullablerequired
退款金额
注:该字段的值为整型数字,通过 (实际金额 * 10^货币小数位数) 计算而来
refundFee stringnullable
手续费
refundStatus int32required
Possible values: [0
, 1
, 2
, 3
, 4
, 5
]
退款订单状态
refundTime date-timerequired
退款时间
transferHash stringnullable
交易哈希
{
"code": 0,
"msg": "string",
"description": "string",
"data": {
"chainId": 0,
"currencyId": 0,
"refundId": 0,
"outTradeNo": "string",
"outPaymentNo": "string",
"refundAddress": "string",
"refundAmount": "string",
"refundFee": "string",
"refundStatus": 0,
"refundTime": "2024-07-29T15:51:28.071Z",
"transferHash": "string"
}
}
{
"code": 200,
"msg": "success",
"data": {
"refundId": 82,
"chainId": 1,
"currencyId": 1,
"outTradeNo": "202401181646089709495",
"outPaymentNo": "202401181646089688773",
"refundStatus": 0,
"refundAddress": "TSBJBk1Nfc7sxYp59bjTtLEV8WKxZcZy2L",
"refundAmount": "90000000",
"transferHash": "fb8b8e8a62a0bad406832a5ab14968d97582998571d240e4969077436bddde0b",
"refundFee": "0",
"refundTime": "2024-01-19 00:48:41"
}
}
Unauthorized
Forbidden
Not Found
Loading...