Query payment order details
GET/payment/detail
Query the details of the payment order by payment order number or merchant order number.
Request
Query Parameters
Merchant order number
Payment order number
Responses
- 200
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
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
Payment 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
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": {
"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": {
"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"
}
}
Unauthorized
Forbidden
Not Found