Two separate collection products: Native and Redirect
| Product | pay_bankcode | Checkout |
|---|---|---|
| INR Native Collection | 998 | Native hosted checkout URL |
| INR Redirect | 999 | Checkout with a UPI app launch entry; if no valid intent is available, it explains this and provides hosted checkout |
The products have independent channel bindings. Select pay_bankcode=998 or pay_bankcode=999. Keep the other order fields, merchant ID, merchant key, signing rules and payUrl response field. Do not add an upstream payType parameter.
These two product numbers currently use test configuration and must be enabled for your merchant by EOOPAY before use; this does not indicate production collection is enabled. Use a unique merchant reference for each new order. Query an existing order first; do not change its product number to recreate it or pay twice.
Create an India INR collection order. Obtain the merchant ID, MD5 API key, gateway host and enabled INR channel code from EOO support. Channel codes and amount limits depend on your account; the examples below are placeholders.
Endpoint and format
POST https://{assigned-gateway-host}/Pay_AddOrder.html
Content-Type: application/x-www-form-urlencoded; charset=utf-8
Request parameters
| Parameter | Required | Signed | Description |
|---|---|---|---|
| pay_memberid | Yes | Yes | Assigned merchant ID. |
| pay_orderid | Yes | Yes | Unique merchant order number. Preserve it for inquiries and reconciliation. |
| pay_applydate | Yes | Yes | Request timestamp, yyyy-MM-dd HH:mm:ss. |
| pay_bankcode | Yes | Yes | Enabled INR collection channel code assigned to the merchant. |
| pay_notifyurl | Yes | Yes | Public server-to-server callback URL; receives POST notifications. |
| pay_callbackurl | Yes | Yes | Browser return URL. A redirect is not proof of payment. |
| pay_userid | Yes | Yes | Your transaction user/player ID; use the agreed alternative identifier if unavailable. |
| pay_amount | Yes | Yes | Amount in INR, expressed as a decimal string with two fractional digits, e.g. 1000.00. |
| pay_email | Yes | No | Payer email address. |
| pay_name | Yes | No | Payer real name. |
| pay_phone | Yes | No | Payer mobile number. |
| pay_md5sign | Yes | No | Uppercase MD5 signature calculated from the eight signed fields above. |
| type | No | No | Set to json to request a JSON checkout response. Otherwise the channel may return/redirect to an HTML checkout. |
Signing and request example
Sort only the eight fields marked Signed above by case-sensitive ASCII parameter name. Exclude empty values, join raw name=value pairs with &, append &key=YOUR_MD5_API_KEY, calculate MD5, then convert to uppercase. Do not include pay_email, pay_name, pay_phone, type or pay_md5sign in the deposit request signature. Preserve the exact submitted amount and timestamp strings. Keep the API key on your server.
{
"pay_memberid": "YOUR_MERCHANT_ID",
"pay_orderid": "INRDEMO202612010001",
"pay_amount": "1000.00",
"pay_applydate": "2026-12-01 12:00:00",
"pay_bankcode": "YOUR_INR_DEPOSIT_CHANNEL_CODE",
"pay_notifyurl": "https://merchant.example.com/eoo/deposit-notify",
"pay_callbackurl": "https://merchant.example.com/payment-result",
"pay_userid": "demo-user-001",
"pay_email": "payer@example.com",
"pay_name": "Demo Payer",
"pay_phone": "9999999999",
"pay_md5sign": "CALCULATED_UPPERCASE_MD5",
"type": "json"
}
The object above lists form fields for readability. Send an HTTP form, not a JSON request body. Calculate the signature on raw values first, then URL-encode the form body. See the shared Encryption guide for the signing procedure.
JSON checkout response (type=json)
| Field | Description |
|---|---|
| code | 1 indicates a checkout order was created; this does not indicate that money has been received. |
| msg | Result or error description. |
| money | Order amount in INR. |
| order_sn | EOO platform order number; distinct from your pay_orderid. |
| payUrl | Checkout URL to open for the payer. |
{
"code": "1",
"msg": "Success",
"money": "1000.00",
"order_sn": "EXAMPLE_PLATFORM_ORDER",
"payUrl": "https://gateway.example.com/Pay_Pay_pay.html?orderid=EXAMPLE_PLATFORM_ORDER"
}
Validation errors may instead use {"status":"error","msg":"Error description","data":{}}. Check the actual success indicator and a usable checkout URL; handle non-JSON, unsuccessful or empty responses as errors, not paid orders. Available amounts and checkout formats vary by the assigned channel.
Payment confirmation
Use the shared Deposit callback, Deposit inquiry and Encryption guides in the English documentation. Checkout creation and browser redirects do not confirm receipt. Verify the signature, merchant ID, order number and payment status. Handle repeated callbacks idempotently and reply with exactly OK after saving the result.
The callback amount field is the original amount. The true_amount field is the actual received amount. Reconcile differences before crediting. After a timeout, query the original order before retrying.
Compatibility
Keep the existing EOOPAY endpoint, merchant ID, merchant API key and signing rules. Select a native or intent product with the pay_bankcode enabled for your merchant. Use the product number assigned by EOOPAY, not an example number. With type=json, successful responses use code, msg, money, order_sn and payUrl. Error responses may omit the amount, platform order number or checkout URL; retain and query the original merchant reference, and do not treat them as success. Order creation or opening checkout does not confirm payment; use a verified callback or order query.
Continue submitting pay_name, pay_phone and pay_email. Follow the request table when selecting signature fields; do not use the upstream provider signature. Replace example values and recalculate the merchant signature.