Soxway Docs
Account

Пополнить баланс трафика

Приобрести трафик за счёт USD-баланса аккаунта. Трафик распределяется по типу прокси.

POST
/reseller/topup-traffic
АвторизацияBearer <token>

Токен доступа, полученный через POST /reseller/access-token с использованием вашего Reseller Key

В: header

Тело запроса

application/json

TypeScript определения

Use the request body type in TypeScript.

Тело ответа

application/json

curl -X POST "https://api.soxway.io/reseller/topup-traffic" \  -H "Content-Type: application/json" \  -d '{    "amount_gb": 10,    "proxy_type": "residential"  }'
{
  "message": "string",
  "data": {
    "proxy_type": "string",
    "traffic_balance_gb": 0,
    "amount_added_gb": 0,
    "cost": 0
  }
}
Пусто