Create payout order
curl --request POST \
--url https://uat-interface.haipay.asia/usd/pay/apply \
--header 'Content-Type: application/json' \
--data '
{
"appId": 1054,
"orderId": "M233323000059",
"amount": "300",
"phone": "09230219312",
"email": "23423@qq.com",
"name": "test",
"accountType": "EWALLET",
"bankCode": "PayPal",
"accountNo": "123465",
"partnerUserId": "149597870",
"sign": "af0gAHkUOyYH***"
}
'{
"status": "1",
"error": "00000000",
"msg": "",
"data": {
"orderId": "M233323000059",
"orderNo": "6023071013539074",
"payUrl": "",
"sign": "YEoA8Y2JzQFG***"
}
}Business ID (obtained from the backend; must use the corresponding business ID for the currency in the URL).
Merchant order number (must be unique, max length 48).
48Recipient's full name, recommended to use the real name in English, no special characters, separated by spaces, must include at least firstName and lastName. Example: Donald John Trump
Real phone number.
Real email address.
Transaction amount (unit: USD, accurate to two decimals; no punctuation marks allowed, e.g., "," ).
^\d+\.\d{2}$Account type.
Payment Method.
Payment remark.
Account number, for PayPal it is the email address.
User unique identifier (e.g., userId). Used for risk control. Must be real and valid, otherwise it will affect the transaction. Allowed characters: digits, uppercase/lowercase letters, or common symbols -~!@#$%&*()_.
^[A-Za-z0-9\-~!@#$%&*()_]+$Signature.
Callback URL.
Bank routing code, required for ACH.
Remark details, required for ECASHAPP.
Recipient's country, required for ACH, for example: US.
Recipient's address - street details, required for ACH.
Recipient's address - city, required for ACH.
Recipient's address - state/province, required for ACH.
Recipient's postal code, required for ACH.
Recipient's bank name, required for ACH.
swiftCode, required for ACH.
curl --request POST \
--url https://uat-interface.haipay.asia/usd/pay/apply \
--header 'Content-Type: application/json' \
--data '
{
"appId": 1054,
"orderId": "M233323000059",
"amount": "300",
"phone": "09230219312",
"email": "23423@qq.com",
"name": "test",
"accountType": "EWALLET",
"bankCode": "PayPal",
"accountNo": "123465",
"partnerUserId": "149597870",
"sign": "af0gAHkUOyYH***"
}
'{
"status": "1",
"error": "00000000",
"msg": "",
"data": {
"orderId": "M233323000059",
"orderNo": "6023071013539074",
"payUrl": "",
"sign": "YEoA8Y2JzQFG***"
}
}