Quota
Quota is a prepaid count of subscriptions you may issue, held separately for each product. One unit becomes one subscription.
Checking your balance
Takes no parameters — the account is determined by your credentials. Returns a plain array, not a paged envelope.
[
{
"productSlug": "standoff_radar_high_30days",
"productName": "Radar High — 30 days",
"balance": 412,
"initiated": 500
},
{
"productSlug": "standoff_radar_low_lifetime",
"productName": "Radar Low — lifetime",
"balance": 8,
"initiated": 20
}
]The identifier you pass as planSlug when issuing. This is the authoritative list of what you can spend against.
Human-readable name, for your own dashboards.
Units available to spend right now.
Lifetime total ever credited to you for this product. Not a period opening balance.
Topping up
Quota is credited by us, on agreement — there is no endpoint to buy it programmatically and no way to top yourself up from the panel. Get in touch when you need more, and it appears on your balance as a Topup entry.
How spending works
Issuing a subscription costs one unit; generating a batch of promo codes costs one unit per code, charged when the batch is created rather than when a code is redeemed. Both are checked against your balance before anything is granted.
Reseller.InsufficientQuota and
nothing is consumed. There is no partial fulfilment — a batch of 50
codes against a balance of 30 issues zero codes, not 30.Concurrent requests are serialised per account, so two calls arriving at the same moment cannot both spend the last unit.
Refunds
There is no refund endpoint. Quota comes back automatically in one case: a promo batch that was charged but could not be generated is credited back in full, and the response tells you no quota was consumed.
A subscription already issued to a user is not reversible through the API. Nothing is ever deleted from your history — a reversal is recorded as its own credit entry alongside the original charge, so the ledger in the panel always shows both.
Expiry
Quota does not expire. Once credited it stays on your balance until you spend it.
