Skip to main content
Business: SSO, audit log and priority support. Not on Free or Pro.
Put premium features like SSO and an audit log on the plans that pay for them, and gate access with one check. A boolean feature is on for every plan that lists it, with no count to track and no cost per use.

The catalog

What check returns

Check whenever you need to know, such as before showing the SSO settings page:
A Business customer gets:
Response
A Pro customer gets allowed: false, your cue to show the upgrade, with reason: "feature_not_in_plan" and plan: { "id": "pro", "name": "Pro", "status": "active" }, and a customer with no plan gets reason: "no_plan".

Rules

  • A boolean item takes featureId alone, with no included or unlimited.
  • Tracking is optional. A track on a boolean feature records a usage event and charges nothing, so track only if you want usage history. It takes no quantity.
  • Follows the plan. The flag is on for as long as the customer’s current plan lists it. On an upgrade it turns on with the new plan; on a downgrade or cancellation it turns off when the plan ends.
  • Check without reserve. A boolean feature answers check directly; reserve on it returns 400 reserve_not_supported.
  • Listing it is a new version. Adding or removing a boolean item publishes a new plan version, so current subscribers keep the features they bought.