At a glance
Before you call
Register your API credentials once when your app starts, as shown in Authentication. Every SDK sample on these pages then gets its client in one line. With cURL, send the access token in anAuthorization header: Authorization: Bearer $ACCESS_TOKEN.
Things to know
- A usage belongs to a metered order line.
charge_item_idis theidof an order line whose item is charged asMETERED. charging_periodis two dates joined by a hyphen. It runs from the order’sorder_start_dateto the day before itsnext_billing_from_date, such as2026-10-01-2026-10-31.- One usage goes under
usage, several underusages. A list sent underusagereturns400. For several, the response lists each one underusages.successorusages.failed. - Updates return a reference, not the usage. Update a usage and Replace a usage return only the usage’s
idandhrefunderusage; retrieve the usage again to see the new values. - The listing pages by cursor. Send
limit, then passpagination.next_cursorascursorwhilepagination.has_moreistrue.