Ingest billable event
Événements facturables
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
Autorisations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Paramètres de requête
Whether to simulate prices for the event. Will be received in webhooks.
Exemple:
true
Corps
application/json
Event payload
Hyperline ID or external ID of the existing customer.
Exemple:
"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:
1Exemple:
"api_call"
Payload of the event containing an ID and any additional metadata.
Exemple:
{
"id": "D32NAA8",
"durationInMs": 32,
"isVerified": true
}Réponse
201
Event ingested

