If you need the short version, this page answers three things first: which integration modes HaiPay supports, which communication rules apply, and what the API request structure looks like.
1. Integration Methods
2. Communication Protocol
When merchants integrate with HaiPay services and call the API, they must follow the rules below:
3. API Structure
Below is the structure for calling HaiPay APIs. The API name is appended to the request URL. The content inside data contains the concatenated payload for different business operations.
Request URL:
The example request above uses the test environment URL. For the production URL, please contact HaiPay business support at go-live. Test and production environments use separate accounts; appId is not interchangeable.
4. API List
For details, see API Documentation.
5. Parameters
Common Request Parameters
Request Example:
Common Response Parameters
Response Example:
Error Codes
For the complete error codes, the error response structure, and scenario-based error messages with handling advice, see HaiPay Error Codes and Error Response Reference.
Last modified on October 9, 2026