查询充值订单列表
GET/recharge/list
分页查询商户的充值订单列表。
Request
Query Parameters
0
- 成功1
- 充值中2
- 失败
chainId int32
链 ID
此为平台内部 ID,不是链上或者钱包里的链 ID,可以从查询链列表接口获取
UUID string
用户 UUID
page int64
Possible values: >= 1
and <= 1000000
Default value: 1
页码
size int64
Possible values: <= 500
Default value: 10
每页显示的记录数
transactionHash string
交易哈希
orderStatus int32
Possible values: [0
, 1
, 2
]
订单状态
startTime int64
订单创建开始时间
格式:Unix 时间戳,单位:秒
endTime int64
订单创建结束时间
格式:Unix 时间戳,单位:秒
Responses
- 200
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
0
- 成功1
- 充值中2
- 失败]
code int32required
状态码
msg stringrequired
成功或错误提示
description string
错误提示详情
data
object
分页结果对象
count int64required
符合条件的记录总数
page int64required
当前查询的页码
size int64required
每页显示的记录数
list
object[]
required
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": {
"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
Loading...