For AI agents and LLMs: a structured documentation index is available at /llms.txt. Every page has a Markdown sibling — append .md to any URL. To search these docs, send a GET request to https://paddle-docs-retrieval.kapa-paddle.workers.dev/?q=<question> with a URL-encoded question. No authentication needed.

Skip to content
Paddle Docs home

Usage balance units

Usage balance unit entities describe what customers hold a balance of, like API calls or tokens. Prices grant them, and meters draw them down.

Join usage-based billing early access (beta)

Usage balance units are part of usage-based billing, which is in early access (beta). Read how they work, then apply to join. We'll reach out if you meet the program requirements.

Usage balance units describe what customers hold a balance of for usage-based billing, like API calls, tokens, or document exports. In the Paddle dashboard, they're called units.

Usage balance units work with two other entities:

  • Prices grant usage balance units using allowances. Each allowance says how much of a usage balance unit a customer gets each billing period.
  • Meters draw down usage balance units when you report usage events.

When a customer subscribes to a price with an allowance, Paddle creates a usage balance for that customer and usage balance unit.

flowchart LR
    price["Price<br>allowances"] -- "grants each<br>billing period" --> balance["Usage balance<br>one per customer, per unit"]
    events["Usage events<br>action + quantity"] -- "matched by action" --> meter["Meter<br>action → unit, at a rate"]
    meter -- "draws down" --> balance
    unit["Usage balance unit<br>what customers hold"] -.->|granted by| price
    unit -.->|drawn down by| meter
    classDef current fill:#3a69c5,stroke:#3a69c5,stroke-width:3px,color:#ffffff
    class unit current

Usage balance unit entities hold information like:

  • A name for the usage balance unit, like "API calls."
  • The plural name of what customers hold a balance of, like calls.
  • The status of the usage balance unit.

Allowances

Add an allowances array to a recurring price to grant usage balance units. Each allowance has a usage_balance_unit_id and an amount, which is how much of the usage balance unit the price includes each billing period.

For example, a Pro plan price for an API product might include an allowance of "10000" for an API calls usage balance unit. Paddle grants 10,000 API calls when a customer subscribes, then grants them again each billing period.

  • During early access (beta), allowances are for recurring prices without a trial period. You can't add them to one-time prices.
  • A price can include up to 20 allowances, one for each usage balance unit.
  • Allowances multiply by quantity. If a customer buys three of a price that includes 10,000 API calls, they get 30,000 API calls.
  • An allowance can be "0". The customer gets a usage balance with nothing in it, so Paddle records all their usage as overage.

Unit names

Usage balance units and meters both have a unit_name:

  • Usage balance units use the plural name of what customers hold a balance of, like calls.
  • Meters use the singular name of what the meter measures, like call.

There's no delete operation for usage balance units. Use the update usage balance unit operation to archive usage balance units when you no longer need them. To learn more, see Delete entities.

Was this page helpful?