The acquiring configuration for payment account.
The token to resume the session.
"Sets a Klarna Network Session token to resume a previously established session.
Use this when the customer navigates between pages (e.g. from cart to checkout)
and you need to restore the SDK session without requiring the customer to
re-authenticate. The token is typically obtained from your server after the
initial payment flow or from the onComplete callback."
The partner account ID to use for subsequent operations.
"Enables integrators to dynamically specify the Partner'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 partner integration, this field can be omitted.
Call this before initiating a payment when the partner account differs from the one used during SDK initialization."
The SDK token to resume a session.
"Enables integrators to dynamically specify an SDK token that can resume a session.
Migration: Replace calls to setSdkToken with {@docs-portal-link Config.setKlarnaNetworkSessionToken}.
The token value is the same — only the method name has changed."
// Deprecated — migrate to setKlarnaNetworkSessionToken
await klarna.Config.setSdkToken("eyJhbGciOi...");
// New equivalent
await klarna.Config.setKlarnaNetworkSessionToken("eyJhbGciOi...");
Config package. Runtime configuration for integration metadata and session.
Package Interface