https://{url}/Pay_AddOrder.html
Request Parameters
| Parameter name | Required | Type | Included in signature | Description |
|---|---|---|---|---|
| pay_memberid | Yes | string | Yes | Merchant number assigned to your account. |
| pay_orderid | Yes | string | Yes | Unique merchant order number. |
| pay_applydate | Yes | string | Yes | Request time: yyyy-MM-dd HH:mm:ss. |
| pay_bankcode | Yes | string | Yes | Assigned Ecuador deposit channel code. |
| pay_notifyurl | Yes | string | Yes | Server notification URL for payment results (POST). |
| pay_callbackurl | Yes | string | Yes | Customer return URL. |
| pay_userid | Yes | string | Yes | Transaction user ID. If unavailable, provide alternative data such as the player mobile number. |
| pay_amount | Yes | decimal | Yes | Amount in USD. Minimum 10 (10 is accepted). The order amount is formatted to two decimal places without thousands separators. |
| user_email | Yes | string | See signing rules | Valid payer email address; leading and trailing whitespace is removed. |
| user_mobile | Yes | string | See signing rules | Exactly 10 digits starting with 09 (regex: ^09\d{8}$). Whitespace is removed before validation. Do not include +593. |
| pay_md5sign | Yes | string | No | Signature generated according to the platform MD5 signing rules. |
| type | No | string | No | json: JSON with a platform payment URL. string: JSON with the direct channel checkout URL. Omitted or any other value: redirect to channel checkout. |
Use your own merchant number and assigned channel code. Refer to the platform signing specification for the signature field set, including user_email, user_mobile and pay_productname. Replace all placeholders before submission.
Return Modes
| type | Response | Payment URL |
|---|---|---|
| json | JSON; code is the string "1". | Platform payment page: https://{url}/Pay_Pay_pay.html?orderid={order_sn} |
| string | JSON; code is the number 1. | Direct channel checkout URL. |
| Omitted or another value | Redirect to channel checkout when available. | No success JSON response. |
Success Response Parameters
| Parameter name | Type | Description |
|---|---|---|
| code | string or integer | "1" for type=json; 1 for type=string. Indicates successful order creation. |
| msg | string | Success |
| money | string | Order amount in USD with two decimal places. |
| order_sn | string | Platform payment order number. |
| payUrl | string | Platform payment URL for type=json; direct checkout URL for type=string. |
Error Response Parameters
| Parameter name | Type | Description |
|---|---|---|
| code | string or integer | "0" for validation, signing and channel errors; 0 for a missing checkout URL in the redirect branch. |
| msg | string | Error message. |
| data | null | null for the errors listed below. |
Request Example
The mobile number illustrates the required format. Use actual payer details and generate the signature for the final request.
{
"pay_memberid": "10006",
"pay_orderid": "EC202609070001",
"pay_applydate": "2026-09-07 12:00:00",
"pay_bankcode": "<ECU_DEPOSIT_CHANNEL_CODE>",
"pay_amount": "10.00",
"pay_notifyurl": "https://merchant.example.com/payment/notify",
"pay_callbackurl": "https://merchant.example.com/payment/return",
"pay_userid": "15452",
"user_email": "This email address is being protected from spambots. You need JavaScript enabled to view it. ",
"user_mobile": "0912345678",
"pay_productname": "Account deposit",
"pay_md5sign": "<GENERATED_SIGNATURE>",
"type": "json"
}
Success Example: type=json
{
"code": "1",
"msg": "Success",
"money": "10.00",
"order_sn": "20260907120000123456",
"payUrl": "https://{url}/Pay_Pay_pay.html?orderid=20260907120000123456"
}
Success Example: type=string
{
"code": 1,
"msg": "Success",
"money": "10.00",
"order_sn": "20260907120000123456",
"payUrl": "<CHANNEL_CHECKOUT_URL>"
}
Error Response Example
{
"code": "0",
"msg": "The minimum amount for pay_amount is 10.",
"data": null
}