Sending complete and accurate order line data is essential to creating a smooth post-purchase experience for Klarna users. Beyond checkout, users rely on the Klarna app and other touchpoints such as email to review their transactions, track deliveries, and repurchase items.
The presence and quality of this data directly affects how clearly transactions are displayed and how easily users can engage with products after purchase. Providing high-quality order line data helps Partners:
Enhance the post-purchase experience by displaying clear product names, images, and prices.
Enable features like "Buy Again", allowing customers to repurchase items directly from the Klarna app.
Reduce customer service inquiries by improving transparency.
Maintain consistent transaction details across all Klarna APIs.
Transaction detail view with and without order line data
It is important to have the correct type in order to properly show the transaction breakdown on Klarna interfaces. Klarna supports several types that can be share using the parameter order_line.type:
physical: Indicates tangible goods (for example, brown suede shoes)
digital: Indicates intangible goods or services (for example, concert tickets)
shipping_fee: refers to the delivery costs for the customer
discount: Used to indicate reductions applied to the item price (for example, 10% off sitewide)
sales_tax: Tax applied to the item
gift_card: Indicates the product is a Gift card
store_credit: Indicates that customer's store credit is applied as a payment method
surcharge: Used to indicate other additional charges
Order line data can be provided at several points in the purchase lifecycle using Klarna APIs by sharing the order_lines array of objects in the corresponding API operation:
During the creation of the session and placement of the order:
Order Management API – Refund an order
When you include product_url and image_url, Klarna displays the item visually across all customer-facing touchpoints, such as the Klarna app, emails, and web views.
Ensure all key parameters remain consistent between create_order, capture, and refund requests. Klarna uses these parameters to map and display order items accurately.
Parameter
Description
Required consistency
name
Line item name
Must match across all requests
reference
Line item reference
Must match across all requests
purchase_country
Country of purchase
Must match across all requests
product_identifiers
Attributes such as color and size
Must match across all requests if provided
merchant_id
Used for authentication
Must match across all requests
Inconsistencies can cause display or refund mapping errors within the Klarna app.