curl --request POST \
--url https://uat-interface.haipay.asia/inr/collect/apply \
--header 'Content-Type: application/json' \
--data '
{
"appId": 123,
"orderId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"amount": "<string>",
"payType": "<string>",
"inBankCode": "<string>",
"callBackUrl": "<string>",
"callBackFailUrl": "<string>",
"partnerUserId": "<string>",
"sign": "<string>",
"notifyUrl": "<string>",
"subject": "<string>",
"body": "<string>"
}
'{
"status": "1",
"error": "00000000",
"msg": "",
"data": {
"orderId": "<string>",
"orderNo": "<string>",
"payUrl": "<string>",
"bankCode": "<string>",
"bankNo": "<string>",
"sign": "<string>"
}
}Business ID (retrieved from backend, must correspond to the currency in URL)
Merchant order number (must be unique, max length 48)
48Name (Name can only contain letters, no numbers or special characters)
^[A-Za-z\s]+$Phone number (mobile number must be 10 digits, starting with 6-9)
^[6-9]\d{9}$Email address (ending in @gmail.com; a name + number combination is recommended as the email prefix)
^[A-Za-z0-9._%+-]+@gmail\.com$Transaction amount (unit: INR, decimals not supported)
^[1-9]\d*$Payment method: PAYMENT_GATEWAY
^PAYMENT_GATEWAY$UPI
^UPI$Redirect URL after successful payment
Redirect URL after failed payment
Unique user identifier (e.g. userId). Used for risk control, must be valid, otherwise it will affect the transaction. Allowed characters: numbers, letters, or common symbols -~!@#$%&*()_.
^[A-Za-z0-9\-~!@#$%&*()_]+$Signature
Callback URL
Payment note (transaction title, product name, payment reason, etc.)
Additional remark details
curl --request POST \
--url https://uat-interface.haipay.asia/inr/collect/apply \
--header 'Content-Type: application/json' \
--data '
{
"appId": 123,
"orderId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"amount": "<string>",
"payType": "<string>",
"inBankCode": "<string>",
"callBackUrl": "<string>",
"callBackFailUrl": "<string>",
"partnerUserId": "<string>",
"sign": "<string>",
"notifyUrl": "<string>",
"subject": "<string>",
"body": "<string>"
}
'{
"status": "1",
"error": "00000000",
"msg": "",
"data": {
"orderId": "<string>",
"orderNo": "<string>",
"payUrl": "<string>",
"bankCode": "<string>",
"bankNo": "<string>",
"sign": "<string>"
}
}