Billing
Get the Subscription
GET
header
AuthorizationBearer <token>qlt_… Access token (kind api)
account_id*stringOK
application/json- response
plan*PlanIdpartner: partner Networks only; not listed in /plans and not for sale
Value in
"free""unlimited""unlimited_1tb""unlimited_5tb""partner"interval?|Value in
"month""year"nullstatus*stringpartner: billed by the Partner that created the Network
Value in
"free""active""past_due""canceled""partner"current_period_start?|Format
date-timecurrent_period_end?|Format
date-timecancel_at_period_end?booleancurl -X GET 'https://tiltas.openpanel.sh/api/v1/accounts/string/subscription'Example Response200
{ "plan": "free", "interval": "month", "status": "free", "current_period_start": "2019-08-24T14:15:22Z", "current_period_end": "2019-08-24T14:15:22Z", "cancel_at_period_end": true}Cancel the Subscription POST
Owner only. Cancels at the end of the paid period; the Account then moves to Free. Nothing is removed: Devices and people over the Free limits stay, and new ones wait until the Network is under them. 409 billed_by_partner on a partner Network.
Get Usage GET
Any Member. Relayed traffic of the Network in the current period, against its pool.