ChargebeeAPI

Ingest usage events in batch

Batch
Try in API Explorer

This endpoint ingests a batch of usage events into Chargebee.

Note : - You can ingest 500 events in a batch ingestion, each 1 KB in size. This means a single API request will efficiently handle 500 KB of data.

  • Limit: 10,000 events per minute.

Sample Request

URL Format

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

Input Parameters

events
optional, string

Parameters for batch usage events

Returns

batch_idrequired, string, max chars=36

The unique identifier for the batch of usage events processed.

failed_eventsrequired, jsonarray

A detailed list of events that failed during the batch ingestion process.