Quota components
Dashboard
Create a quota feature from Features, then Create Feature, and choose the Quota type. Feature codes must be created before use. View current balances on each customer’s subscription detail page.Add to quota
Defaults to 1 unit ifcount is omitted.
- TypeScript
- Python
- Go
- Java
- PHP
- cURL
Remove from quota
- TypeScript
- Python
- Go
- Java
- PHP
- cURL
400 insufficient_balance.
Set exact amount
Useset when syncing the balance from your system.
- TypeScript
- Python
- Go
- Java
- PHP
- cURL
Get a quota allowance
- TypeScript
- Python
- Go
- Java
- PHP
- cURL
current is the live balance, included is the plan’s free amount, remaining is what’s left before overage, and billedQuantity is the extra units billed this period. Pass either a Commet ID (cus_xxx) or your external ID as customerId. One active subscription per customer is required.
Get all allowances
Returns an allowance for every quota feature on the customer’s active subscription.- TypeScript
- Python
- Go
- Java
- PHP
- cURL