Introducing OpenTelemetry for Chargebee SDKs — trace every API call in any telemetry tool.
Chargebeechargebee API

Ingest usage events in batch

Batch

This endpoint ingests a batch of usage events into Chargebee.

Note : - You can ingest 500 events in a batch ingestion.

Sample Request

Sample Result[JSON]

URL Format

POST https://[site].ingest.chargebee.com/api/v2/batch/usage_events

Input Parameters

events
Parameters for events. Multiple events can be passed by specifying unique indices.
pass parameters as events[{<param name> : <value>,<param name> : <value> ...}]

Returns

batch_id
required, string, max chars=36

The unique identifier for the batch of usage events processed.

failed_events
always returned