Events
Get usage by meter
Changed onUse when showing usage for a specific meter (e.g. dashboard or overage check). Supports time range, filters, and grouping by customer or subscription.
post/events/usage/meter
Request
- Base URLhttps://us.api.flexprice.io/v1
- URLhttps://us.api.flexprice.io/v1/events/usage/meter
- AuthAPI key in header x-api-key
Request body
Example request
{
"billing_anchor": "2024-03-05T14:30:45Z",
"customer_id": "customer456",
"end_time": "2024-12-09T00:00:00Z",
"external_customer_id": "user_5",
"meter_id": "123",
"start_time": "2024-11-09T00:00:00Z"
}Response
OK
Changes
- warning
added the new
not_implementedenum value to theresponse property for the response status - warning
added the new
not_implementedenum value to theresponse property for the response status - warning
added the new
not_implementedenum value to theresponse property for the response status
- warning
- breaking
the
request property format changed from no format todate-time - breaking
the
request property format changed from no format todate-time - breaking
the
request property format changed from no format todate-time
- breaking