Interface WalletSubscription

Subscription subdocument on WalletInterface. Most fields are populated by Stripe webhook handlers, not by client code.

interface WalletSubscription {
    stripe_subscription_id?: null | string;
    customer_portal?: string;
    name?: string;
    period?: "monthly" | "annual";
    entitlements?: {
        id: string;
        object?: string;
        active: boolean;
        livemode: boolean;
        lookup_key: string;
        metadata?: { [key: string]: any };
        name?: string;
    }[];
}

Properties

stripe_subscription_id?: null | string
customer_portal?: string
name?: string
period?: "monthly" | "annual"
entitlements?: {
    id: string;
    object?: string;
    active: boolean;
    livemode: boolean;
    lookup_key: string;
    metadata?: { [key: string]: any };
    name?: string;
}[]