Response Code

The http status code of each response indicates the execution result of its request.

200 OK
500/502 Internal Error
401 Unauthorized
403 Wrong Sign

The payload of all response is in JSON format:

{
   success:true/false,
   data:
   error_code:
   error_msg:
}

Fields in Response:

Field Name Description
success Boolean type. Indicate whether the request has been processed successfully or not.
data Specific data returned for each request. The details about this field for each API will be described below
error_code Unique code to describe request error
error_msg Detailed description about request error