Epay Compatibility
api.php (order query/refund compatibility endpoint)
Executes compatibility operations with act.
act=order: query order status/result.act=refund: currently not supported; returns compatibility error message.
This endpoint also accepts GET with the same parameters.
POST
Body
application/x-www-form-urlencoded
API action. refund currently returns unsupported message.
Available options:
order, refund Merchant ID
Merchant raw API key (not encrypted key)
Merchant order number. Required when trade_no is not provided.
Platform order ID. Required when out_trade_no is not provided.
Response
200 - application/json
Epay-compatible operation result
- Option 1
- Option 2
Available options:
1 Payment channel type in Epay compatibility mode.
Available options:
alipay, wxpay, creditcard, crypto, paynow UTC datetime string, format yyyy-MM-dd HH:mm:ss
UTC datetime string, empty when unpaid
1 means paid/settled; 0 means not paid
Available options:
0, 1 Reserved field, currently empty string