API Reference
Complete reference for the Lucius Billing API endpoints.
Browse the full API reference below. All endpoints require API key authentication.
Usage
Submit and query metered usage events.
How events are rated, including fee_amount and empty-metric contracts: Usage events.
Contracts
Create a test contract from a customer UUID, then list contracts and inspect pricing.
- List contracts
- Create a sample test contract
- Get a contract
- Get active pricing program
- Add a pricing rule
- Update a pricing rule
- Delete a pricing rule
Customers
Create a customer and store your own external_id. Only name is required. registration_number is optional and is not a join key. Guide: Customers.
Invoices
List and inspect generated invoices with line items. Create a draft for a billing period.