Query payment order list
GET/payment/list
Query the payment order list of the merchant by pagination.
Request
Query Parameters
0
- Paid1
- Pending Payment2
- Block Confirmation3
- Partially Paid4
- Payment Failed5
- Refunded
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
Possible values: >= 1
and <= 1000000
Default value: 1
Page number
Possible values: <= 500
Default value: 10
Number of records per page
Possible values: [0
, 1
, 2
, 3
, 4
, 5
]
Order Status
Transaction hash
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
- No1
- Yes0
- Paid1
- Pending Payment2
- Block Confirmation3
- Partially Paid4
- Payment Failed5
- Refunded0
- Contract payment1
- Scan code payment (wallet transfer)]
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
Merchant orgnization ID, can be obtained from the management platform
Merchant order number
Payment order number
Product description
Possible values: [0
, 1
]
Whether the quoted currency is a fiat currency
Quoted currency symbol, must be in uppercase letters
Note: When the quoted currency is a fiat currency, this field is the international standard fiat currency symbol, such as USD, CNY, otherwise it is a digital currency symbol, such as USDT, TRX, ETH
Quoted amount
Note: This is the actual amount, must be a positive number, can be a decimal
Possible values: [0
, 1
, 2
, 3
, 4
, 5
]
Payment Order Status
Possible values: [0
, 1
]
Payment method
Order expected payment amount
Note: The value of this field is an integer, calculated by (actual_amount * 10^currency_decimals)
Order settlement amount
Note: The value of this field is an integer, calculated by (actual_amount * 10^currency_decimals)
Settlement currency symbol, based on the actual currency paid by the user
Order transaction hash
Sub-contract wallet address for receiving payments
Sender address
Order creation time
Arrival time
Note: Unix timestamp, unit: seconds
{
"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