Credits let you bill from a prepaid balance instead of charging only after usage happens. You can sell credits directly, include them in a plan, or grant them manually as a top-up or promotion.
In Paid, a customer’s available credits are made up of one or more credit allocations. Each allocation has its own amount, timing, and optional expiry rules. Paid keeps the running balance for you and deducts credits automatically as usage is recorded.
This page explains how customers receive credits, how Paid decides which credits to spend first, and what happens when balances run low or go below zero.
A customer’s balance is usually made up of several allocations rather than one single bucket. New allocations can be created when:
Each allocation is tracked independently. That matters because different allocations can have different:
For example, a customer might have:
Paid combines the usable portion of those allocations into the balance you see through the API and in the dashboard.
You can sell usage in advance by attaching credits to a product or plan. When the customer purchases that item, Paid creates a new credit allocation for them.
This is useful when you want customers to:
Recurring plans can include a credit allowance as part of the subscription. For example:
$99/month includes 1,000 API Credits$499/month includes 50,000 MessagesOn each renewal, Paid grants the next allocation for that billing period based on your plan configuration.
You can also add credits outside the normal billing flow, for example:
These create separate allocations, which means they can have their own expiry date and may be consumed before purchased credits depending on their configuration.
Credits can become available at different points depending on how your pricing is configured:
This lets you decide whether customers can use credits immediately or only after payment is collected.
If you activate an order with a startDate in the past, Paid backfills credit grants and invoices for every elapsed period at activation. See Backdated order activation for the full contract.
When Paid receives a usage event tied to a credit-backed pricing model, it deducts credits automatically from the customer’s available allocations.
Paid applies credits in a predictable order:
This helps customers use the credits most at risk of expiring before longer-lived balances.
If usage exceeds the customer’s available balance, Paid can continue recording usage and treat the difference as overage, depending on your pricing setup.
From the customer’s perspective:
This is useful if you do not want product usage to stop the moment a balance is exhausted.
When a customer has already exhausted their credits, the effect of a top-up depends on how you apply it.
If you add a new top-up as a fresh credit grant, the customer gets a new usable balance immediately.
Example:
100 credits20050Result:
50 credits are available to spend right awayThis is the right model for a true top-up purchase or goodwill grant.
If instead you increase an earlier allocation retroactively, the added credits first reduce the existing deficit. In that case, the customer may see little or no newly available balance immediately.
This is the right model when you are correcting or resizing a prior grant rather than giving the customer a fresh top-up.
Use:
Credits can optionally roll forward after a billing period ends.
With rollover enabled:
Example:
1,000 credits200 unused credits roll over30 daysThis gives customers flexibility without letting unused balances accumulate forever.
Use the API to retrieve a customer’s current balance by credit currency.
This is useful for:
The balance response is grouped by credit currency and includes a recipient field. recipient tells you whether the balance applies to:
organization: one shared balance for the whole customer accountseat: a balance that is scoped to an individual seat-based allocationExample response:
In most prepaid setups, organization is the right model because the whole customer account draws from the same pool. Use seat when each licensed seat should receive and consume its own allowance independently.