Interface Specification
Header Parameter | Description | Type |
---|---|---|
Content-Type | application/json;charset=UTF-8 | String |
Sign | The encrypted signature, see sign signature rules | String |
Timestamp | The current system timestamp (in seconds) | String |
Api-Key | API authentication name (Home - Developers) | String |
Example headers:
{ "Content-Type":"application/json;charset=UTF-8", "Sign":"05d7a50893e22a5c4bb3216ae3396c7c", "Timestamp":"1630468800", "Api-Key":"bDqJFiq9" }
Parameters | Description | Type |
---|---|---|
status | Response result status code. 0 indicates success, others indicate failure. | String |
reason | Description of the failure reason. | String |
Success Example:
{ "status":"0", "reason":"success" }
Failure Example:
{ "status":"-16", "reason":"timestamp expires" }
Generate an MD5-32 bit string (case insensitive) as the signature using the API authentication name + API authentication secret key + Timestamp current system timestamp (in seconds).
Example:
API authentication name: bDqJFiq9
API authentication secret key: 7bz1lzh9
Timestamp current system timestamp (in seconds): 1630468800
MD5(bDqJFiq97bz1lzh91630468800):05d7a50893e22a5c4bb3216ae3396c7c
Feedback
Was this page helpful?