Skip to main content
GET
Get Subscription

Авторизации

Authorization
string
header
обязательно

Ключ вида lumi_proxy_… Выдаётся оператором.

Заголовки

authorization
string | null

Параметры пути

sub_id
integer
обязательно

Ответ

Successful Response

id
integer
обязательно
user_id
integer
обязательно
package_title
string
обязательно
category
string
обязательно
protocol
string
обязательно
status
string
обязательно
auto_renew
boolean
обязательно
purchase_price_usd
string
обязательно
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
traffic_gb
integer | null
traffic_gb_total
integer | null
traffic_limit_bytes
integer | null
traffic_used_bytes
integer | null
ip_quantity
integer | null
started_at
string<date-time> | null
expires_at
string<date-time> | null
kind
string
по умолчанию:rotating

'static' | 'rotating'

access_mode
string | null

'api_tool' | 'legacy' - rotating subscriptions only

targeting
TargetingOut · object | null

Geo / rotation snapshot stored on the subscription.

capabilities
string[]

Operations this subscription supports right now (export, rotate, settings, traffic_topup, renew, auto_renew, password_reset)