Returns the current account status, including whether the account is active, whether overuse is allowed, CU limits, and active package details (remaining CU + expiration/renew time).
Endpoint
- URL:
GET /v1/get_account_status - Method:
GET - Authentication: Required
- X-Address: Required
Request Example
GET /v1/get_account_status HTTP/1.1
Host: api.gopluslabs.io
Authorization: PersonalSign {sign}.{timestamp}
X-Address: {ethAddress}
Accept: application/jsonResponse Example
{
"code": 1,
"message": "ok",
"result": {
"status": "active",
"overage_allowed": 0,
"overage_price_per_kcu": "",
"cu_per_minute": "100",
"cu_per_day": "100",
"active_package": [
{
"package_name": "Chicken",
"available_cu": "1000",
"expiration_time": "2025-06-06T19:06:03+00:00",
"renew_time": ""
},
{
"package_name": "Duck",
"available_cu": "1001",
"expiration_time": "2025-06-06T19:12:03+00:00",
"renew_time": ""
}
]
}
}Response Fields
code— Status code (e.g., 1 for success).message— Status message (e.g., "ok").result— Account status object:status— Account status (e.g.,active).overage_allowed— Whether overage is allowed (0 = no, 1 = yes).overage_price_per_kcu— Overage price per KCU (present whenoverage_allowedis 1).cu_per_minute— CU limit per minute.cu_per_day— CU limit per day.active_package— Array of active package objects:package_name— Package name.available_cu— Remaining CU in the package.expiration_time— Expiration time (ISO 8601, present for packages).renew_time— Renewal time (ISO 8601, present for subscriptions).