GET
URI:
- /api/v1/balance
Input fields:
| Field name | Type | Required | Description |
|---|---|---|---|
Successful response fields:
| Code | Rsponse conent | Description |
|---|---|---|
| balance | float |
Total user quota. |
| trial_status | integer |
Customer trial status:
|
| customer_id | string | Customer ID. |
| expiration | string | The end date of subscription. |
| unit | string | Users. |
Response codes:
| Code | Response content | Description |
|---|---|---|
| 200 OK | Customer balance info has been returned. | |
| 404 Not Found | Cannot find related customer |
Example request body:
None
Example of successful response body:
{
"balance":12000,
"trial_status":2,
"customer_id":"123456"
}