Skip to main content
POST
/
mxn
/
pay
/
apply
MXN Disbursement Application
curl --request POST \
  --url https://uat-interface.haipay.asia/mxn/pay/apply \
  --header 'Content-Type: application/json' \
  --data '
{
  "appId": 1054,
  "orderId": "M100000450012",
  "amount": "55.00",
  "accountType": "BANK_ACCOUNT",
  "bankCode": "STP",
  "accountNo": "99418029201a844099",
  "name": "John Doe",
  "email": "johndoe@example.com",
  "subject": "Payment for services",
  "body": "Payment description",
  "partnerUserId": "73744645@f233",
  "sign": "I1PeK3eJEVsFFNowxVRqMXpeWa1lr/BcRpBi8SsW4wVo1+5AC1JsrFq/m/L3214NzKHvtDWi4zia3DL3dPut0yMyUyqL91LNCSaeISbGsQPlhEsQpyTOryS/RKOfsrn2Xo37SCF/phAvndOk2jwwGwqM5xLz1ms9Ukl85wv27QFNrXIMxK2p181e7MpMYrgf+xvEBE/VqCtKMtN9pO449wWwXzHWNPbZ76s4pAvKwRE9yXQDr7Iw14Dktcnl1FoLM4gWM/obkO+mz6SyAGDuXhVh/+OD/IGNiCyTCNq6ciQY28UnCFV6ZIP40gxsFhfBJKbK+Raw7y1Bh912ifYfug=="
}
'
{
  "status": "1",
  "error": "00000000",
  "msg": "",
  "data": {
    "orderId": "M1000245001F4",
    "orderNo": "3023022014149638",
    "sign": "LmhUnkw5j0pMiimsG6rKwdNNZGvX6GMpSmD1mdHZwq112wuK5BohmdEoqKB/jkMk28o3da4Cxh6Q+tW97+yTCemRrF+dMaHA73rpOeUuujKQl/UcFvJuMhfLBa2tp09L71NzoBqpPD6aXf37mYAz8E1HmERwFPpac5FVxIYanHG8cqmMLJYsVmHTSxWavgWU03ys9UczBePkBiR8sl2FSOhFABB0wAP28lswrV/ABS68IsLKtyd1fyI3GBfSbIK5nDEEnlE+EdElFdLs9taAxJImeVF1x4eT47+bkPJ2qS8z3K8QGzKLF3W+8SiRZGfSwDTsLKH+2Vycvy5auRl+ag=="
  }
}

Secret Key & Private Key (Generate Signature)

Body

application/json
appId
integer
required

Business ID (obtained from the backend, must correspond to the currency in the URL)

orderId
string
required

Merchant Order Number

Maximum string length: 48
amount
string
required

Transaction Amount (unit: Mex$, precise to two decimal places; do not use punctuation such as ",")

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

Account Type: BANK_CARD (Debit Card (16 digits)), BANK_ACCOUNT (CLABE (18 digits))

Available options:
BANK_CARD,
BANK_ACCOUNT
bankCode
string
required

Bank Code. For specific values, see Complete Bank Code List

accountNo
string
required

User Bank Account Number

name
string
required

Recipient Name (format: English letters, spaces allowed, 1-30 characters, "firstName middleName lastName" (middleName optional, special characters '.- supported))

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

Valid email address

partnerUserId
string
required

Unique User Identifier (e.g., userId), used for risk control. Must be valid; otherwise, the transaction may be affected. Allowed format: numbers, letters, or common symbols -~!@#$%&*()_.

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

Signature

phone
string

Valid phone number

notifyUrl
string<uri>

Callback URL

subject
string

Payment Note (transaction title, product name, payment reason)

body
string

Additional Details

Response

200 - application/json
status
string

1: Normal, 0: Exception

error
string

Error code

msg
string

Error description

data
object
Last modified on April 10, 2026