Skip to main content

lineItems

This is more detailed information about the items that are being purchased for Level2Level3 merchants

descriptionstring

This is a description of the item(s) being purchased.

Possible values: <= 50 characters

Example: Disney Cruise Line
productCodestring

This is a merchant-defined description code of the item being purchased.

Possible values: <= 12 characters

Example: DCL
quantitynumber

This is the quantity of the item.

Note: Max 4 decimals is allowed.

Possible values: <= 99999999999

Example: 4
unitAmountnumber

This is the unit price of the item being purchased, in minor units. The currency will be based on the account setting.

Possible values: <= 99999999999

Example: 120000
taxRatenumber

This is the tax rate used to calculate the tax amount. For example, if the tax rate is 10.5%, this value should be 10.5.

Note: Max 2 decimals allowed.

Possible values: <= 100

Example: 5
taxAmountnumber

This is the amount of any value-added taxes that can be associated with the purchased item, in minor units. The currency will be based on the account setting.

Note: Our system will not validate the accuracy of this value. The merchant's application must calculate this value correctly.

Possible values: <= 99999999999

Example: 24000
totalAmountnumber

This is the total amount of the line item, typically calculated as price multiplied by quantity, in minor units. The currency is based on the account setting.

Note: Our system will not validate the accuracy of this value. The merchant''s application must calculate this value correctly.

Possible values: <= 99999999999

lineItems
{
"description": "Disney Cruise Line",
"productCode": "DCL",
"quantity": 4,
"unitAmount": 120000,
"taxRate": 5,
"taxAmount": 24000,
"totalAmount": 0
}