Skip to main content
Custom features let you define plan-specific values that don’t fit neatly into on/off flags or metered usage. They’re perfect for expressing numeric or text limits that your app reads and enforces.

Use Cases

  • Seat limits: “Max 5 team members”
  • Retention: “90-day data retention”
  • Storage quotas: “10 GB storage”
  • Support tier: “Priority support”
  • Custom rate limits: “500 requests/minute”

Creating a Custom Feature

Attaching with a Value

When attaching a custom feature to a plan, set static_value to the plan-specific entitlement:

Reading the Value in Your App

Fetch the customer’s subscription features to read the static_value, then enforce it in your application logic:
Custom features store static_value as a string. Parse it to the appropriate type (integer, float, boolean) in your application.