The entitlement flow
- A customer signs up for a published plan version.
- Unprice derives the customer’s entitlements from that plan version.
- Your app calls
access.checkorusage.consumebefore paid work runs. - Accepted usage keeps evidence for usage, spend, wallet, and invoice explanation.
Features vs. entitlements
Features are authored by your team. Entitlements are the customer-specific rights and limits created
from a published plan version.
Check access
Useaccess.check when you want a read-only decision.
Consume usage
Useusage.consume when the request path needs a synchronous decision and the usage amount is
known.
usage.consume is an enforcing operation. Use Choose the runtime call
to decide when to use access.check, usage.record, usage.consume, or budgeted runs.
Why this matters
Your app should not branch on plan names such asPro or Enterprise. It should check stable
feature slugs and let Unprice resolve the customer’s plan version, entitlement, usage, budget, and
wallet state.