Skip to main content

Communication protocols

Merchants accessing the Zalopay service and calling the API must follow the following rules:

TypeDescription
Transmission MethodIn order to ensure transaction security, HTTPS transmission is adopted
Submission MethodSubmit by POST method
Data FormatSubmit and return data in application/json, application/x-www-form-urlencoded format
Character EncodingUTF-8 character encoding
Authentication AlgorithmHmacSHA256
Authentication RequirementsBoth request and received data need to verify the authentication information
Process LogicFirst refer to the return of the protocol field, then refer to the code in the response message, and finally refer to the transaction status