Create an EPay order
https://pay.example.com/payments/epay/v1/order/create-transaction/submit.phpSend signed parameters as a GET query or POST form. With a valid MD5 signature the gateway redirects to checkout with HTTP 302.
Parameters
| Field | Location | Type | Required | Description |
|---|---|---|---|---|
pid | query/form | string | Yes | Merchant PID. Use a numeric PID for callbacks. |
money | query/form | number | Yes | Fiat amount. |
out_trade_no | query/form | string | Yes | Merchant order ID. |
notify_url | query/form | string | Yes | Merchant callback URL. |
return_url | query/form | string | No | Browser return URL. |
name | query/form | string | No | Product or order name. |
type | query/form | string | No | Empty, alipay, or an enabled token.network selector. |
token | query/form | string | No | Requested token when no selector matched. |
network | query/form | string | No | Requested network when no selector matched. |
currency | query/form | string | No | Overrides the EPay currency default. |
sign | query/form | string | Yes | EPay MD5 signature. |
sign_type | query/form | string | No | Typically MD5. |
The sample signature uses the demonstration key epusdt_secret_key. Recalculate it on your server whenever the fields or merchant key change.
Related resources
Responses
Location: /pay/checkout-counter/20260523171652123456001Response fields
status_codeintegerApplication result code.
messagestringHuman-readable result.
datanullResponse payload; null on error.
request_idstringRequest identifier for tracing.
Response fields
status_codeintegerApplication result code.
messagestringHuman-readable result.
datanullResponse payload; null on error.
request_idstringRequest identifier for tracing.
Response fields
status_codeintegerApplication result code.
messagestringHuman-readable result.
datanullResponse payload; null on error.
request_idstringRequest identifier for tracing.
Response fields
status_codeintegerApplication result code.
messagestringHuman-readable result.
datanullResponse payload; null on error.
request_idstringRequest identifier for tracing.
Response fields
status_codeintegerApplication result code.
messagestringHuman-readable result.
datanullResponse payload; null on error.
request_idstringRequest identifier for tracing.
Response fields
status_codeintegerApplication result code.
messagestringHuman-readable result.
datanullResponse payload; null on error.
request_idstringRequest identifier for tracing.
Response fields
status_codeintegerApplication result code.
messagestringHuman-readable result.
datanullResponse payload; null on error.
request_idstringRequest identifier for tracing.
Response fields
status_codeintegerApplication result code.
messagestringHuman-readable result.
datanullResponse payload; null on error.
request_idstringRequest identifier for tracing.
Response fields
status_codeintegerApplication result code.
messagestringHuman-readable result.
datanullResponse payload; null on error.
request_idstringRequest identifier for tracing.