lomi. logo

Metered revenue

Bill for what customers actually use

Define usage-based products, create meters, enroll customers, and send usage events as consumption happens. lomi. aggregates usage per billing period so you can invoice or reconcile without building your own metering stack.

Typical flow

Usage-based products and prices

Create products with product_type usage_based and recurring prices in the dashboard or via API.

Meters and enrollment

Define billable metric codes, then enroll each customer with a usage subscription before ingesting events.

Record usage events

POST usage with stable transaction IDs for idempotency; processing is asynchronous (202 Accepted).

Balances and periods

Read meter balances and subscription usage for the current period to show limits, overages, or invoices in your product.

Recurring checkout subscriptions

Fixed-interval plans sold through checkout are covered by Subscriptions. Usage billing is for consumption that varies each period.

See pricing