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.
/usage-balance-unitsCreates a new usage balance unit.
Usage balance units describe what customers hold a balance of. Add them to the allowances on a recurring price to grant them to customers each billing period, then create meters to draw them down.
If successful, your response includes a copy of the new usage balance unit entity.
usage_balance_unit.write permission.Request body
API calls. Typically short and describes what customers hold a balance of.calls or credits. Different from a meter's unit_name, which is the singular name of what the meter measures.Response (201)
ubu_01kw8ta2j8x5t7q4v9m1kd6phzubu_.^ubu_[a-z\d]{26}$API calls. Typically short and describes what customers hold a balance of.calls or credits. Different from a meter's unit_name, which is the singular name of what the meter measures.activeEntity is active and can be used.archivedEntity is archived, so can't be used.
2024-10-12T07:20:50.52Z2024-10-13T07:20:50.52Zb15ec92e-8688-40d4-a04d-f44cbec93355{ "name": "API calls", "unit_name": "calls"}{ "data": { "id": "ubu_01kw8ta2j8x5t7q4v9m1kd6phz", "name": "API calls", "unit_name": "calls", "status": "active", "created_at": "2026-09-01T09:00:00.000Z", "updated_at": "2026-09-01T09:00:00.000Z" }, "meta": { "request_id": "1681f87f-9c36-4557-a1da-bbb622afa0cc" }}