查询充值订单详情
GET/recharge/detail
通过充值订单 ID 查询充值订单详情。
Request
Query Parameters
rechargeId int32required
充值订单 ID
Responses
- 200
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
0
- 成功1
- 充值中2
- 失败
code int32required
状态码
msg stringrequired
成功或错误提示
description string
错误提示详情
data
object
充值订单对象
chainId int32required
链 ID
此为平台内部 ID,不是链上或者钱包里的链 ID,可以从查询链列表接口获取
rechargeId int32required
充值订单 ID
userId int32required
用户 ID
uuid stringrequired
用户 UUID
currencyId int32required
货币 ID
可以从查询货币列表接口获取
rechargeAmount stringrequired
充值订单金额
注:该字段的值为整型数字,通过 (实际金额 * 10^货币小数位数) 计算而来
rechargeStatus int32required
Possible values: [0
, 1
, 2
]
充值订单状态
transferHash stringrequired
交易哈希
walletId int32required
用户子钱包 ID
walletAddress stringrequired
用户子钱包地址
fromAddress stringrequired
付款地址
createTime date-timerequired
订单创建时间
blockTime date-timerequired
交易确认时间
{
"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
Loading...