Instance Property


Required. A line item representing the total for the payment.


required ApplePayLineItem total;


See ApplePayLineItem.

The amount of the total must be greater than zero and the label must be non-empty to pass validation.

Provide a business name for the label field. Use the same business name people will see when they look for the charge on their bank or credit card statement. For example, "COMPANY, INC."

Listing 1

Example of a total

"total": {
    "label": "COMPANY, INC.",
    "type": "final",
    "amount": "38.06"

See Also

Total and Line Items


A set of line items that explain recurring payments and additional charges and discounts.


A line item in a payment request—for example, total, tax, discount, or grand total.