Skip to main content
Schema2020-08-27object

item

A line item.

Source
openapi/spec3.json
Commit
d70de345383d
Active snapshot
da69df7e6e11

LineItem

object

A line item.

amount_subtotal integer
required

Total before any discounts or taxes are applied.

amount_total integer
required

Total after discounts and taxes.

currency string
required

Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).

description string
required

An arbitrary string attached to the object. Often useful for displaying to users. Defaults to product name.

discounts array
optional

The discounts applied to the line item.

id string
required

Unique identifier for the object.

object string
required

String representing the object's type. Objects of the same type share the same value.

price
optionalnullable

The price used to generate the line item.

quantity integer
optionalnullable

The quantity of products being purchased.

taxes array
optional

The taxes applied to the line item.