credits

Reserve credits

post/billing/credits/reservations

Request body

amountnumber double required

Credits to hold for the operation. The full amount must be available; a partial hold is never taken

company_idstring required
credit_type_idstring required
expires_atstring date-time nullable

When the hold lapses if no track event settles it; defaults to one minute from now and may be at most one hour out. The unspent hold is refunded on expiry

idempotency_keystring nullable

A caller-chosen key for safe retries: a second request with the same key returns the original reservation instead of taking another hold

Response

Created

paramsobject required

Input parameters

Changes

Changed in 2 of the 171 revisions of this API.11