A request for payment, which includes information about payment processing capabilities, the payment amount, and shipping information.
SDKs
- Safari Desktop 10.0+
- Safari Mobile 10.0+
Framework
- Apple Pay JS
A request for payment, which includes information about payment processing capabilities, the payment amount, and shipping information.
SDKs
Framework
totalRequired. A line item representing the total for the payment.
line ItemsA set of line items that explain recurring payments and additional charges and discounts.
Apple Pay Line ItemA line item in a payment request—for example, total, tax, discount, or grand total.
country CodeRequired. The merchant’s two-letter ISO 3166 country code.
currency CodeRequired. The three-letter ISO 4217 currency code for the payment.
merchant CapabilitiesRequired. The payment capabilities supported by the merchant.
shipping MethodsA list of available methods for shipping physical goods.
shipping TypeAn optional value that indicates how purchased items are to be shipped.
supported CountriesA list of ISO 3166 country codes for limiting payments to cards from specific countries.
supported NetworksRequired. The payment networks supported by the merchant.
Apple Pay Merchant CapabilityThe payment capabilities supported by the merchant.
Apple Pay Shipping MethodThe shipping method for delivering physical goods.
Apple Pay Shipping TypeA type that indicates how purchased items are to be shipped.
required Billing Contact FieldsThe billing information that you require from the user to process the transaction.
required Shipping Contact FieldsThe shipping information that you require from the user to fulfill the order.
Apple Pay Contact FieldField names used for requesting contact information in a payment request.
billing ContactBilling contact information for the user.
shipping ContactShipping contact information for the user.
Apple Pay Payment ContactInformation fields that are used for billing and shipping contacts.
application DataA valid, Base64-encoded string that contains application-specific data or state.