Features
Check Feature Access
Use when checking what a customer can access (e.g. feature gating or usage limits). Supports optional filters (feature_ids, subscription_ids).
GET
Documentation Index
Fetch the complete documentation index at: https://mintlify.com/flexprice/flexprice/llms.txt
Use this file to discover all available pages before exploring further.
This endpoint returns customer entitlements which determine feature access. Use it to gate features in your application based on the customer’s active subscriptions and plan entitlements.
Path Parameters
The unique identifier of the customer
Query Parameters
Filter by specific feature IDsCan be provided multiple times:
?feature_ids=feat_1&feature_ids=feat_2Filter by specific subscription IDsCan be provided multiple times:
?subscription_ids=sub_1&subscription_ids=sub_2Filter by feature typesValues:
BOOLEAN, METERED, STATICResponse
ID of the customer
Array of entitlement objects representing the customer’s feature access
Array of active subscriptions for the customer
Feature Gating Patterns
Boolean Feature Gates
Boolean Feature Gates
For simple on/off features, check the
is_enabled flag:Metered Feature with Usage Tracking
Metered Feature with Usage Tracking
For usage-based features, check both access and remaining usage:
Static Feature Values
Static Feature Values
For configuration-based features, use the
static_value:Caching Recommendations
Webhook Integration
Stay synchronized with subscription changes by listening to webhooks:subscription.activated- Refresh entitlements cachesubscription.canceled- Clear entitlements cachesubscription.updated- Refresh if plan changedentitlement.updated- Refresh entitlements cache