Skip to main content

API Specification Common Rules

Protocol Rules

The following specifies the rules for calling the API when accessing HaloPay

RuleDescription
Transfer ModeUse HTTPS for secure transactions.
Submit ModePOST, depends on the API.
Data Format (content-type)Data submitted and response are both in application/json format.
Char EncodingUse UTF-8 character encoding.
Signature AlgorithmHmac-SHA-256

Request Header

NameTypeDescription
X-SignstringSignature
X-TimestampintTimestamp(sec)
X-AppidstringMerchant APPID
content-typestringapplication/json

View error code