Consume credits asynchronously
Consumes credits directly from customer wallets asynchronously. Consumptions are reconciled asynchronously into the credit balances.
Authorizations
Server API Key
Headers
Account ID — optional when authenticating with a user JWT (Bearer token); falls back to the user's first membership. Ignored for API-key auth.
Environment ID — required when authenticating with a user JWT (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the key).
Body
Request body for consuming credits directly from wallets asynchronously
The credit consumptions to report (up to 1000)
1 - 1000 elementsResponse
Confirmation that the credit consumptions were accepted for processing.
Response object
Confirmation that the credit consumptions were accepted for processing
