Ingest billable event
Billable events
Ingest billable event
Ingest a new billable event. This endpoint is idempotent, an event with the same id will be updated if it already exists.
POST
Ingest billable event
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Whether to simulate prices for the event. Will be received in webhooks.
Example:
true
Body
application/json
Event 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.
Minimum string length:
1Example:
"api_call"
Payload of the event containing an ID and any additional metadata.
Example:
{
"id": "D32NAA8",
"durationInMs": 32,
"isVerified": true
}Response
201
Event ingested

