Query recharge order list
GET/recharge/list
Query the recharge order list of the merchant by pagination.
Request
Query Parameters
0
- Success1
- Recharging2
- Failure
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
User UUID
Possible values: >= 1
and <= 1000000
Default value: 1
Page number
Possible values: <= 500
Default value: 10
Number of records per page
Transaction hash
Possible values: [0
, 1
, 2
]
Order Status
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
- Pending2
- Failure]
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
Recharge order ID
User ID
User UUID
Currency ID
Can be obtained from Get Currency List interface
Recharge amount
Note: The value of this field is an integer, calculated by (actual_amount * 10^currency_decimals)
Possible values: [0
, 1
, 2
]
Recharge order status
Transaction hash
User sub-contract wallet ID
User sub-contract wallet address
Sender address
Order creation time
Transaction confirmation time
{
"code": 0,
"msg": "string",
"description": "string",
"data": {
"count": 0,
"page": 0,
"size": 0,
"list": [
{
"chainId": 0,
"rechargeId": 0,
"userId": 0,
"uuid": "string",
"currencyId": 0,
"rechargeAmount": "string",
"rechargeStatus": 0,
"transferHash": "string",
"walletId": 0,
"walletAddress": "string",
"fromAddress": "string",
"createTime": "2024-07-29T15:51:28.071Z",
"blockTime": "2024-07-29T15:51:28.071Z"
}
]
}
}
{
"code": 200,
"msg": "success",
"data": {
"page": 1,
"size": 2,
"count": 101,
"list": [
{
"rechargeId": 402,
"chainId": 1,
"currencyId": 1,
"userId": 403,
"walletId": 391,
"walletAddress": "TAKRynHBao1mv2eLaX6tUb29AyoBeCaFf1",
"rechargeStatus": 0,
"rechargeAmount": "10000000",
"transferHash": "53a3784a795a5524a4f960b90c0155c6d8c152255dcb56266a6ed23ce66b47a0",
"fromAddress": "TLBP2BJykHX3AMaxPttaQdYVTChQpCThK3",
"blockTime": "2024-03-29 17:45:18",
"createTime": "2024-03-29 17:45:27",
"uuid": "9190"
},
{
"rechargeId": 401,
"chainId": 1,
"currencyId": 2,
"userId": 403,
"walletId": 391,
"walletAddress": "TAKRynHBao1mv2eLaX6tUb29AyoBeCaFf1",
"rechargeStatus": 0,
"rechargeAmount": "1000000",
"transferHash": "b17b56f5820949388fbe8545f55b179a7e8efe537f75a5f5f6718753842117cd",
"fromAddress": "TDPxB717Jowzj5qh7jAqBi88HTRYPmZ5tE",
"blockTime": "2024-03-29 17:43:18",
"createTime": "2024-03-29 17:43:27",
"uuid": "9190"
}
]
}
}
Unauthorized
Forbidden
Not Found