Skip to main content
POST
/
eur
/
pay
/
apply
Payout
curl --request POST \
  --url https://api.example.com/eur/pay/apply \
  --header 'Content-Type: application/json' \
  --data '
{
  "appId": 123,
  "orderId": "<string>",
  "amount": "<string>",
  "bankCode": "<string>",
  "accountNo": "<string>",
  "name": "<string>",
  "phone": "<string>",
  "email": "<string>",
  "partnerUserId": "<string>",
  "swiftCode": "<string>",
  "sign": "<string>",
  "city": "<string>",
  "postalCode": "<string>",
  "street": "<string>",
  "notifyUrl": "<string>",
  "subject": "<string>",
  "body": "<string>"
}
'
{
  "status": "<string>",
  "error": "<string>",
  "msg": "<string>",
  "data": {
    "orderId": "<string>",
    "orderNo": "<string>",
    "sign": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://doc.haipay.net/llms.txt

Use this file to discover all available pages before exploring further.

Secret Key & Private Key (Generate Signature)

Body

application/json
appId
integer
required

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

orderId
string
required

Merchant Order Number (must be unique, max length 48)

Maximum string length: 48
amount
string
required

Amount(Scale up to 2 decimal places; no extra characters such as :",")

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

Account type: BANK_ACCOUNT (bank)

Available options:
BANK_ACCOUNT
bankCode
string
required

Wallet code and bank code

accountNo
string
required

User bank/wallet account; IBAN account

Pattern: ^[A-Z]{2}[0-9]{2}[A-Z0-9]{1,30}$
name
string
required

Recipient name

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

Real phone number

email
string
required

Real email address

partnerUserId
string
required

User unique identifier (such as user ID userId), used for risk control system. Must be true and effective to avoid transactions. Format requirements: numbers, uppercase and lowercase letters, or common symbols -~!@#$%&*()_.

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

Global Bank Financial Telecommunication Code (SWIFT/BIC)

Pattern: ^[A-Z0-9]+$
sign
string
required
write-only

Signature

city
string
required

City

postalCode
string
required

Postal code

street
string
required

Street

notifyUrl
string<uri>

Callback address

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

Message

data
object
Last modified on May 28, 2026