Report Single Event
Increment the usage counters for a specific feature and customer within the current billing period.
This simplified, single-event usage reporting endpoint is suitable for logging individual events during testing. For production use, refer to the more powerful bulk endpoint designed to handle batches of multiple events.
Authorizations
Body
Structure to report Usage for Usage-based features in a Contract Currently the only reporting strategy supported is additive, meaning that all reported usage units are summed for the billing period. This requires additional care from the reporter to ensure that no double-reporting takes place
Unique identifier of an object. Consists of object class prefix and a UUID
Slug of the feature usage is reported for
Amount of units consumed since the last report
Setting this to true would discard all events with timestamp preceding this event,
and will use this event's units
as zero value for usage in the current billing period
Any metadata you wish to associate with the event Note that both keys and values can only be a string Additionally, please avoid escaping non-ascii symbols
Date for the Usage. When usage period is closed, all usage which timestamp falls between Usage period (Billing period) start and end will be summed.