Appearance
Account and plans
The key and its account
GET /meWho the key is and the account it acts as. Use it to check a new key.
json
{
"key": { "name": "Partner portal", "access": "write", "expires_at": "2027-10-22T12:00:00Z" },
"account": {
"type": "reseller",
"id": 3,
"name": "Berlin TV",
"credit": 940,
"max_devices": 500,
"devices": 212
}
}| Field | |
|---|---|
account.type | operator (an administrator's key) or reseller |
account.credit | The reseller's credit balance (resellers only) |
account.max_devices | Its device limit; 0 for none (resellers only) |
account.devices | Its devices, its sub-resellers' included (resellers only) |
Tariff plans
GET /tariff-plansThe plans devices can be added and renewed on: active plans with a duration.
json
{
"data": [
{ "id": 2, "name": "Premium 12 months", "months": 12, "price": 120, "description": null },
{ "id": 5, "name": "Basic 3 months", "months": 3, "price": 25, "description": "Without sports" }
],
"next_cursor": null
}| Field | |
|---|---|
months | How long one activation or renewal lasts |
price | Credits charged for it to the device's reseller |
Plans are set up in the panel, under Tariffs > Tariff Plans.