Helius SDK - v3.0.0
    Preparing search index...

    Interface UpgradePlanAndPayOptions

    interface UpgradePlanAndPayOptions {
        couponCode?: string;
        email?: string;
        firstName?: string;
        jwt: string;
        lastName?: string;
        paymentHost?: string;
        period?: "monthly" | "yearly";
        plan: SupportedPlan;
        projectId: string;
        secretKey: Uint8Array;
    }

    Hierarchy (View Summary)

    Index

    Properties

    couponCode?: string
    email?: string

    Contact info — optional for upgrades; the backend auto-fetches from the project's existing Stripe customer. Pass them only on the first upgrade for a wallet that doesn't yet have a Stripe customer record.

    firstName?: string
    jwt: string
    lastName?: string
    paymentHost?: string
    period?: "monthly" | "yearly"
    projectId: string

    Project UUID being upgraded.

    secretKey: Uint8Array