Top up traffic balance
Purchase traffic balance using your account USD balance. Traffic is allocated per proxy type. Pricing is volume-based — the larger the `amount_gb`, the lower the per-GB rate (see `*_pricing_tiers` in `GET /reseller/balance`). The `cost` in the response reflects the tier applied to your purchased volume.
Authorization
bearerAuth Access token obtained via POST /reseller/access-token using your Reseller Key
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
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
}
}Get traffic balance
Get the reseller's current traffic balance in GB. Pricing is volume-based: `*_price_per_gb` is the entry rate (smallest volume), and `*_pricing_tiers` lists each `min_gb` threshold with its `price_per_gb`. The rate charged is that of the highest threshold less than or equal to the purchased volume.
Get analytics
Get reseller analytics including sub-user statistics and traffic usage.