Usage
Read usage totals and the events behind them.
Endpoints
Guides that use it
Follow usage
See usage this period so far, the shopper's own usage, the events behind a bill, and webhook alerts when a customer nears their allowance.
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.
Usage with subscriptions
Sell a plan with a monthly fee and usage on top. How usage follows the subscription through renewals, plan changes, cancellations and failed payments.
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.
Get a billing run GET
One billed period, with its invoice lines. URL-encode the id. Secret and trusted tokens may call it; a limited token may not (`403`).
Read counted usage GET
What the usage meter has counted for one customer and metric, by hour, before it is billed. `from` and `to` are moved to the start of their hour. Kept for 5 minutes. Secret and trusted tokens may call it; a limited token may not (`403`).