FILTER BY TAG

Using Line Items

Klarna uses line items when you send a create session and update session requests. Line items are used to include information about the goods that your customers purchase, such as product name, quantity, and price.
Line items are represented in a request as the
lineItem[]
array request fields.
These fields are required for each line item that you use:
Including Line Items in a Service Request
This example shows three valid line items.
{ "orderInformation": { "lineItems": [ { "productName": "Shirt", "unitPrice": "30.00", "totalAmount": "60.00" }, { "productName": "Pants", "unitPrice": "19.99", "totalAmount": "19.99" }, { "productName": "Dress", "unitPrice": "25.00", "totalAmount": "75.00" } ] } }