Klarna Web SDK v2
    Preparing search index...

    Interface PaymentPresentationData

    interface PaymentPresentationData {
        amount?: number;
        currency: string;
        intent?: "PAY" | "SUBSCRIBE" | "ADD_TO_WALLET";
        locale?: string;
        subscriptionBillingInterval?: "DAY" | "WEEK" | "MONTH" | "YEAR";
        subscriptionBillingIntervalFrequency?: number;
    }
    Index
    amount?: number
    currency: string
    intent?: "PAY" | "SUBSCRIBE" | "ADD_TO_WALLET"
    locale?: string

    Sets the language and region (e.g., en-US).

    If you don’t set this, it will automatically use the value chosen when you first set up the Web SDK. If that’s not available, it will use your browser’s settings instead.

    en-US

    subscriptionBillingInterval?: "DAY" | "WEEK" | "MONTH" | "YEAR"

    Billing plan interval. The interval of which the customer is receiving goods or services.

    subscriptionBillingInterval: "DAY"    // Daily billing
    subscriptionBillingInterval: "WEEK" // Weekly billing
    subscriptionBillingInterval: "MONTH" // Monthly billing
    subscriptionBillingInterval: "YEAR" // Yearly billing
    subscriptionBillingIntervalFrequency?: number

    Defines the billing plan interval frequency (integer >= 1).

    Controls how often billing occurs within the specified interval type.

    // Weekly billing (once per week)
    subscriptionBillingIntervalFrequency: 1

    // Every second month
    subscriptionBillingIntervalFrequency: 2

    // Twice per month (bi-weekly)
    subscriptionBillingIntervalFrequency: 2

    1