查询收单订单列表
GET/payment/list
分页查询商户的收单订单列表。
Request
Query Parameters
0
- 已支付1
- 待支付2
- 区块确认中3
- 部分支付4
- 支付失败5
- 已退款
链 ID
此为平台内部 ID,不是链上或者钱包里的链 ID,可以从查询链列表接口获取
Possible values: >= 1
and <= 1000000
Default value: 1
页码
Possible values: <= 500
Default value: 10
每页显示的记录数
Possible values: [0
, 1
, 2
, 3
, 4
, 5
]
订单状态
交易哈希
订单创建开始时间
格式:Unix 时间戳,单位:秒
订单创建结束时间
格式:Unix 时间戳,单位:秒
Responses
- 200
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
0
- 否1
- 是0
- 已支付1
- 待支付2
- 区块确认中3
- 部分支付4
- 支付失败5
- 已退款0
- 合约支付1
- 扫码支付(钱包转账)]
状态码
成功或错误提示
错误提示详情
data
object
分页结果对象
符合条件的记录总数
当前查询的页码
每页显示的记录数
list
object[]
required
链 ID
此为平台内部 ID,不是链上或者钱包里的链 ID,可以从查询链列表接口获取
商户 ID,可以从管理后台查看
商户订单号
支付单号
商品描述
Possible values: [0
, 1
]
报价币种是否为法币
订单报价币种符号,必须为大写字母
注:报价币种为法币时,该字段为国际标准法币符号,如 USD、CNY,否则为数字货币符号,如 USDT、TRX、ETH
订单报价金额
注:是实际金额,必须为正数,可为小数
Possible values: [0
, 1
, 2
, 3
, 4
, 5
]
收单状态
Possible values: [0
, 1
]
支付方式
订单应付金额
注:该字段的值为整型数字,通过 (实际金额 * 10^货币小数位数) 计算而来
订单结算金额
注:该字段的值为整型数字,通过 (实际金额 * 10^货币小数位数) 计算而来
结算币种符合,以用户实际支付的货币为准
订单交易哈希
用于收款的子合约账户地址
付款地址
订单创建时间
到账时间
注:Unix 时间戳,单位:秒
{
"code": 0,
"msg": "string",
"description": "string",
"data": {
"count": 0,
"page": 0,
"size": 0,
"list": [
{
"chainId": 0,
"orgId": 0,
"outTradeNo": "string",
"outPaymentNo": "string",
"description": "string",
"isLegalTender": 0,
"quoteCurrencySymbol": "string",
"quoteAmount": "string",
"paymentStatus": 0,
"paymentType": 0,
"expectedAmount": "string",
"settlementAmount": "string",
"settlementCurrencySymbol": "string",
"transferHash": "string",
"userWalletAddress": "string",
"fromAddress": "string",
"createTime": "2024-07-29T15:51:28.071Z",
"blockTime": 0
}
]
}
}
{
"code": 200,
"msg": "success",
"data": {
"page": 1,
"size": 2,
"count": 51,
"list": [
{
"orgId": 2313,
"paymentStatus": 0,
"chainId": 1,
"blockTime": 1712122830,
"paymentType": 1,
"outPaymentNo": "202404031340061798686",
"outTradeNo": "202404031340069012495",
"isLegalTender": 1,
"quoteCurrencySymbol": "USD",
"quoteAmount": "1",
"settlementCurrencySymbol": "USDT",
"settlementAmount": "1000000",
"expectedAmount": "999746",
"transferHash": "0d4795744a496c612589a2376cf2fa42262ac6c66d49d2af5b821a0b2fa90878",
"fromAddress": "TDPxB717Jowzj5qh7jAqBi88HTRYPmZ5tE",
"userWalletAddress": "TAShhCQQfxEoXUakhdB8ArcDrZVopv5VYL",
"description": "A sample order",
"createTime": "2024-04-03 13:40:06"
},
{
"orgId": 2313,
"paymentStatus": 0,
"chainId": 1,
"blockTime": 1712115420,
"paymentType": 1,
"outPaymentNo": "202404031135079623806",
"outTradeNo": "202404031135076490638",
"isLegalTender": 1,
"quoteCurrencySymbol": "USD",
"quoteAmount": "1",
"settlementCurrencySymbol": "USDT",
"settlementAmount": "3355000",
"expectedAmount": "1000073",
"transferHash": "cdc462fba422de672dd9442221ffdf77dc7ec56cee86c6f7cc0b9fddda212b24",
"fromAddress": "TDPxB717Jowzj5qh7jAqBi88HTRYPmZ5tE",
"userWalletAddress": "TAShhCQQfxEoXUakhdB8ArcDrZVopv5VYL",
"description": "A sample order",
"createTime": "2024-04-03 11:35:07"
}
]
}
}
Unauthorized
Forbidden
Not Found