RecurringStack Subscription Usage API
The SubscriptionUsage API provides a complete set of services for recording, retrieving, and managing usage events for components attached to a subscription. These endpoints support both metered and prepaid billing models, allowing you to track consumption in real time or in aggregated batches depending on your system’s needs. With SubscriptionUsage, you can create new usage events, retrieve historical usage for reporting or analytics, and delete events when corrections are required. These capabilities make it easy to implement usage‑based billing, generate consumption‑driven invoices, and power charts, dashboards, and customer‑facing usage summaries. Key capabilities include: Create usage events for metered or prepaid components List usage events for auditing, reporting, or analytics Retrieve daily usage totals for charts and consumption insights Delete usage events to correct over‑reported or invalid usage Support high‑frequency usage systems through batching and aggregation This API set is designed to give you precise control over how usage is captured and billed, ensuring accurate consumption tracking across all subscription components.