Get an overview of your account, including paid and unpaid invoices, and the number of active services like domains and servers. It also returns an ID for subsequent API calls.
Accept Example Content-Type Example success boolean timestamp string requestId string data object https://cloud.hostup.se/api/account/stats curl -X GET "https://cloud.hostup.se/api/account/stats" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"success": true,
"stats": {
"invoice_paid": 0,
"paid": 0,
"invoice_cancelled": 0,
"cancelled": 0,
"invoice_unpaid": 0,
"unpaid": 0,
"shared": 0,
"reseller": 0,
"dedicated": 0,
"other": 0,
"domain": "string",
"ticket": "string",
"credit": 0,
"affiliate": true,
"currency_id": "string",
"accounts": {
"dedicated": "string"
},
"income": 0
}
}
}