curl --request POST \
--url https://api.example.com/cabinet/subscription/traffic \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"gb": 50000
}'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Purchase additional traffic.
curl --request POST \
--url https://api.example.com/cabinet/subscription/traffic \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"gb": 50000
}'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request to purchase additional traffic.
GB to purchase (0 = unlimited)
0 <= x <= 100000Successful Response