Usage billing runs
One billed period of one agreement, with the invoice its usage is on.
Endpoints
Guides that use it
Credits and burndown
Sell prepaid credit, add it safely with an idempotency key, read the balance, and see exactly what is used first when usage is billed.
How usage is billed
Billing periods, late usage, usage on the renewal invoice, the separate usage invoice, prepaid credit, billing runs, held bills and test mode.
Quickstart
Set up usage billing for one customer in test mode and send their first usage events, then read usage so far, in short Node.js scripts.
Usage billing API
Every usage billing route on the Comecero API, grouped by resource, with who may call it and a link to its full page in the API reference.
Revoke a usage key POST
Safe to repeat. The usage meter stops taking the key within about a minute. Works while usage billing is turned off. Secret and trusted tokens may call it; a limited token may not (`403`).
List an agreement's billing runs GET
Newest period first. For the next page, set `before` to the oldest `period_start` you got. Secret and trusted tokens may call it; a limited token may not (`403`).