Skip to main content

ProPlanDetails

type ProPlanDetails = {
currentPlanStatus: "Active" | "Downgraded" | "Cancelled" | "NeverSubscribed";
downgradeAt: string | null;
priceList: {
billingCycle: "monthly" | "yearly";
prices: {
currency: string;
taxBehavior: "inclusive" | "exclusive" | "unspecified";
unitAmount: number;
}[];
}[];
};

Pro plan and billing details.

Type Declaration

NameType
currentPlanStatus"Active" | "Downgraded" | "Cancelled" | "NeverSubscribed"
downgradeAtstring | null
priceList{ billingCycle: "monthly" | "yearly"; prices: { currency: string; taxBehavior: "inclusive" | "exclusive" | "unspecified"; unitAmount: number; }[]; }[]