Reseller API

Funding

Your reseller pool holds bandwidth you've paid for but not yet given to a customer, tracked per product. Buy into it in bulk from your wallet, then move GB onto individual customers with Allocate bandwidth. Pool GB is priced like any bandwidth purchase, including the 10% volume bonus on 100 GB or more, and the price is fixed when you buy, so later price changes don't affect what's already in your pool.

Product keys, each product's smallest order (minGb: 1 GB, 2 GB for Premium Residential), the $5 wallet deposit minimum (minTopupCents) and live per-GB prices come from GET /v1/products (no key needed).

Check your pool

GET /v1/pool

{
  "pool": [
    { "productKey": "residential", "productId": "residential-lite", "label": "Core Residential", "gb": 50 },
    { "productKey": "premium", "productId": "residential-premium", "label": "Premium Residential", "gb": 0 }
  ]
}

GET /v1/me returns the same pool array alongside your customer counts.

Buy bandwidth into your pool

Pool bandwidth is paid from your wallet, like all bandwidth. Add money to the wallet first ($5 minimum, $2,000 maximum per deposit, by card or crypto), then buy: the GB is in your pool as soon as the call returns. gb is a whole number, at least the product's minGb (1 GB; 2 GB for Premium Residential) and at most 10,000. Orders of 100 GB or more include the volume bonus.

POST /v1/wallet/topup
Content-Type: application/json

{ "method": "card", "amountCents": 10000 }

# {"payUrl":"https://...","transactionId":"st_..."}   (method "crypto" returns {"url": ...})
POST /v1/pool/purchase
Content-Type: application/json
Idempotency-Key: pool-order-2026-11-09

{ "productKey": "residential", "gb": 100 }

# {"ok":true,"summary":"100 GB Core Residential (+10 GB free) → reseller pool","amountCents":9900,"balanceCents":100}

If the wallet doesn't cover the order you get a 402 with shortfallCents. Add at least that much, and at least the $5 deposit minimum, then buy again. One deposit can be at most $2,000, so a large order can take several deposits. GET /v1/wallet returns your balance.

Retries

A pool purchase takes money from your wallet the moment it runs, so send an Idempotency-Key header with each one (up to 128 characters, for example your own order id). If the call times out or the connection drops, repeat it with the same key and you are charged once: a completed purchase comes back with 200 and replayed: true. A 409 means the first request is still running (repeat later with the same key) or ended without a purchase (use a new key); a 422 means the key was used for a different order. Use a new key for each new order. The same header works on POST /v1/wallet/purchase. The official SDKs never retry a purchase on their own after a server error or a dropped connection; they do retry a 429, which is safe because nothing was processed.

Check a wallet payment

Poll the wallet top-up's transaction until status is succeeded; the money is in your wallet from that point. Crypto payments are checked with the payment processor live on every call.

GET /v1/transactions/{transactionId}

{
  "id": "st_...",
  "kind": "wallet",
  "status": "succeeded",
  "paymentMethod": "card",
  "interval": null,
  "amountCents": 10000,
  "currency": "usd",
  "gb": null,
  "productKey": null,
  "plan": null,
  "resellerPool": false,
  "createdAt": "2026-10-01T10:00:00.000Z"
}

GET /v1/transactions lists your recent payments (?limit= up to 100).

Something wrong or missing on this page?

Suggest edits