Skip to main content
POST
/
myr
/
pay
/
apply
MYR Disbursement Application
curl --request POST \
  --url https://uat-interface.haipay.asia/myr/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": "1",
  "error": "00000000",
  "msg": "<string>",
  "data": {
    "orderId": "<string>",
    "orderNo": "<string>",
    "sign": "<string>"
  }
}

Secret Key & Private Key (Generate Signature)

Body

application/json
appId
integer
required

Business ID (obtained from backend, must pass the corresponding business ID according to the currency in the URL)

orderId
string
required

Merchant order number

Maximum string length: 48
amount
string
required

Transaction amount (accurate to two decimal places; punctuation marks such as “,” are prohibited)

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

Account type: EWALLET (e-wallet), BANK_ACCOUNT (bank)

Available options:
EWALLET,
BANK_ACCOUNT
bankCode
string
required
accountNo
string
required

User account number

name
string
required

Recipient’s name (format: English letters, case-insensitive, spaces allowed, 1-30 chars, “firstName middleName lastName” (middleName optional, special chars supported '.-))

Required string length: 1 - 30
Pattern: ^[A-Za-z\s'.-]+$
phone
string
required

Valid phone number

email
string<email>
required

Valid email

partnerUserId
string
required

Unique user identifier (e.g., userId). Must be valid, otherwise it will affect the transaction. Format: digits, letters, or symbols -~!@#$%&*()_.

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

Signature

notifyUrl
string<uri>

Callback URL

subject
string

Payment remark (transaction title, product name, or payment reason)

body
string

Remark details

Response

200 - application/json
status
string

1: Normal, 0: Exception

Example:

"1"

error
string

Error code

Example:

"00000000"

msg
string

Error description

data
object
Last modified on April 10, 2026