# API: Get client statistics
# getClientStats
Get client statistics
# Required parameters
Parameter | Description |
---|---|
id | Client ID |
# Request
GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=getClientStats&id=ID
# PHP Samples
# Response
{
"success": true,
"stats": {
"invoice_paid": 178,
"paid": 1,
"invoice_cancelled": 0,
"cancelled": 0,
"invoice_unpaid": 295,
"unpaid": 1,
"shared": 0,
"reseller": 0,
"dedicated": 0,
"other": 0,
"domain": "0",
"ticket": 0,
"credit": "0.00",
"affiliate": false,
"currency_id": "0",
"accounts": {
"opensrscert": "2"
}
},
"call": "getClientStats",
"server_time": 1323444265
}