PHP Collection Application
Use the appId corresponding to PHP. After successful user payment, the PHP balance will be increased.
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)
Related Topics
Body
Business ID (obtain from backend, must match the business ID according to the currency in the URL).
Merchant order number.
48Payee name (format: upper/lowercase letters with spaces allowed, 1-30 chars, "firstName middleName lastName" (middleName optional, special characters supported: ! -)).
1 - 30^[A-Za-z\s!-]+$Real phone number (Format: starts with 09, digits only, 11 digits total).
^09\d{9}$Real email address.
Transaction amount (unit: ₱, accurate to 2 decimals; do not include punctuation such as “,”).
^(?:[5-9]\d|[1-9]\d{2,3}|[1-4]\d{4}|49999)(?:\.\d{2})?$Transaction type.
.
Redirect URL after successful payment.
Redirect URL after failed payment.
Unique user identifier (e.g., userId), required for risk control. Must be valid. Format: digits, letters, or common symbols -~!@#$%&*()_.
^[A-Za-z0-9\-~!@#$%&*()_]+$Signature.
Callback URL.
Payment remark (transaction title, product name, payment reason).
Detailed remark.

