Skip to main content
POST
/
cabinet
/
subscription
/
traffic
Purchase Traffic
curl --request POST \
  --url http://localhost:8080/cabinet/subscription/traffic \
  --header 'Content-Type: application/json' \
  --data '{
  "gb": 50000
}'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Body

application/json

Request to purchase additional traffic.

gb
integer
required

GB to purchase (0 = unlimited)

Required range: 0 <= x <= 100000

Response

Successful Response