Entitlements
Check feature access and retrieve entitlement balances
Entitlements represent what a customer is allowed to access based on their active subscriptions. Use these endpoints for real-time feature gating and quota checks in your application.
Endpoints
Key concepts
- Entitlement check: The check endpoint returns a single
entitled: true/falseresult for a specific feature. Use this for real-time access control (e.g., before allowing an API call or file upload). - Requested quantity: Optionally pass
requested_quantityto check if the customer has at least N units remaining. Defaults to 1. - Unlimited entitlements: Some features may be unlimited (
is_unlimited: true). For these,remainingisnulland the customer is always entitled. - Deduplication: When a customer has the same feature from multiple subscriptions, the highest limit (or unlimited) is returned.
- Reset period: The
reset_atfield indicates when the entitlement counter resets (typically the next billing period start).