curl --request POST \
--url https://uat-interface.haipay.asia/php/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",
"partnerUserId": "<string>",
"sign": "<string>",
"notifyUrl": "<string>",
"subject": "<string>",
"body": "<string>"
}
'{
"status": "<string>",
"error": "<string>",
"msg": "<string>",
"data": {
"orderId": "<string>",
"orderNo": "<string>",
"sign": "<string>"
}
}Business ID (obtain from backend, must match the business ID according to the currency in the URL).
Merchant order number.
48Transaction amount (unit: ₱, accurate to 2 decimals; do not include punctuation such as “,”).
^\d+\.\d{2}$Account type: EWALLET (e-wallet), BANK_ACCOUNT (bank).
EWALLET, BANK_ACCOUNT User’s bank/wallet account number.
Recipient name (Format: English letters, allows spaces, 1-30 chars, "firstName middleName lastName", middleName optional, supports '.-).
1 - 30^[A-Za-z\s\'\-\.]+$Real phone number (Format: starts with 09, digits only, 11 digits total).
^09\d{9}$Real email address.
Unique user identifier (e.g., userId), required for risk control. Must be valid. Format: digits, letters, or common symbols -~!@#$%&*()_.
^[A-Za-z0-9\-~!@#$%&*()_]+$Signature.
Callback URL.
Payment remark (transaction title, product name, payment reason).
Detailed remark.
curl --request POST \
--url https://uat-interface.haipay.asia/php/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",
"partnerUserId": "<string>",
"sign": "<string>",
"notifyUrl": "<string>",
"subject": "<string>",
"body": "<string>"
}
'{
"status": "<string>",
"error": "<string>",
"msg": "<string>",
"data": {
"orderId": "<string>",
"orderNo": "<string>",
"sign": "<string>"
}
}