Billable events
Create billable events
Create several billable events in batch (limited to max 5000 events per request).
POST
/
v1
/
events
/
batch
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json · object[]
customer_id
string
requiredHyperline ID or external ID of the existing customer.
event_type
string
requiredType corresponding to the event. When creating a dynamic product, this type will be used to map the related events to specific prices.
timestamp
string
requiredUTC date time string in the ISO 8601 format, or milliseconds since the epoch. The event timestamp is used to retrieve the events related to a specific billing period.
record
object
requiredPayload of the event containing an ID and any additional metadata.
Response
201 - application/json
events_created
object[]
requiredevents_failed
object[]
requiredWas this page helpful?