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

List usage balances for a customer

Returns a paginated list of usage balances for a customer.

Join usage-based billing early access (beta)

Usage-based billing is in early access (beta). Read how it works, then apply to join. We'll reach out if you meet the program requirements.

GET/customers/{customer_id}/usage-balances

Returns a paginated list of usage balances for a customer. Use the query parameters to page through results.

Paddle creates usage balances automatically when a customer subscribes to a price with an allowance, and they're read-only. A customer has one usage balance for each usage balance unit.

During beta, Paddle never blocks usage, so use balance.remaining.total to decide whether to keep providing metered features to a customer. To show how much of their allowance a customer has used, compare balance.used.total with the allowance, which is balance.used.total plus balance.remaining.total. Paddle records usage after the allowance runs out in balance.overage, but doesn't bill for it.

Requires usage_balance.read permission.

Path parameters

customer_idstringrequired
Example: ctm_01grnn4zta5a1mf02jjze7y2ys
Unique Paddle ID for this customer entity, prefixed with ctm_.
Pattern: ^ctm_[a-z\d]{26}$

Query parameters

idarray
Return only the IDs specified. Use a comma-separated list to get multiple entities.
afterstring
Return entities after the specified Paddle ID when working with paginated endpoints. Used in the meta.pagination.next URL in responses for list operations.
per_pageinteger
Default: 50

Set how many entities are returned per page. Paddle returns the maximum number of results if a number greater than the maximum is requested. Check meta.pagination.per_page in the response to see how many were returned.

Default: 50; Maximum: 200.

Max: 200
order_bystring
Default: id[DESC]

Order returned entities by the specified field and direction ([ASC] or [DESC]). For example, ?order_by=id[ASC].

Valid fields for ordering: created_at, id, and updated_at.

Values
  • created_at[ASC]
    Order by created_at, ascending.
  • created_at[DESC]
    Order by created_at, descending.
  • id[ASC]
    Order by id, ascending.
  • id[DESC]
    Order by id, descending.
  • updated_at[ASC]
    Order by updated_at, ascending.
+ Show all values
  • updated_at[DESC]
    Order by updated_at, descending.

Header parameters

Skip-Countstring
Set to true to skip the count query on list operations. When set, meta.pagination.estimated_total returns -1 instead of an exact count.

Response (200)

