Skip to main content
POST
Purchase Tariff

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request to purchase a tariff.

tariff_id
integer
required

Tariff ID to purchase

period_days
integer
required

Period in days

Required range: 1 <= x <= 3650
traffic_gb
integer | null

Custom traffic in GB (for custom_traffic_enabled tariffs)

Required range: 0 <= x <= 100000

Response

Successful Response

The response is of type Response Purchase Tariff Cabinet Subscription Purchase Tariff Post · object.