Looking for ePay classic docs? Go to docs.epay.dk
ePay documentationDocsePay documentation

MultiLinkOrderLine

A line item copied to every payment session created from the multi-link.

descriptionstring
Required

The descriptive name of the line item.

Length:
1 <= length <= 255
Example:
"Reusable coffee cup"
imageUrlstring
Nullable

A registered point-of-sale URL for an image of the line item.

Format:
uri
Length:
1 <= length <= 1024
Example:
"https://example.com/images/reusable-cup.png"
quantityinteger
Required

The quantity of the line item.

Range:
0 <= value
Example:
1
totalAmountinteger
Required

The line total in minor units, including tax and discounts.

Range:
0 <= value <= 200000000
Example:
1095
unitPriceinteger
Required

The price of one item in minor units, before discounts.

Range:
value <= 200000000
Example:
1095
typestring
Required

The category of the line item.

Example:
"PHYSICAL"
Value in:
  • "PHYSICAL"
  • "DISCOUNT"
  • "SHIPPING_FEE"
  • "SALES_TAX"
  • "DIGITAL"
  • "GIFT_CARD"
  • "STORE_CREDIT"
  • "SURCHARGE"
  • "OTHER"
MultiLinkOrderLine
{  "description": "Reusable coffee cup",  "imageUrl": "https://example.com/images/reusable-cup.png",  "quantity": 1,  "totalAmount": 1095,  "unitPrice": 1095,  "type": "PHYSICAL"}