Contents

ApplePayRequest

A dictionary that defines the Apple Pay payment request object to use for the W3C Payment Request API.

Declaration

dictionary ApplePayRequest {
	required long version;
	required DOMString merchantIdentifier;
	required sequence < ApplePayMerchantCapability > merchantCapabilities;
	required sequence < DOMString > supportedNetworks;
	required DOMString countryCode;
	sequence < ApplePayContactField > requiredBillingContactFields;
	ApplePayPaymentContact billingContact;
	sequence < ApplePayContactField > requiredShippingContactFields;
	ApplePayPaymentContact shippingContact;
	DOMString applicationData;
	sequence < DOMString > supportedCountries;
	boolean supportsCouponCode;
	DOMString couponCode;
	ApplePayShippingContactEditingMode shippingContactEditingMode;
};

Mentioned in

Overview

The dictionary contains the supported Apple Pay properties for the data object of the PaymentMethodData dictionary in the Payment Request API.

For more information on PaymentMethodData, see the W3C Payment Request API specification.

Topics

Identifier and version information

Transaction information

Setting the Apple Pay Later mode

Coupon codes

Requesting billing and shipping contact information

Known contact information

Respond to payment request change events

Custom data

See Also

Payment request