Skip to main content
POST
/
idr
/
pay
/
apply
IDR Disbursement Application
curl --request POST \
  --url https://uat-interface.haipay.asia/idr/pay/apply \
  --header 'Content-Type: application/json' \
  --data '
{
  "appId": 123,
  "orderId": "<string>",
  "amount": "<string>",
  "accountType": "<string>",
  "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>"
  }
}

Secret Key & Private Key (Generate Signature)

Body

application/json
appId
integer
required

Business ID (retrieved from the backend; must pass the corresponding ID for the currency in the URL)

orderId
string
required

Merchant order ID (must be unique, max length 48)

Maximum string length: 48
amount
string
required

Transaction amount (unit: IDR)

accountType
string
required

Account type: BANK_ACCOUNT, EWALLET

bankCode
string
required
accountNo
string
required

User bank account number

name
string
required

Recipient name (format: English or Indonesian letters, case-insensitive, spaces allowed, 1-30 characters, "firstName middleName lastName" (middleName is optional), special characters allowed: '.-))

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). Required for risk control system. Must be valid, otherwise transactions may be affected. Format: numbers, letters, or common symbols -~!@#$%&*()_.

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

Signature

notifyUrl
string<uri>

Callback URL

subject
string

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

body
string

Remark 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