EP-CORE-BILLING: Subscription & Billing¶
Scope¶
Plan visibility, self-serve upgrade/downgrade, module activation/deactivation governance, entitlement checks.
Stories¶
- US-121 View current subscription & change plan
- US-122 Manage add-on modules activation/deactivation
Dependencies¶
User & tenant baseline (EP-CORE-USER). Architecture foundations (EP-CORE-ARCH).
NFR Touchpoints¶
- Security: enforce module-level authorization via entitlement middleware
- Performance: plan lookup < 150ms p95
- Observability: track upgrade funnel events & module activation audits
Success Metrics¶
- Upgrade conversion from trial/basic > 25%
- Module activation success (no support intervention) > 95%
Risks & Mitigations¶
| Risk | Mitigation |
|---|---|
| Complex pricing logic early | MVP flat plans; abstract pricing engine for later |
| Entitlement drift causing hidden features | Central entitlement service & nightly reconciliation job |
Rollout Strategy¶
Phase 1: Static plan tiers & manual module gating. Phase 2: Self-serve module toggles + automated entitlement propagation. Phase 3: Usage-based metrics for future dynamic pricing.
Version: 1.0