dataarrayrequired
idstringrequired
Example: ubl_01h9zx4p8q2r5t7v9w1y3z5b7d
Unique Paddle ID for this usage balance entity, prefixed with ubl_.
Pattern: ^ubl_[a-z\d]{26}$
customer_idstringrequired
Example: ctm_01grnn4zta5a1mf02jjze7y2ys
Paddle ID of the customer this usage balance belongs to.
Pattern: ^ctm_[a-z\d]{26}$
usage_balance_unit_idstringrequired
Example: ubu_01kw8ta2j8x5t7q4v9m1kd6phz
Paddle ID of the usage balance unit that this usage balance is for. A customer has one usage balance for each usage balance unit, and usage events draw it down using the meters for that unit.
Pattern: ^ubu_[a-z\d]{26}$
balanceobjectrequired
Amounts for a customer's usage balance in the current billing period. Amounts are in the usage balance unit, not currency. The allowance isn't returned directly. To get it, add used.total and remaining.total.
usedobjectrequired
How much of the allowance the customer has used in the current billing period, broken down by source. Doesn't include overage.
totalstringrequired
Total across all sources, for example "1000" or "1000.5".
Max length: 45
Pattern: ^(0|[1-9][0-9]{0,34})(\.[0-9]{1,9})?$
subscriptionstringrequired
Amount from allowances on the customer's subscriptions.
Max length: 45
Pattern: ^(0|[1-9][0-9]{0,34})(\.[0-9]{1,9})?$
remainingobjectrequired
How much of the allowance is left in the current billing period, broken down by source. Counts down as usage is recorded and stops at "0", after which Paddle records usage in overage. During beta, Paddle never blocks usage, so restrict access to metered features in your app when remaining.total reaches "0".
totalstringrequired
Total across all sources, for example "1000" or "1000.5".
Max length: 45
Pattern: ^(0|[1-9][0-9]{0,34})(\.[0-9]{1,9})?$
subscriptionstringrequired
Amount from allowances on the customer's subscriptions.
Max length: 45
Pattern: ^(0|[1-9][0-9]{0,34})(\.[0-9]{1,9})?$
overageobjectrequired
Usage recorded after remaining reached "0" in the current billing period. Paddle doesn't bill for overage, and clears it when the subscription renews.
totalstringrequired
Total overage recorded in the current billing period, for example "0" or "25.5".
Max length: 45
Pattern: ^(0|[1-9][0-9]{0,34})(\.[0-9]{1,9})?$
started_atstring (date-time)
Example: 2024-10-12T07:20:50.52Z
When this usage balance first went into overage in the current billing period. Not returned when total is "0".
created_atstring (date-time)required
Example: 2024-10-12T07:20:50.52Z
RFC 3339 datetime string of when this entity was created. Set automatically by Paddle.
updated_atstring (date-time)required
Example: 2024-10-13T07:20:50.52Z
RFC 3339 datetime string of when this entity was updated. Set automatically by Paddle.
metaobjectrequired
Information about this response.
request_idstringrequired
Example: b15ec92e-8688-40d4-a04d-f44cbec93355
Unique ID for the request relating to this response. Provide this when contacting Paddle support about a specific request.
paginationobjectrequired
Keys used for working with paginated results.
per_pageintegerrequired
Number of entities per page for this response. May differ from the number requested if the requested number is greater than the maximum.
nextstring (uri)required
URL containing the query parameters of the original request, along with the after parameter that marks the starting point of the next page. Always returned, even if has_more is false.
has_morebooleanrequired
Whether this response has another page.
estimated_totalinteger
Example: 999

Estimated number of entities for this response.

For datasets with 100,000 or fewer matches, returns the exact count. For datasets with more than 100,000 matches, returns 100001 to indicate that more than 100,000 entities match. Returns -1 when counting is skipped or couldn't be calculated.

Use has_more and next to page through all results rather than relying on estimated_total for an exact count.

Response
{
"data": [
{
"id": "ubl_01h9zx4p8q2r5t7v9w1y3z5b7d",
"customer_id": "ctm_01gw9m680k848184fpttwr0b7z",
"usage_balance_unit_id": "ubu_01kw8ta2j8x5t7q4v9m1kd6phz",
"balance": {
"used": {
"total": "3500",
"subscription": "3500"
},
"remaining": {
"total": "6500",
"subscription": "6500"
},
"overage": {
"total": "0"
}
},
"created_at": "2026-09-02T10:00:00Z",
"updated_at": "2026-09-15T10:15:00Z"
},
{
"id": "ubl_01h9zx4p8q2r5t7v9w1y3z5b7e",
"customer_id": "ctm_01gw9m680k848184fpttwr0b7z",
"usage_balance_unit_id": "ubu_01kw8tc7p4z8d5s2x6n3lf8rkb",
"balance": {
"used": {
"total": "100000",
"subscription": "100000"
},
"remaining": {
"total": "0",
"subscription": "0"
},
"overage": {
"total": "2500",
"started_at": "2026-09-12T14:32:07Z"
}
},
"created_at": "2026-09-02T10:00:00Z",
"updated_at": "2026-09-15T08:00:00Z"
}
],
"meta": {
"request_id": "bb093d50-ddb5-401a-a5ba-034b187b396e",
"pagination": {
"per_page": 50,
"next": "https://api.paddle.com/customers/ctm_01gw9m680k848184fpttwr0b7z/usage-balances?after=ubl_01h9zx4p8q2r5t7v9w1y3z5b7e",
"has_more": false,
"estimated_total": 2
}
}
}

Was this page helpful?