Check Balance
- URL:
/GetBalance/{API_KEY} - Method:
GET
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| API_KEY | string | Yes | Authentication Key |
Request Example
shcurl -X GET -k $API_URL/GetBalance/$API_KEY
Successful Response
Successful response code example:
json{
"status": "success",
"A1": 1000,
"A2": 0,
"A3": 1000
}
Error Response
Error response code example:
json{
"status": "error",
"msg": "The card key is incorrect or has been disabled!"
}
Response Parameter Description
| Attribute Name | Type | Description |
|---|---|---|
| status | string | success or error |
| A1 | int | Remaining points |
| A2 | int | Old version parameter, can be ignored |
| A3 | int | Old version parameter, can be ignored |
| msg | string | Error message |