Create Collection H2H
Endpoint
POST /cashin/india/order/createH2H
Request Headers
| Name | Required | Example | Description |
|---|---|---|---|
Content-Type | Yes | application/json | |
lang | No | en | Response language: zh Chinese, en English, pt Portuguese |
Request Parameters
| Field | Type | Required | Description |
|---|---|---|---|
bankCode | string enum | Yes | Bank code — UPI |
amount | number | Yes | Order amount — 100~49999; up to 2 decimal places (rounded). Trailing zeros after the decimal are omitted in the pre-sign string for float amounts |
notifyUrl | string | Yes | Notification callback URL — Sandbox supports automatic callbacks: odd last digit of phone → success; even → failure |
name | string | No | Customer name — More realistic values improve success rate and reduce risk-control flags |
phone | string | No | Customer phone — 10-digit Indian mobile numbers starting with 6/7/8/9. More realistic numbers improve success rate and reduce risk flags |
email | string | No | Customer email — More realistic values improve success rate and reduce risk-control flags |
sign | string | Yes | Signature |
appId | string | Yes | Merchant appId — appId assigned by the platform |
mchOrderNo | string | Yes | Merchant order number |
mchId | integer | Yes | Merchant ID |
timestamp | integer | Yes | Submission time — Unix timestamp in seconds |
txChannel | string | Yes | Transaction channel — Fixed value: TX_INDIA_001 |
returnUrl | string | No | Checkout redirect URL |
productInfo | string | Yes | Product information |
Request Example
json
{
"mchId": 399204155797661,
"txChannel": "TX_INDIA_001",
"appId": "DFN19SJXfxFCexeLIi",
"timestamp": 16624500121,
"mchOrderNo": "order_1672451031",
"bankCode": "UPI_DL",
"amount": 500,
"name": "Timothy Gonzalez",
"phone": "18688984423",
"email": "w.gssdyohqr@chvro.cy",
"productInfo": "11174394",
"notifyUrl": "https://webhook.site/e8bd4664-a574-43b9-bd5f-58ee279f0d9f",
"sign": "coverpay123456"
}Response Parameters
| Field | Type | Required | Description |
|---|---|---|---|
status | integer | Yes | Status |
msg | null | Yes | Message |
data | object | Yes | Data |
data.mchOrderNo | string | Yes | Merchant order number |
data.platOrderNo | string | Yes | Platform order number |
data.applyTime | integer | Yes | Application time — Timestamp format |
data.amount | string | Yes | Actual paid amount |
data.upi | string | Yes | UPI account |
data.expireTime | integer | Yes | Expiration time — Timestamp format |
data.upiQrLink | string | Yes | deeplink — Generate a QR code from this link for the payer |