Klarna Web SDK v2
    Preparing search index...

    Interface KlarnaPlacementUpdateOptions

    Options that can be changed on a placement after it has been created.

    gated

    interface KlarnaPlacementUpdateOptions {
        amount?: number;
        enablementCodes?: string[];
        locale?: string;
        theme?: "default" | "light" | "dark" | "outlined";
    }
    Index
    amount?: number

    The value should be in non-negative minor units. Eg: 25 Dollars should be 2500.

    enablementCodes?: string[]

    Enablement codes that apply to this purchase. When a payment program requires an enablement code, Klarna includes that program in the messaging content only if you provide the code. Up to 20 codes. Replaces the codes set for the SDK instance; an empty array means no codes are sent.

    future-release

    locale?: string

    Preferred locale, in IETF BCP 47 format.

    theme?: "default" | "light" | "dark" | "outlined"

    Specifies the theme for the messaging content. This parameter allows customization of the message appearance to match the Partner's site theme.