Names of the fields in the shipping or billing contact information, used to locate errors in the payment sheet.


When shipping or billing contact information has an error, you use the error code values of either "shippingContactInvalid" or "billingContactInvalid" to indicate which one has the error. You use the contact field to indicate the exact field with the error. The corresponding field in the shipping or billing section of the payment sheet is highlighted.

Note that the remaining error codes, "addressUnserviceable" and "unknown", do not require contact fields.

Use contact field values in the contactField property of an ApplePayError when you return errors in the completion functions, as shown in Table 1.

Contact field values are available in all versions of the API except as stated in the table.

Table 1

Valid contact field values by error code

See Also

Status and Errors


A customizable error type that you create to indicate problems with the address or contact information on an Apple Pay sheet.


The error code that indicates whether an error on the payment sheet is for shipping or billing information, or for another kind of error.

Apple Pay Status Codes

Codes used to report the status of an Apple Pay session after a callback.