Skip to main content
POST
Start Klarna Checkout

Overview

Initiates a Klarna checkout by creating a payment session with Klarna. Returns the cart enriched with a payment_method object containing the client_token, session_id, and available payment_method_categories needed to render the Klarna Payments widget on the client.

Authentication

string
required
Device authentication token from Browser Session

Path Parameters

string
required
The merchant domain (e.g., “merchant.example.com”)

Request Body

object
Optional gateway-specific attributes. Can be an empty object or omitted entirely for standard Klarna checkout.

Response

Returns the cart enriched with the Klarna payment method details.
string
Unique identifier for the cart
array
Array of items in the cart
object
Klarna payment method details
object
Delivery address details
object
Selected shipping method with pricing
object
Grand total including all costs
object
Subtotal before shipping and tax
object
Tax amount

Code Example

Response Example

Error Responses