Klarna Checkout API

The Checkout API from Klarna — 3 operation(s) for checkout.

Business capability
Payment Initiation Management BC-1340.10

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /checkout/v3/orders Create a checkout order · Create an order #
Ask an LLM
“How do I start a new Klarna Checkout order and get the checkout snippet to embed?”
“What do I need to send to open a checkout, like country, currency, locale and cart lines?”
Tell an agent
Create a checkout order in {purchase_currency} for {purchase_country} totaling {order_amount}.
Start a new checkout for cart {order_lines} with locale {locale}, amount {order_amount} and tax {order_tax_amount}.
POST /checkout/v3/orders/{order_id} Update an in-progress checkout order · Update an order #
Ask an LLM
“Can I change the cart of a checkout order before the customer completes it?”
“Why can a checkout order only be updated while it is checkout_incomplete?”
Tell an agent
Update checkout order {order_id} with new cart lines {order_lines} and amount {order_amount}.
Change the shipping options on incomplete checkout order {order_id} to {shipping_options}.
GET /checkout/v3/orders/{order_id} Get a checkout order · Get order details #
Ask an LLM
“How can I read back a checkout order while the customer is still checking out?”
“Can I fetch the checkout snippet and status of an existing checkout order?”
Tell an agent
Get checkout order {order_id}.
Show the current checkout status and cart for checkout order {order_id}.
POST /checkout/v3/orders/{order_id}/abort Abort a checkout order · Abort an order #
Ask an LLM
“How do I abandon a checkout order the customer will never finish?”
“Can I mark an unfinished checkout as aborted?”
Tell an agent destructive · confirm first
Abort checkout order {order_id}.
Mark checkout order {order_id} as aborted.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/klarna:klarna-checkout-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

klarna-checkout-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: The checkout API is used to create a checkout with Klarna and update the checkout order during the purchase. As soon as the purchase is completed the order should be read and handled using the Order Management API. Read more on Klarna checkout.
  version: 1.0.0
  title: V3 Checkout API
servers:
- url: https://api.klarna.com
tags:


# --- truncated at 32 KB (46 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/klarna/refs/heads/main/openapi/klarna-checkout-api-openapi.yml