<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "ApplePayontheWeb",
  "identifier" : "/documentation/ApplePayontheWeb/ApplePayLineItem/amount",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Apple Pay on the Web"
    ],
    "preciseIdentifier" : "instp/ApplePayLineItem/amount"
  },
  "title" : "amount"
}
-->

# amount

A required value that’s the monetary amount of the line item.

```
DOMString amount;
```

## Discussion

This number must follow the regular expression `-?[0-9]+(\.[0-9][0-9])?`. The amount is required and can’t be empty.

You specify the currency for the entire transaction including line items by setting the [`currencyCode`](/documentation/ApplePayontheWeb/ApplePayPaymentRequest/currencyCode) property in [`ApplePayPaymentRequest`](/documentation/ApplePayontheWeb/ApplePayPaymentRequest).

If the payment request is for an automatic reload payment, the `amount` indicates the reload payment amount authorized when the account drops below the ``/ApplePayontheWeb/ApplePayLineItem/automaticReloadPaymentThresholdAmount```.`

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)