Skip to main content
POST
Complete Klarna Order

Overview

Completes the checkout process by placing an order with the merchant using the Klarna authorization. This is the final step in the Klarna checkout flow. The endpoint validates the authorization token, places the order, and returns the order confirmation with the merchant’s order number.
If the authorize step was skipped, this endpoint will automatically call authorize before completing the order, as long as the authorization_token is provided.
Klarna has two client flows, selected per merchant. Widget flow: Start returns a client_token, the Klarna Payments SDK produces an authorization_token, and you send it here. Redirect flow: Start returns a url instead; the buyer completes Klarna there and is sent back to the return URL with a redirectResult query parameter, which you send here as transaction_token. Send exactly one of the two.

Authentication

string
required
Device authentication token from Browser Session

Path Parameters

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

Request Body

object
required
Klarna payment attributes

Response

Returns the order confirmation object.
string
Unique identifier for the cart
string
The order number from the merchant platform
string
Status of the cart (e.g., “submitted”)
string
ISO timestamp when the order was submitted
string
Merchant’s display name
string
E-commerce platform identifier (e.g., “magento”, “shopify”)
string
Merchant domain
object
Relevant URLs for the order
array
Array of items in the order
object
Delivery address details
object
Billing address details
object
Selected shipping method with pricing
object
Summary of the Klarna payment
object
Grand total including all costs
object
Subtotal before shipping and tax
object
Shipping cost
object
Tax amount
array
Merchant-imposed fees (e.g. recycle, regulatory), if any
object
Total of all fees
object
Total discount applied

Code Example

Response Example

Error Responses