Skip to main content
POST
/
inr
/
collect
/
apply
INR Collection Application
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>"
  }
}

Secret Key & Private Key (Generate Signature)

Body

application/json
appId
integer
required

Business ID (retrieved from backend, must correspond to the currency in URL)

orderId
string
required

Merchant order number (must be unique, max length 48)

Maximum string length: 48
name
string
required

Name (Name can only contain letters, no numbers or special characters)

Pattern: ^[A-Za-z\s]+$
phone
string
required

Phone number (mobile number must be 10 digits, starting with 6-9)

Pattern: ^[6-9]\d{9}$
email
string
required

Email address (ending in @gmail.com; a name + number combination is recommended as the email prefix)

Pattern: ^[A-Za-z0-9._%+-]+@gmail\.com$
amount
string
required

Transaction amount (unit: INR, decimals not supported)

Pattern: ^[1-9]\d*$
payType
string
required

Payment method: PAYMENT_GATEWAY

Pattern: ^PAYMENT_GATEWAY$
inBankCode
string
required

UPI

Pattern: ^UPI$
callBackUrl
string<uri>
required

Redirect URL after successful payment

callBackFailUrl
string<uri>
required

Redirect URL after failed payment

partnerUserId
string
required

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 -~!@#$%&*()_.

Pattern: ^[A-Za-z0-9\-~!@#$%&*()_]+$
sign
string
required

Signature

notifyUrl
string<uri>

Callback URL

subject
string

Payment note (transaction title, product name, payment reason, etc.)

body
string

Additional remark details

Response

200 - application/json
status
string
default:1

1: Normal, 0: Exception

error
string
default:00000000

Error code

msg
string
default:""

Error description

data
object
Last modified on April 10, 2026