Skip to main content

BillingProrationDiscount

Important

Billing regularly introduces new features and UI changes to Clerk's components. If you'd like to remain on a specific version of Clerk's components or SDK, you can follow the steps in the pinning documentation.

Details about a prorated discount applied when adding a seat mid-cycle. The discount covers the part of the billing period that has already passed, so the payer is only charged for the time remaining in the cycle.

Properties

  • Name
    amount
    Type
    BillingMoneyAmount
    Description

    The amount of the proration discount.

  • Name
    cycleDaysPassed
    Type
    number
    Description

    The number of days that have passed in the billing cycle for which this proration discount represents.

  • Name
    cycleDaysTotal
    Type
    number
    Description

    The total number of days in the billing cycle.

  • Name
    cyclePassedPercent
    Type
    number
    Description

    The percentage of the billing cycle that has passed.

Feedback

What did you think of this content?

Last updated on