Skip to main content

Items List

info

Items are used to provide a detailed list of items that the customer is purchasing.

This information is displayed on the checkout page.

Request Example

{
"type": "PayByLink",
"terminalIdentifier": "1adfe4a1",
"amount": 48900,
"currency": "ISK",
"items": [
{
"name": "Lollipops",
"amount": 42000,
"unitPrice": 23500,
"quantity": 2,
"amountWithoutDiscount": 47000
}
]
}

Request Field

FieldSubfieldTypeRequiredDescriptionExampleMin LengthMax Length
itemsArrayOptionalList of cart items. Each item should have the following fields:--200
nameStringRequiredThe name of the item.item 1--
amountIntegerRequiredThe amount of the item in minor units.42000--
unitPriceIntegerRequiredThe amount of a single quantity of item in minor units.23500--
quantityIntegerRequiredThe quantity of the items bought.2--
amountWithoutDiscountIntegerRequiredThe amount of the item without discount in minor units.

If provided, Amount cannot be higher than the amount without discount
47000--