Skip to main content

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.

  1. See the packs you can buy
    GET/api/v1/top-up-packsTry it →
    {
    "data": [
    { "id": 4, "sizeBytes": 1073741824, "price": 5.0 },
    { "id": 5, "sizeBytes": 10737418240, "price": 35.0 }
    ]
    }

    Prices are per pack, in pounds excluding VAT. If the list is empty, top-ups aren't set up on your account yet: ask support.

  2. 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.

    POST/api/v1/sims/{id}/top-upsTry it →
    POST/api/v1/pools/{id}/top-upsTry it →
    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 }'
    Field
    packIdWhich pack
    quantityHow many (1 to 10)
    reactivatetrue also switches back on any SIMs the Watchdog suspended this month for running out of data

    201 Created:

    { "packs": 2, "addedBytes": 21474836480, "price": 70.0, "reactivatedSims": 3 }

    The data is available straight away: the pool's (or SIM's) allowanceBytes and topUpBytes go 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 id as (part of) the Idempotency-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​

GET/api/v1/top-upsTry it →

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​

AnswerWhy
402 payment_requiredNo card on file
409 conflictTopping up a SIM that's in a pool (top up the pool), or one with no plan
404The SIM, pool or pack isn't yours
403 account_suspendedYour account is suspended