Payment Order Page Query
Payment order page query.
Interface Address:
/papi/order/pageRequest Method:
POSTContent-Type:
application/jsonHeader Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| X-Access-Key | string | Yes | API access key ID. See API Rules for authentication |
| X-Signature | string | Yes | Signature value, Base64-encoded HMAC-SHA256 result |
| X-Timestamp | string | Yes | Millisecond-level Unix timestamp (13 digits) |
| X-Nonce | string | Yes | Random string, 10~32 lowercase letters + digits |
Body Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| pageNo | integer | No | Page number, starting from 1, default 1 |
| pageSize | integer | No | Items per page, maximum 1000, default 10 |
| productType | integer | No | Product type |
| payStatus | integer | No | Payment status (1-pending, 2-success, 3-failed) |
| orderStatus | integer | No | Order status (1-pending, 2-processing, 3-completed, 4-cancelled) |
| optType | integer | No | Order operation type |
| resType | integer | No | IP order resource type (only effective when productType is IP) |
| createTime | array[integer] | No | Payment time |
Request Example:
{
"pageNo": 1,
"pageSize": 10
}Response Parameters:
| Parameter | Type | Description |
|---|---|---|
| code | integer | Error code. See Error Codes |
| data | object | Response data |
| ├─ list | array[object] | Data list |
| ├─├─ merchantOrderId | string | Merchant order ID |
| ├─├─ orderNo | string | Order number |
| ├─├─ productType | integer | Product type |
| ├─├─ optType | integer | Operation type |
| ├─├─ payStatus | integer | Payment status |
| ├─├─ orderStatus | integer | Order status |
| ├─├─ payTime | integer | Payment application time |
| ├─├─ ctime | integer | Creation time |
| ├─├─ des | string | Description |
| ├─├─ payUrl | string | Payment URL |
| ├─├─ currency | string | Currency type |
| ├─├─ resType | integer | Resource type (IP order only) |
| ├─ total | integer | Total count |
| msg | string | Error message |
Response Example:
{
"code": 0,
"data": {
"list": [
{
"merchantOrderId": "",
"orderNo": "",
"productType": 0,
"optType": 0,
"payStatus": 0,
"orderStatus": 0,
"payTime": 0,
"ctime": 0,
"des": "",
"payUrl": "",
"currency": "",
"resType": 0
}
],
"total": 0
},
"msg": ""
}Wallet payment rules
Wallet payment uses payCode=WALLET and providerCode=INTERNAL. Mixed payment uses the actual online channel plus an integer walletPayAmount in USD cents, greater than zero and below the calculated payable total; do not submit onlinePayAmount. Recharge orders cannot use wallet or mixed payment. On timeout or uncertain payment status, query the original order and transactions before retrying. Cancellation or switching to wallet payment requires reliable confirmation that an existing online payment is closed. Wallet deductions are returned against the original transaction when cancellation is permitted.
