Express Checkout (Klarna)
Complete Klarna Order
Finalizes the order using the Klarna authorization token
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.Authentication
Device authentication token from Browser Session
Path Parameters
The merchant domain (e.g., “merchant.example.com”)
Request Body
Klarna payment attributes
Response
Returns the order confirmation object.Unique identifier for the cart
The order number from the merchant platform
Status of the cart (e.g., “submitted”)
ISO timestamp when the order was submitted
Merchant’s display name
E-commerce platform identifier (e.g., “magento”, “shopify”)
Merchant domain
Relevant URLs for the order
Array of items in the order
Delivery address details
Billing address details
Selected shipping method with pricing
Summary of the Klarna payment
Grand total including all costs
Subtotal before shipping and tax
Shipping cost
Tax amount
Total discount applied
Code Example
Response Example
Error Responses
| Code | Description |
|---|---|
ErrorCartNotFound | No active cart for this domain |
ErrorBadRequest | Missing authorization_token |
ErrorGatewayNotFound | Klarna is not enabled for this merchant |
ErrorPaymentDeclined | Klarna declined the payment |
ErrorCheckout | Checkout failed at the merchant |
ErrorMissingShippingMethod | No shipping method selected |
ErrorMissingTaxSync | Tax has not been calculated |
ErrorStoreUnavailable | Merchant temporarily unavailable |
Related Endpoints
- Start Klarna Checkout - Create Klarna session
- Authorize Klarna Checkout - Confirm authorization
- Complete Order (Credit Card) - Alternative credit card flow
Previous
Get Order StatusRetrieves real-time order status including tracking, fulfillments, returns, and refunds from the merchant platform
Next
Complete Klarna Order