Billing
Usage Billing State
Read the caller's usage-billing credit state for a product.
get/api/v1/usage_billing/state
Query parameters
productstring
Product whose credit state to read.
Example:automations
Response
Successful Response
Example response
{
"available_units": 4186300,
"available_amount": 8372600,
"currency": "usd",
"usage_allowed": true
}Changes
Changed in 2 of the 10 revisions of this API.3
- ○
added the required property
available_amountto the response with the200statusresponse-required-property-added
- ○
added the required property
currencyto the response with the200statusresponse-required-property-added
- ○
- ○
endpoint added
endpoint-added
- ○