Instance Property

requiredBillingContactFields

The billing information that you require from the user to process the transaction.

Declaration

sequence < ApplePayContactField > requiredBillingContactFields;

Discussion

Use requiredBillingContactFields to request the user's billing address that is associated with their payment method. The field you can request for a billing contact is shown in Listing 1:

"requiredBillingContactFields": [
    "postalAddress"
]

You will receive the postal address as well as the user's name after the user authorizes the transaction with their device or MacBook.

The source of the information may be the user's Me contact card, the back of credit card in Wallet, or may be entered by the user directly into the payment sheet.

See Also

Requested Billing and Shipping Contact Information

requiredShippingContactFields

The shipping information that you require from the user to fulfill the order.

ApplePayContactField

Field names used for requesting contact information in a payment request.