Skip to main content
POST
/
usd
/
pay
/
apply
USD Disbursement Application
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***"
  }
}

Secret Key & Private Key (Generate Signature)

Body

application/json
appId
integer
required

Business ID (obtained from the backend; must use the corresponding business ID for the currency in the URL).

orderId
string
required

Merchant order number (must be unique, max length 48).

Maximum string length: 48
name
string
required

Recipient'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

phone
string
required

Real phone number.

email
string<email>
required

Real email address.

amount
string
required

Transaction amount (unit: USD, accurate to two decimals; no punctuation marks allowed, e.g., "," ).

Pattern: ^\d+\.\d{2}$
accountType
string
required

Account type.

bankCode
string
required

Payment Method.

subject
string
required

Payment remark.

accountNo
string
required

Account number, for PayPal it is the email address.

partnerUserId
string
required

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 -~!@#$%&*()_.

Pattern: ^[A-Za-z0-9\-~!@#$%&*()_]+$
sign
string
required

Signature.

notifyUrl
string<uri>

Callback URL.

identifyType
string

Bank routing code, required for ACH.

body
string

Remark details, required for ECASHAPP.

country
string

Recipient's country, required for ACH, for example: US.

address1
string

Recipient's address - street details, required for ACH.

address2
string

Recipient's address - city, required for ACH.

address3
string

Recipient's address - state/province, required for ACH.

postalCode
string

Recipient's postal code, required for ACH.

bankName
string

Recipient's bank name, required for ACH.

swiftCode
string

swiftCode, required for ACH.

Response

200 - application/json
status
string

1: Normal, 0: Exception

error
string

Error code

msg
string

Error description

data
object
Last modified on April 16, 2026