Communication protocols
Merchants accessing the Zalopay service and calling the API must follow the following rules:
| Type | Description |
|---|---|
| Transmission Method | In order to ensure transaction security, HTTPS transmission is adopted |
| Submission Method | Submit by POST method |
| Data Format | Submit and return data in application/json, application/x-www-form-urlencoded format |
| Character Encoding | UTF-8 character encoding |
| Authentication Algorithm | HmacSHA256 |
| Authentication Requirements | Both request and received data need to verify the authentication information |
| Process Logic | First refer to the return of the protocol field, then refer to the code in the response message, and finally refer to the transaction status |