Authentication

All requests made to the XS2A API have to be authenticated by a Token that has to be provided in the Authorization header prefixed with Token.

NOTE: The Auth API does not require an Authorization header.

HTTP Header example

Authorization: Token <validToken>

A token can be generated in the Klarna Open Banking Portal in the Access Tokens menu.

How to request an access token

By clicking the New Token button a token will be generated and can be used right away.

Access Token

Access token example

NOTE: The token is only visible once after creation. Store the generated token.

NOTE: A token is valid for 180 days. Make sure to replace any token before it expires with a new token.

results matching ""

    No results matching ""