curl --request POST \
--url https://uat-interface.haipay.asia/pkr/collect/apply \
--header 'Content-Type: application/json' \
--data '
{
"appId": 123,
"orderId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "jsmith@example.com",
"amount": "<string>",
"payType": "<string>",
"inBankCode": "<string>",
"callBackUrl": "<string>",
"callBackFailUrl": "<string>",
"partnerUserId": "<string>",
"sign": "<string>",
"notifyUrl": "<string>",
"subject": "<string>",
"body": "<string>",
"idCard": "<string>"
}
'{
"status": "1",
"error": "00000000",
"msg": "",
"data": {}
}Business ID (obtained from the backend, must pass the corresponding business ID according to the currency in URL)
Merchant Order Number
48Recipient's Name
Real Mobile Number
Real Email
Transaction Amount (accurate to two decimals; no punctuation allowed, e.g., “,” is forbidden)
Transaction Type
Redirect URL after successful payment
Redirect URL after failed payment
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
Payment Note (transaction title, product name, reason for payment)
Note Details
ID card number, required for JAZZCASH
curl --request POST \
--url https://uat-interface.haipay.asia/pkr/collect/apply \
--header 'Content-Type: application/json' \
--data '
{
"appId": 123,
"orderId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "jsmith@example.com",
"amount": "<string>",
"payType": "<string>",
"inBankCode": "<string>",
"callBackUrl": "<string>",
"callBackFailUrl": "<string>",
"partnerUserId": "<string>",
"sign": "<string>",
"notifyUrl": "<string>",
"subject": "<string>",
"body": "<string>",
"idCard": "<string>"
}
'{
"status": "1",
"error": "00000000",
"msg": "",
"data": {}
}