Skip to main content
Docs

BillingPlanResource

Warning

Billing is currently in Beta and its APIs are experimental and may undergo breaking changes. To mitigate potential disruptions, we recommend pinning your SDK and clerk-js package versions.

The BillingPlanResource type represents a subscription plan with its details.

Properties

  • Name
    annualFee
    Type
    BillingMoneyAmount
    Description

    The annual price of the plan.

  • Name
    annualMonthlyFee
    Type
    BillingMoneyAmount
    Description

    The effective monthly price when billed annually.

  • Name
    avatarUrl
    Type
    string
    Description

    The URL of the plan's avatar image.

  • Name
    description
    Type
    string
    Description

    A short description of what the plan offers.

  • Name
    features
    Type
    FeatureResource[]
    Description

    The features the plan offers.

  • Name
    fee
    Type
    BillingMoneyAmount
    Description

    The monthly price of the plan.

  • Name
    forPayerType
    Type
    "user" | "org"
    Description

    Specifies the subscriber type this plan is designed for. Each plan is exclusively created for either individual users or organizations, and cannot be used interchangeably.

  • Name
    freeTrialDays
    Type
    null | number
    Description

    The number of days of the free trial for the plan. null if the plan does not have a free trial.

  • Name
    freeTrialEnabled
    Type
    boolean
    Description

    Whether the plan has a free trial.

  • Name
    hasBaseFee
    Type
    boolean
    Description

    Whether the plan has a base fee.

  • Name
    id
    Type
    string
    Description

    The unique identifier for the plan.

  • Name
    isDefault
    Type
    boolean
    Description

    Whether the plan is the default plan.

  • Name
    isRecurring
    Type
    boolean
    Description

    Whether the plan is recurring.

  • Name
    name
    Type
    string
    Description

    The name of the plan.

  • Name
    pathRoot
    Type
    string
    Description

    The root path of the resource.

  • Name
    publiclyVisible
    Type
    boolean
    Description

    Whether the plan is visible to the public.

  • Name
    slug
    Type
    string
    Description

    The URL-friendly identifier of the plan.

Feedback

What did you think of this content?

Last updated on