curl --request POST \
--url http://localhost:8080/cabinet/subscription/purchase-tariff \
--header 'Content-Type: application/json' \
--data '
{
"tariff_id": 123,
"period_days": 1825,
"traffic_gb": 50000
}
'{}Purchase a tariff (for tariffs mode).
curl --request POST \
--url http://localhost:8080/cabinet/subscription/purchase-tariff \
--header 'Content-Type: application/json' \
--data '
{
"tariff_id": 123,
"period_days": 1825,
"traffic_gb": 50000
}
'{}Successful Response
The response is of type Response Purchase Tariff Cabinet Subscription Purchase Tariff Post · object.