Subscription Billing with Built-in Entitlements

Attach features to plans. Check access with one API call. No custom feature-gating logic, no separate entitlements service.

Try Entitlements Free

Feature Gating in 2 Lines

sub = paylio.get_subscription("user_123")

if sub.features.can_export:
    generate_pdf(report)

if sub.features.seats > team.size:
    allow_invite()

Without vs With Paylio Entitlements

Without Paylio

  • Build a features table in your database
  • Write middleware to check plan → feature mapping
  • Handle plan upgrades/downgrades and feature transitions
  • Sync Stripe webhooks to update feature access
  • Maintain a separate entitlements service

With Paylio

  • Define features in the visual plan builder
  • Check access: sub.features.can_export
  • Plan changes update entitlements automatically
  • No webhooks, no database, no custom logic
  • Works out of the box with any SDK

How Entitlements Work

Define in Dashboard

Create features like "can_export", "seats", "api_calls" and attach them to plans.

Query via API

get_subscription() returns the user's active features alongside their plan details.

Gate Features

Check sub.features in your code. Changes in the dashboard take effect instantly.

FAQ

What are subscription entitlements?

Subscription entitlements define what features each plan gives access to. Instead of checking 'is the user on the Pro plan?', you check 'does this user have access to export?' — decoupling feature access from plan names.

How do entitlements work in Paylio?

When you create plans in Paylio's dashboard, you attach feature flags (entitlements) to each plan. When you call get_subscription(user_id), the response includes the user's active features. Check sub.features.can_export in your code — no database lookups needed.

Does Stripe Billing have built-in entitlements?

No. Stripe Billing manages payments but doesn't include feature gating. You need to build your own system to map subscriptions to feature access. Paylio includes entitlements natively — define features per plan and check them via API.

Can I change entitlements without deploying code?

Yes. Entitlements are defined in Paylio's dashboard and served via API. Add or remove features from plans without code changes. Your app reads the latest entitlements on each API call.

Stop Building Entitlements From Scratch

Free up to 100 subscribers. Built-in entitlements on every plan.

Get Started Free