@suluk/billing - v0.2.0
    Preparing search index...

    Interface SubscriptionStatus

    The user's CURRENT subscription as the UI needs it (plan + status + period end + pending-cancel + the cycle's paid ceiling), or null when there's no live subscription. Live state from Stripe; plans is the app catalog for the price fallback when the live item lacks one.

    interface SubscriptionStatus {
        planId: string | null;
        status: string;
        currentPeriodEnd: number;
        cancelAtPeriodEnd: boolean;
        paidCeilingCents: number;
    }
    Index

    Properties

    planId: string | null
    status: string
    currentPeriodEnd: number
    cancelAtPeriodEnd: boolean
    paidCeilingCents: number