Query refund order details
GET/refund/detail
Query the details of the refund order by refund order ID or merchant order number.
Request
Query Parameters
Merchant order number
Merchant order number and refund order ID must be passed at least one
Refund order ID
Merchant order number and refund order ID must be passed at least one
Responses
- 200
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
0
- Success1
- Pending approval2
- Under review3
- Block confirmation4
- Failure5
- Rejected
Status code
Status message on success or error message on failure
Detailed description when error
data
object
Refund order object
Chain ID
This is the platform internal ID, not the chain ID on the chain or from the wallet, can be obtained from Get Chain List interface
Currency ID
Can be obtained from Get Currency List interface
Refund order ID
Merchant order number
Payment order number
Refund address
Refund amount
Note: The value of this field is an integer, calculated by (actual_amount * 10^currency_decimals)
Commission fee
Possible values: [0
, 1
, 2
, 3
, 4
, 5
]
Refund order status
Refund time
Transaction hash
{
"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