Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 12.3 KB

File metadata and controls

19 lines (16 loc) · 12.3 KB

SessionLineItem

Fields

Field Type Required Description Example
type Optional<PaymentLineTypeResponse> The type of product purchased. For example, a physical or a digital product.

The tip payment line type is not available when creating a payment.
physical
description String ✔️ A description of the line item. For example LEGO 4440 Forest Police Station. LEGO 4440 Forest Police Station
quantity long ✔️ The number of items. 1
quantityUnit Optional<String> The unit for the quantity. For example pcs, kg, or cm. pcs
unitPrice Amount ✔️ In v2 endpoints, monetary amounts are represented as objects with a currency and value field.
discountAmount Optional<Amount> In v2 endpoints, monetary amounts are represented as objects with a currency and value field.
totalAmount Amount ✔️ In v2 endpoints, monetary amounts are represented as objects with a currency and value field.
vatRate Optional<String> The VAT rate applied to the line, for example 21.00 for 21%. The vatRate should be passed as a string and
not as a float, to ensure the correct number of decimals are passed.
21.00
vatAmount Optional<Amount> In v2 endpoints, monetary amounts are represented as objects with a currency and value field.
sku Optional<String> The SKU, EAN, ISBN or UPC of the product sold. 9780241661628
imageUrl Optional<String> A link pointing to an image of the product sold. https://...
productUrl Optional<String> A link pointing to the product page in your web shop of the product sold. https://...