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

Body

application/json

Запрос на докупку трафика.

initData
string
required
gb
integer
required
subscriptionId
integer | null

Response

Successful Response