curl --request POST \
--url https://uat-interface.haipay.asia/pkr/pay/apply \
--header 'Content-Type: application/json' \
--data '
{
"appId": 123,
"orderId": "<string>",
"amount": "<string>",
"accountType": "EWALLET",
"bankCode": "<string>",
"accountNo": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "jsmith@example.com",
"subject": "<string>",
"birth": "<string>",
"gender": "MALE",
"partnerUserId": "<string>",
"sign": "<string>",
"notifyUrl": "<string>",
"body": "<string>",
"idCard": "<string>"
}
'{
"status": "<string>",
"error": "<string>",
"msg": "<string>",
"data": {
"orderId": "<string>",
"orderNo": "<string>",
"sign": "<string>"
}
}Business ID (obtained from the backend, must pass the corresponding business ID according to the currency in URL)
Merchant Order Number
48Transaction Amount (accurate to two decimals; no punctuation allowed, e.g., “,” is forbidden)
^\d+\.\d{2}$Account Type: EWALLET (E-wallet), BANK_ACCOUNT (Bank)
EWALLET, BANK_ACCOUNT User’s bank account number or wallet account number
Recipient’s Name
Real Mobile Number
Real Email
Payment Note (transaction title, product name, reason for payment)
Date of Birth, format: yyyy-MM-dd
^\d{4}-\d{2}-\d{2}$Gender, allowed values: MALE, FEMALE, or OTHER
MALE, FEMALE, OTHER Unique user identifier (e.g., userId), used for risk control system, must be valid, otherwise it will affect the transaction. Format: digits, letters, or symbols -~!@#$%&*()_.
^[A-Za-z0-9\-~!@#$%&*()_]+$Signature
Callback URL
Note Details
ID card number
curl --request POST \
--url https://uat-interface.haipay.asia/pkr/pay/apply \
--header 'Content-Type: application/json' \
--data '
{
"appId": 123,
"orderId": "<string>",
"amount": "<string>",
"accountType": "EWALLET",
"bankCode": "<string>",
"accountNo": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "jsmith@example.com",
"subject": "<string>",
"birth": "<string>",
"gender": "MALE",
"partnerUserId": "<string>",
"sign": "<string>",
"notifyUrl": "<string>",
"body": "<string>",
"idCard": "<string>"
}
'{
"status": "<string>",
"error": "<string>",
"msg": "<string>",
"data": {
"orderId": "<string>",
"orderNo": "<string>",
"sign": "<string>"
}
}