## The PaymentItem object

The `PaymentItem` object is used to configure a [PaymentRequest](https://docs.stripe.com/js/payment_request/create.md).

- `amount`
  The amount in the currency's subunit (e.g. cents, yen, etc.)

- `label`
  A name that the browser shows the customer in the payment interface.

- `pending`
  If you might change this amount later (for example, after you have calcluated shipping costs), set this to `true`.
Note that browsers treat this as a hint for how to display things, and not necessarily as something that will prevent submission.
