How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Klarna Payments API

The Payments API from Klarna — 5 operation(s) for payments.

Klarna Payments API is one of 22 APIs that Klarna publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Payments. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 6 operations across 5 paths, and defines 22 schemas. It is described by OpenAPI 3.2.0, at version 1.1.

Requests are made against a single base URL, https://api.klarna.com.

6 operations 5 paths 22 schemas 1 DELETE1 GET4 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.1
Base URL
https://api.klarna.com
License
Klarna Bank AB
Resource Areas
1

Paths & Operations 6

Across 5 paths, the API surfaces 6 operations — 1 DELETE, 1 GET, 4 POST. Each is listed below with its method, path, parameters, and response codes.

Payments 6
POST
/payments/v1/sessions
Create a session
createCreditSession body → 200400403
POST
/payments/v1/sessions/{session_id}
Update a session
updateCreditSession 1 param body → 204400403404
GET
/payments/v1/sessions/{session_id}
Get details about a session
readCreditSession 1 param → 200403404
DELETE
/payments/v1/authorizations/{authorizationToken}
Cancel an authorization
cancelAuthorization 1 param → 204403404
POST
/payments/v1/authorizations/{authorizationToken}/order
Create an order
createOrder 1 param body → 200400403404409
POST
/payments/v1/authorizations/{authorizationToken}/customer-token
Generate a customer token
purchaseToken 1 param body → 200400403404409

Schemas 22

The contract defines 22 schemas that model the data the API accepts and returns. The most detailed are session_read (24 properties), session (24 properties), session_create (24 properties), create_order_request (18 properties). Each schema is shown below with its type and property counts.

payment_method_category
object
3 properties
ErrorV2
object
3 properties
attachment
object
2 properties 2 required
options
object
5 properties
address
object
13 properties
merchant_session
object
3 properties 2 required
customer_read_create_token
object
2 properties
authorized_payment_method
object
3 properties 1 required
customer_token_creation_response
object
5 properties 1 required
order
object
4 properties 1 required
product_identifiers
object
6 properties
customer_read
object
7 properties
subscription
object
3 properties 3 required
create_order_request
object
18 properties 4 required
order_line
object
15 properties 4 required
customer_token_creation_request
object
7 properties 5 required
customer
object
9 properties
session_create
object
24 properties 4 required
merchant_urls
object
4 properties
session
object
24 properties
session_read
object
24 properties
asset_urls
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

klarna-payments-api-openapi.yml Raw ↑

Other APIs Klarna publishes across the network.

Klarna Checkout API
Klarna Order Management API
Klarna Customer Token API
Klarna Settlements API
Klarna Push Notifications
Klarna Captures API
Klarna Checkout API
Klarna Customer Token API
Klarna Hpp API
Klarna Merchant Urls.address Update API
Klarna Merchant Urls.country Change API
Klarna Merchant Urls.shipping Option Update API
Where this information came from

This is an independent, third-party profile of Klarna Payments API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.