- a login to the Klarna Open Banking Portal and
- a production access token.
You can create a production access token in the Portal. Add it with the HTTP header
Authorization: Token <YOUR_TOKEN> to your requests. See authentication for more details on how to create access tokens.
If you do not have portal access ask your Klarna contact or send a request via our website.
The production URL for the XS2A API is
If you used the playground URL
api.playground.openbanking.klarna.com change it to the production URL. You don't need the Auth API URLs.
Do you set PSU.ip and PSU.user_agent to the correct client-side values when starting a session?
Do NOT use the server ip or a local ip, e.g.
127.0.0.1. Use the actual client ip and user agent. Read more about starting a session.
Do you want to know which bank the user selected and how we connected to it?
data.bank object in the session once the user has selected a bank.
Do you close the session when you are done with all flows?
Please make sure you do that after you received all the data you need. See how to close a session.
Let us know you go live.
We can help best if we know that you are now on a live system.
You are ready to go! Happy transacting!