Klarna Web SDK v2
    Preparing search index...

    Interface BillingPlan

    interface BillingPlan {
        billingAmount: string;
        currency?: string;
        from: string;
        interval: "DAY" | "WEEK" | "MONTH" | "YEAR";
        intervalFrequency: number;
    }
    Index
    billingAmount: string

    The charge amount for the billing plan in minor-units (e.g., cents).

    This amount will be displayed to the customer showing what they'll pay in the upcoming billing cycle. Must be a positive value.

    billingAmount: "2999"  // $29.99 in cents
    billingAmount: "1500" // $15.00 in cents
    currency?: string

    Provide the currency code in ISO 4217 format (3-letter code).

    from: string

    The date when the customer will be charged for this billing plan.

    Must be a future date in YYYY-MM-DD format. Klarna will initiate renewal communications 10 days before this date to ensure payment method availability.

    from: "2025-12-15"  // December 15, 2025
    from: "2026-01-01" // January 1, 2026
    interval: "DAY" | "WEEK" | "MONTH" | "YEAR"

    Define the interval of the subscription billing cycle.

    Defines how frequently the customer will be charged (DAY, WEEK, MONTH, YEAR).

    intervalFrequency: number

    How often the billing occurs within the specified interval.

    Works together with interval to define the billing frequency. For example: interval "WEEK" + intervalFrequency 2 = every 2 weeks.

    // Weekly billing
    { interval: "WEEK", intervalFrequency: 1 }

    // Every 2 months
    { interval: "MONTH", intervalFrequency: 2 }

    // Twice per month (bi-weekly)
    { interval: "WEEK", intervalFrequency: 2 }

    1