/epay/api.php provides Epay-compatible operational actions. Use act=order to query migrated Epay-style orders. act=refund is currently unsupported and returns a compatibility error; refunds are handled separately with platform assistance.
Order query
CallGET or POST /epay/api.php?act=order with pid, raw merchant key, and one of out_trade_no or trade_no.
This endpoint uses the raw merchant key with pid for compatibility order query. It may be subject to the API IP allowlist when enabled.
addtime and endtime are Epay-compatible datetime strings when exposed by this compatibility query.
Example failure response:
Refund compatibility
GET or POST /epay/api.php?act=refund is currently unsupported and returns a compatibility error. Do not build automated refund logic against this path. Coordinate refund handling separately with Kyren platform assistance.
Example response:
api.php API reference.