Get Order Details
Get order details.
Interface Address:
text
/papi/order/getPayOrderRequest Method:
text
GETHeader 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 and digits |
Query Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| orderNo | string | Yes | Order number |
Response Parameters:
| Parameter | Type | Description |
|---|---|---|
| code | integer | Error code. See Error Codes |
| data | object | Return data |
| ├─ amountYuan | number | Order amount (USD) |
| ├─ expires | integer | Expiration time |
| msg | string | Error message |
Response Example:
json
{
"code": 0,
"data": {
"amountYuan": 0,
"expires": 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.
