My API credentials don’t work. What should I do?

Troubleshooting:

  • Check that test mode is disabled

  • Try copy-pasting credentials again (check there are no typos or extra spaces)

  • Verify that you’re using the correct integration (Checkout or Klarna as a payment option). Our credentials will only work for the integration you’ve signed up for. Ensure you’re not using playground/test credentials when communicating with our live environment.

If you’re experiencing a “401 Unauthorized” error, it means your Klarna API credentials are incorrect or non-functional:

  • Ensure your application and onboarding is complete.

  • Ensure your integration is complete. 

Depending on your platform, you can check the Integration Guides tab in the Merchant Portal

Check your API credentials have been entered in your Klarna plugin,

  • If you manually entered your API credentials as part of your integration process, ensure the API credentials have all the necessary characters, and  do not contain extra characters or spaces.

  • If you use Klarna API credentials for production/for our test environment, be sure test mode is switched off.

Still haven’t solved the issue? Contact our

for further help.

Contact Merchant support

Do you want to start selling with Klarna?

Already a Klarna merchant?

✓ Sign in to the Merchant Portal to take control of your orders, payouts, bank details, disputes, and more.

✓ Chat with Merchant support for expert help.

Opening hours may vary by region and are shown based on your location.