Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
The idempotency key that will be used to ensure the request is only performed once
Path Parameters
The company ID with the prefix 'cmp_'.
Body
application/json
The customer ID to consume credits
The type of the credit to be consumed, can be one of AMOUNT or UNITS
The amount to be consumed
The specific credit ID to consume
The billable item ID whose units are to be consumed
Add any notes attached to the credit consumption
The units to consume
Required range:
x >= 0