An array of payment summary item objects that summarize the amount of the payment.
Mac Catalyst 13.0+
PassKit (Apple Pay and Wallet)
A typical transaction includes separate summary items for the order total, shipping cost, tax, and the grand total. See Listing 1 for an example.
Apple Pay uses the last item in the paymentSummaryItems array as the grand total for the purchase shown in Listing 1. The PKPaymentAuthorizationViewController class displays this item differently than the rest of the summary items. As a result, there are additional requirements placed on both its amount and its label.
Set the grand total amount to the sum of all the other items in the array. This amount must be greater than or equal to zero.
Set the grand total label to the name of your company. This label is used to represent the person or company being paid.
Your payment processor might have additional requirements, such as a minimum or maximum payment amount.