Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Klarna Customer Token API

The Customer Token API from Klarna — 3 operation(s) for customer token.

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

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

This API exposes 3 operations across 3 paths, and defines 14 schemas. It is described by OpenAPI 3.0.0, at version 1.1.

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

3 operations 3 paths 14 schemas 1 GET1 PATCH1 POST

Metadata

The identity and technical contract details declared by the specification.

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

Paths & Operations 3

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

Customer Token 3
GET
/customer-token/v1/tokens/{customerToken}
Get customer token
readCustomerToken 1 param → 200403404
POST
/customer-token/v1/tokens/{customerToken}/order
Create an order with a customer token
createOrder 2 params body → 200400403404409
PATCH
/customer-token/v1/tokens/{customerToken}/status
Update customer token status
patchCustomerToken 1 param body → 202400403404

Schemas 14

The contract defines 14 schemas that model the data the API accepts and returns. The most detailed are order_line (15 properties), address (13 properties), customer_token_order (12 properties), ErrorV2 (6 properties). Each schema is shown below with its type and property counts.

attachment
object
2 properties 2 required
direct_debit_information
object
1 property 1 required
order_line
object
15 properties 4 required
order
object
4 properties 3 required
ErrorV2
object
6 properties
customer_token_order
object
12 properties 4 required
customer_token_status_update_request
object
1 property 1 required
product_identifiers
object
6 properties
authorized_payment_method
object
3 properties 1 required
card_information
object
3 properties 3 required
merchant_urls
object
2 properties 1 required
subscription
object
3 properties 3 required
address
object
13 properties
customer_token
object
4 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

klarna-customer-token-api-openapi.yml Raw ↑

Other APIs Klarna publishes across the network.

Klarna Payments API
Klarna Checkout API
Klarna Order Management API
Klarna Settlements API
Klarna Push Notifications
Klarna Captures API
Klarna Checkout API
Klarna Hpp API
Klarna Merchant Urls.address Update API
Klarna Merchant Urls.country Change API
Klarna Merchant Urls.shipping Option Update API
Klarna Merchant Urls.validation API