| Deposit amount rules | |
|---|
| Deposit channel | Minimum single transaction | Maximum single transaction |
| CASHIER | 100 | 50,000 |
| UPI | 100 | 50,000 |
Request
Body Params application/json
{
"amount": "100",
"currency": "INR",
"customerAccountNumber": "123456789",
"customerContact": "9123456789",
"customerEmail": "g762646676@126.com",
"customerName": "DW",
"mchNo": "M1688443660",
"mchOrderNo": "YN220221122000000733",
"notifyUrl": "https://payment-test.tarspay.com/notify",
"returnUrl": "",
"wayCode": "UPI"
}
Request Code Samples
curl --location --request POST '/api/pay/unifiedOrder' \
--header 'X-API-KEY: 03f7cd24b7c3cf26aad23c15eb7b36a8ed35d9964d03d1e96da6214c855dd29c32' \
--header 'X-API-NONCE: 1704334484607' \
--header 'X-API-SIGNATURE: 3046022100bb4818ddbe977ea24ef6eba575819bffaeb7eb2a559cc3a4eb40d96397081982022100806178e43002e7376881f1e108abb2ed3cfc0d9d830cf73a80bf5b1e2db8848f' \
--header 'Content-Type: application/json' \
--data-raw '{
"amount": "100",
"currency": "INR",
"customerAccountNumber": "123456789",
"customerContact": "9123456789",
"customerEmail": "g762646676@126.com",
"customerName": "DW",
"mchNo": "M1688443660",
"mchOrderNo": "YN220221122000000733",
"notifyUrl": "https://payment-test.tarspay.com/notify",
"returnUrl": "",
"wayCode": "UPI"
}'
Responses
application/json {
"code": 0,
"data": {
"amount": "100",
"countryCode": "in",
"currency": "INR",
"customerContact": "9123456789",
"mchOrderNo": "YN220221122000000733",
"orderState": 0,
"payDataType": "payurl",
"payOrderId": "P1742731237818892289",
"payUrl": "https://payment-test.tarspay.com/#/order/in/P1742731237818892289",
"payWays": {
"UPI": [
{
"countryCode": "in",
"createdAt": 0,
"id": 20,
"payWay": "UPI",
"payWayLogo": "https://tarspay.oss-ap-southeast-1.aliyuncs.com/tarspay_v_1.0/upi.svg",
"payWayType": "UPI",
"skipMode": 1,
"state": 1,
"updatedAt": 0
}
]
}
},
"msg": "SUCCESS",
"sign": "3046022100d848b8f671f8716e47ff0ae017f23ea18f3475d306662b890d684235f2516d2b022100a89cbadc21e37ff579a4e02fcc7ae5f85741406f11c44dcb1efec6c4c49586cd"
}
Modified at 2025-04-24 08:29:52