/epay/submit.php is the browser-oriented Epay compatibility endpoint. It creates or reuses a Kyren order and returns HTTP 302 to /epay/redirect/{orderId} or an upstream payment page.
Use this path when the customer browser is redirected to checkout. It uses pid + sign, not x-api-key, and end-user browser visits do not require a merchant server IP allowlist.
Parameters
Required parameters:
Optional parameters:
Example form
Notification handling
After payment completes, Kyren sends a GET request tonotify_url with:
pid, trade_no, out_trade_no, type, name, money, trade_status, param, sign, and sign_type.
Verify the signature, process the result idempotently, then return the plain string:
submit.php API reference.