KwitKwit Docs

Usage billing

Meters, event ingestion, credits, and product meter prices

llms.txtMeters, event ingestion, credits, and product meter prices

Usage billing lets you charge based on measured consumption (API calls, storage, seats, etc.).

Meters

Define a meter with a name and aggregation settings. List, update, or deactivate via API.

Ingest events

POST /v1/events/ingest accepts batches of usage events tied to customers and meters.

Customer state

GET /v1/customers/:id/state returns current usage balances and period context for billing.

Credits

POST /v1/customers/:id/meter-credits grants prepaid credits against a meter.

Product meter prices

PATCH /v1/products/:id/meter-prices attaches usage rates to a product for invoicing.

See API: Usage billing.

On this page