API Response

After calling our APIs, callers will receive a response like the following data:

{
  "code": 0,
  "msg": "success",
  "data": {
     // more properties.
  },
  "traceid": "221117082056X6478814"
}

code

This property indicates the success or failure of the request. The value of this property should be:

  • 0 -- It means that the request has been processed successfully.

  • 999 -- It means that the request has been accepted, but some errors occur during the processing.

msg

This property describes the error messages according to the property code.

data

This property indicates all business details. You will see these details in the API Reference part.

traceid

This property indicates a unique ID for every request.

Last updated