Consume credits with given parameters
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The idempotency key that will be used to ensure the request is only performed once
The company ID with the prefix 'cmp_'.
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
x >= 0