Top up data
A top-up adds data to a SIM or a pool for the rest of the current month. It's charged on that month's invoice, and is often cheaper than paying for overage. Top-ups come in packs (say, 1 GB or 10 GB), priced for your account.
- See the packs you can buy
- Buy for a SIM, or for its pool
A SIM on its own tariff is topped up itself. A SIM in a pool shares the pool's allowance, so top up the pool.
- cURL
- Node.js
- Python
curl -X POST https://app.zentarinetworks.com/api/v1/pools/7/top-ups \-H "Authorization: Bearer $AXIS_API_KEY" \-H "Content-Type: application/json" \-H "Idempotency-Key: $(uuidgen)" \-d '{ "packId": 5, "quantity": 2, "reactivate": true }'const res = await fetch('https://app.zentarinetworks.com/api/v1/pools/7/top-ups', {method: 'POST',headers: {Authorization: `Bearer ${process.env.AXIS_API_KEY}`,'Content-Type': 'application/json','Idempotency-Key': crypto.randomUUID(), // a top-up costs money: never risk buying it twice},body: JSON.stringify({ packId: 5, quantity: 2, reactivate: true }),});res = requests.post("https://app.zentarinetworks.com/api/v1/pools/7/top-ups",json={"packId": 5, "quantity": 2, "reactivate": True},headers={"Authorization": f"Bearer {os.environ['AXIS_API_KEY']}","Idempotency-Key": str(uuid.uuid4()), # a top-up costs money: never risk buying it twice},)Field packIdWhich pack quantityHow many (1 to 10) reactivatetruealso switches back on any SIMs the Watchdog suspended this month for running out of data201 Created:{ "packs": 2, "addedBytes": 21474836480, "price": 70.0, "reactivatedSims": 3 }The data is available straight away: the pool's (or SIM's)
allowanceBytesandtopUpBytesgo up.
Topping up automatically
A common pattern: when a watchdog.pool.threshold webhook says a pool has passed 90%, buy a top-up for it. Keep it
safe:
- Use the webhook's
idas (part of) theIdempotency-Key, so a repeated event can't buy twice. - Put a ceiling on how many top-ups your code will buy in a month, and alert a person beyond that.
What you've bought
This month's top-ups, newest first, or another month's with ?month=2026-09. Each shows its pack, size, price, who
bought it, and the SIM or pool it was for. Only Axis can cancel a top-up (it then shows cancelledAt and isn't
charged).
What can go wrong
| Answer | Why |
|---|---|
402 payment_required | No card on file |
409 conflict | Topping up a SIM that's in a pool (top up the pool), or one with no plan |
404 | The SIM, pool or pack isn't yours |
403 account_suspended | Your account is suspended |