submit.php (redirect checkout compatibility endpoint)
Creates (or reuses) an Epay-compatible payment and returns HTTP 302 redirect to the hosted payment page. This endpoint also accepts GET with the same parameters.
Signature algorithm:
- Remove
signandsign_type, and drop empty values. - Sort parameters by key in ascending order.
- Join as
k=vwith&, append merchant API key. - MD5 the final string and compare in lowercase.
Body
Merchant ID
Payment channel type in Epay compatibility mode.
alipay, wxpay, creditcard, crypto, paynow Merchant order number (must be unique under one merchant)
Merchant async callback URL
Merchant sync return URL
Product name
Order amount, decimal string, must be greater than 0
Lowercase MD5 signature
Signature type. Current compatibility implementation only supports MD5.
MD5 Currency code. Defaults to CNY when omitted.
Pass-through parameter returned in callbacks and order queries
Optional per-payment merchant display name shown on Kyren intermediate payment pages
80