๐ Order Inquiry
This interface allows merchants to actively query order information.
URL๏ผ /api/pay/search
Method๏ผ POST
Parameter Type: application/json
Parameter๏ผ
| Field Name | Field Type | Required | sign | Instruction |
|---|---|---|---|---|
|
appid |
string(8) |
True |
True |
Merchant APP ID |
|
order_sn |
string(14-32) |
True |
True |
Merchant order number |
|
sign |
string(32) |
True |
True |
Data sign, see: sign Algorithm |
Return value data parameter๏ผ
| Field Name | Field Type | Instruction |
|---|---|---|
|
appid |
string |
Merchant APP ID |
|
plat_order_sn |
string |
This platform order number |
|
order_sn |
string |
Merchant order number |
|
pay_usdt |
string |
Order amount, unit USDT / PYUSD |
|
actual_usdt |
string |
Order actual amount, unit USDT / PYUSD |
|
poundage |
string |
Handling fee, unit USDT / PYUSD |
|
status |
string |
Order status, for details, see: Order Status |
|
attach |
string |
User-defined data |
|
create_time |
string |
Order creation time, Unix second level timestamp |
|
success_time |
string |
Order completion time, Unix second level timestamp. This field is empty when the order is pending payment |
Order Status๏ผ
| status | Field Type | Description |
|---|---|---|
|
0 |
string |
Awaiting payment |
|
1 |
string |
Payment success |
|
2 |
string |
Timeout |
|
3 |
string |
Failure |
Last updated