CLI · Billing

buyproxy topup

Buy bandwidth from your wallet. If the wallet is short, add the difference first and the purchase goes through.

Usage

shell
$ buyproxy topup [product] [--gb 25] [--card|--crypto] [--pool] [-y] [--no-open] [--no-wait]

Aliases: buyproxy buy

topup buys bandwidth for one product from your BuyProxy wallet. You see the live price, any volume bonus and your wallet balance before anything is charged, and the GB is yours the moment the purchase returns.

Money goes into the wallet with `buyproxy wallet add`, by card or crypto ($5 minimum, $2,000 maximum per deposit). If the wallet doesn't cover an order, topup offers to add the difference first (never less than $5), waits for that payment, then buys.

Options

OptionWhat it does
[product]Product key: residential, premium, isp, mobile, ipv4 or ipv6.
-g, --gb <n>How many GB (a whole number from the product's minimum to 10,000).
--cardIf the wallet is short, add the difference by card (Stripe Checkout) without asking how.
--cryptoIf the wallet is short, add the difference with cryptocurrency (BTC, ETH, USDT and more).
--poolReseller keys: buy into your reseller pool instead of your own plan (same as buyproxy pool buy).
-y, --yesSkip the confirmations.
--no-openIf a deposit is needed, don't open the browser; just print the payment link.
--no-waitIf a deposit is needed, print the link and stop instead of waiting for the payment.

Plus the global options (--json, --key, --no-color, --help).

How it works

  1. Prices and your wallet load live from BuyProxy, so what you see is what you're charged.
  2. Pick a product and an amount (guided prompts, or [product] and --gb). Each product has a smallest order: 1 GB, or 2 GB for Premium Residential.
  3. Review the order. Orders of 100 GB or more get a 10% bonus, shown before you confirm, next to your wallet balance.
  4. Buy. In a terminal you confirm first; a piped or --json run needs -y, so a script never spends by accident. The price is taken from your wallet and the GB is added at once. Every purchase carries a fresh idempotency key, so a duplicated request can't charge you twice.
  5. Short wallet? In a terminal the CLI offers to add what's missing (at least $5) by card or crypto, opens the payment page, waits for it (up to 15 minutes), then buys. Piped or with --json it stops instead and tells you the buyproxy wallet add command to run.

If you press Ctrl-C while a deposit is pending, nothing is lost: once it's paid, the money is in your wallet and you can run topup again.

Examples

Guided

shell
$ buyproxy topup
example output
? Which product? Core Residential
? How many GB? (min 1) 100
╭─ Order ────────────────────────────╮
│ Product   Core Residential         │
│ Bandwidth 100 GB  + 10 GB bonus    │
│ Total     $99.00  from your wallet │
│ Wallet    $25.00  add $74.00 first │
╰────────────────────────────────────╯
? Add $74.00 to your wallet first? Yes
? Pay with Card
✔ Payment ready

  Pay here: https://checkout.stripe.com/c/pay/cs_live_…
✔ Payment received. The money is in your wallet.
✔ Bought
✔ 100 GB Core Residential (+10 GB free) for $99.00. $0.00 left in your wallet.

One line, wallet already funded

shell
$ buyproxy topup residential --gb 100 -y
example output
✔ 100 GB Core Residential (+10 GB free) for $99.00. $1.00 left in your wallet.

Add any shortfall by crypto

shell
$ buyproxy topup premium -g 20 --crypto

Reseller pool

shell
$ buyproxy topup residential -g 500 --pool

Needs a bp_live_… key. The GB lands in your pool, ready to allocate to customers.

Machine-readable

shell
$ buyproxy topup residential -g 10 -y --json
example output
{"ok":true,"summary":"10 GB Core Residential","amountCents":990,"balanceCents":1010}

JSON output

With --json the command prints the purchase: { "ok", "summary", "amountCents", "balanceCents" }. It never prompts: it needs -y to buy, and a short wallet exits with an error that names the deposit to make first.

Troubleshooting

You seeHow to fix it
Say which product to buy. / Say how many GB with --gb.Without a terminal there are no prompts, so pass both.
Your wallet has $25.00 and this costs $99.00.Add the difference first: buyproxy wallet add 74 --card, then run the same topup again.
--gb must be a whole number from 2 to 10 000 for Premium Residential.Each product has its own smallest order; the maximum per order is 10,000 GB.
Still pending. Check later with: buyproxy tx <id> --waitThe deposit hadn't settled in 15 minutes, usually crypto waiting on confirmations. Once it's in, run topup again.

Tips

  • Prefer a subscription? See buyproxy subscribe: plans include GB every month at a lower per-GB rate.

  • Keep the wallet funded with buyproxy wallet add and your scripts can buy with topup ... -y --json without a browser.

  • Crypto payments are final; card payments follow the refund policy at buyproxy.org/legal/refunds.

Something wrong or missing on this page?

Suggest edits