Credits
Consume Credits
Consume credits with given parameters
POST
Consume Credits
Documentation Index
Fetch the complete documentation index at: https://docs.getmeasure.com/llms.txt
Use this file to discover all available pages before exploring further.
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 specific subscription to consume credits from
The units to consume
Required range:
x >= 0Consume Credits

