Klarna Web SDK v2
    Preparing search index...

    Interface KlarnaConfig

    interface KlarnaConfig {
        setPartnerAccountId(partnerAccountId: string): Promise<void>;
        setSdkToken(sdkToken: string): Promise<void>;
    }
    Index

    Methods

    • Enables integrators to dynamically specify the merchant's account ID at runtime. This field is only used when the integrator is an Acquiring Partner or has a complex partner account setup. For direct integration or merchant integration, this field can be omitted.

      Parameters

      • partnerAccountId: string

      Returns Promise<void>

    • Enables integrators to dynamically specify a sdkToken that can resume a session.

      Parameters

      • sdkToken: string

      Returns Promise<void>