Query refund order list
GET/refund/list
Query the refund order list of the merchant by pagination.
Request
Query Parameters
0
- Success1
- Pending approval2
- Under review3
- Block confirmation4
- Failure5
- Rejected
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
Possible values: >= 1
and <= 1000000
Default value: 1
Page number
Possible values: <= 500
Default value: 10
Number of records per page
Possible values: [0
, 1
, 2
, 3
, 4
, 5
]
Refund Order Status
Transaction hash
Start time of order creation
Format: Unix timestamp, unit: seconds
End time of order creation
Format: Unix timestamp, unit: seconds
Responses
- 200
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
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
Page result object
Total number of records that meet the conditions
Current page number
Number of records per page
list
object[]
required
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": {
"count": 0,
"page": 0,
"size": 0,
"list": [
{
"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": {
"page": 1,
"size": 10,
"count": 4,
"list": [
{
"refundId": 90,
"chainId": 1,
"currencyId": 1,
"outTradeNo": "202401191415017506131",
"outPaymentNo": "202401191415018327151",
"refundStatus": 1,
"refundAddress": "TQKGPBRB9rQc99rqDqp2jGKfcup19LaziM",
"refundAmount": null,
"transferHash": null,
"refundFee": null,
"refundTime": "2024-01-22 19:04:30"
},
{
"refundId": 84,
"chainId": 1,
"currencyId": 2,
"outTradeNo": "202401191412398586291",
"outPaymentNo": "202401191412399750523",
"refundStatus": 0,
"refundAddress": "TSBJBk1Nfc7sxYp59bjTtLEV8WKxZcZy2L",
"refundAmount": "5000000",
"transferHash": "b4694f07f1699a145d2a20a7bc52608d3976b7f9df18cdf0e773a567aec9b991",
"refundFee": "0",
"refundTime": "2024-01-19 23:17:03"
},
{
"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"
},
{
"refundId": 81,
"chainId": 1,
"currencyId": 2,
"outTradeNo": "202401181606495075981",
"outPaymentNo": "202401181606494014830",
"refundStatus": 0,
"refundAddress": "TSBJBk1Nfc7sxYp59bjTtLEV8WKxZcZy2L",
"refundAmount": "10000000",
"transferHash": "c6aae5a3d132db3a5f9d7230dbab9c4ea4e2062bbb37324f52f3f89b6d18b441",
"refundFee": "0",
"refundTime": "2024-01-19 00:24:46"
}
]
}
}
Unauthorized
Forbidden
Not Found