Type Alias KlarnaConfiguration

KlarnaConfiguration: {
    accountId?: string;
    clientId: string;
    interoperabilityToken?: string;
    locale?: string;
}

Type declaration

  • OptionalaccountId?: string

    When transacting on-behalf of another account then the partner account ID is specified using the accountId property.

  • clientId: string

    The client id of the partner account that is integrating the Klarna.js SDK.

    If the integration is done by a PSP/DP then this must be set to the distribution partners own client id.

  • OptionalinteroperabilityToken?: string

    The interoperabilityToken is shared by the Partner to their Acquiring Partner.

    It is used to resume the Klarna customer journey in the Acquiring Partner's domain.

  • Optionallocale?: string

    Set the default locale for the SDK. See ISO 3166-1 alpha-2