Easily Integrate
Klarna's Payments API using Konfig's TypeScript SDK
Growing API Companies trust Konfig's SDKs to onboard developers to their API.





First, instantiate the SDK
It only takes a few lines of code.
Then, send your first request
We made it really easy.
Enjoy a buttery smooth developer experience with 6 SDK methods
Parameter
Response
We were unable to create a session with the provided data. Some field constraint was violated.
You were not authorized to execute this operation.
Endpoint
Parameter
session_id
Response
You were not authorized to execute this operation.
The session does not exist.
Endpoint
Parameter
session_id
Response
The session was updated successfully.
We were unable to update the session with the provided data. Some field constraint was violated.
You were not authorized to execute this operation.
The session does not exist.
Endpoint
Parameter
Response
The authorization was cancelled successfully.
You were not authorized to execute this operation.
The authorization does not exist.
Endpoint
Parameter
Response
We were unable to create an order with the provided data. Some field constraint was violated.
You were not authorized to execute this operation.
The authorization does not exist.
The data in the request does not match the session for the authorization.
Endpoint
Parameter
Response
You were not authorized to execute this operation.
The authorization does not exist.
The data in the request does not match the session for the authorization.
Endpoint
How Konfig Works
Konfig collects APIs and automatically generates SDKs so you can focus on building your application.
Konfig maintains the highest quality collection of OpenAPI Specifications on the internet in a GitHub repository
We pull OpenAPI Specifications from public sources, fix any errors, and make sure they pass our lint rules. We continually make sure the repository is up-to-date and collect up-time and response time metrics for every API.

Generates AI-Augmented SDKs from openapi-examples
Our SDK generator is trusted by growing API companies and goes through a rigorous testing process to ensure the generated SDKs are high-quality and easy to use.

Publishes to standard package managers
We publish to standard package managers like npm, PyPI, and Maven so you can easily integrate the SDK into your application.

About Klarna
Klarna is a Swedish bank that provides online financial services such as payment solutions for online storefronts. It offers customers the ability to buy now and pay later, as well as other financing options. Klarna has gained popularity for its smooth checkout experience and customer-friendly payment options.
