Query recharge order details
GET/recharge/detail
Query the details of the recharge order by recharge order ID.
Request
Query Parameters
Recharge order ID
Responses
- 200
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
0
- Success1
- Pending2
- Failure
Status code
Status message on success or error message on failure
Detailed description when error
data
object
Recharge 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
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": {
"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": {
"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"
}
}
Unauthorized
Forbidden
Not Found