Billable events
Create billable events
Create several billable events in batch (limited to max 5000 events per request).
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json · object[]
Events payload
Hyperline ID or external ID of the existing customer.
Example:
"cus_CrqwefTRWBWRT"
Type corresponding to the event. When creating a dynamic product, this type will be used to map the related events to specific prices.
Example:
"api_call"
UTC 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.
Example:
"2024-12-20T16:04:11Z"
Payload of the event containing an ID and any additional metadata.
Example:
{
"id": "D32NAA8",
"durationInMs": 32,
"isVerified": true
}
Was this page helpful?