curl --request POST \
--url https://uat-interface.haipay.asia/egp/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>",
"subject": "<string>",
"partnerUserId": "<string>",
"sign": "<string>",
"notifyUrl": "<string>",
"body": "<string>"
}
'{
"status": "1",
"error": "00000000",
"msg": "",
"data": {
"orderId": "<string>",
"orderNo": "<string>",
"payUrl": "<string>",
"bankNo": "<string>",
"referenceCode": "<string>",
"sign": "<string>"
}
}Business ID (obtained from backend, needs to pass the corresponding Business ID based on the currency in the URL)
Merchant order number
48Payer name
Recipient mobile number (please use +2 prefix mobile number format)
Recipient email address
Transaction amount (Unit: Egyptian Pound)
Redirect URL after successful payment
Redirect URL after failed payment
Payment remark (transaction title, product name, payment reason)
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
Remark details
curl --request POST \
--url https://uat-interface.haipay.asia/egp/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>",
"subject": "<string>",
"partnerUserId": "<string>",
"sign": "<string>",
"notifyUrl": "<string>",
"body": "<string>"
}
'{
"status": "1",
"error": "00000000",
"msg": "",
"data": {
"orderId": "<string>",
"orderNo": "<string>",
"payUrl": "<string>",
"bankNo": "<string>",
"referenceCode": "<string>",
"sign": "<string>"
}
}