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

Sync usages

Idempotency Supported

Updates the quantity for metered line_items of an invoice to reflect the latest usage data. Note: This operation is done automatically while closing the invoice.

Sample Request

Sample Result[JSON]

URL Format

POST https://[site].chargebee.com/api/v2/invoices/{invoice-id}/sync_usages

Returns

Invoice object
Resource object representing invoice