---
title: ApplePayErrorContactField
framework: applepayontheweb
role: symbol
role_heading: Enumeration
path: applepayontheweb/applepayerrorcontactfield
---

# ApplePayErrorContactField

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

## Declaration

```data
enum ApplePayErrorContactField
```

## Overview

Overview 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 the following table. Contact field values are available in all versions of the API except as stated in the table.  |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |

## Topics

### Enumeration Cases

- [addressLines](applepayontheweb/applepayerrorcontactfield/addresslines.md)
- [administrativeArea](applepayontheweb/applepayerrorcontactfield/administrativearea.md)
- [country](applepayontheweb/applepayerrorcontactfield/country.md)
- [countryCode](applepayontheweb/applepayerrorcontactfield/countrycode.md)
- [emailAddress](applepayontheweb/applepayerrorcontactfield/emailaddress.md)
- [locality](applepayontheweb/applepayerrorcontactfield/locality.md)
- [name](applepayontheweb/applepayerrorcontactfield/name.md)
- [phoneNumber](applepayontheweb/applepayerrorcontactfield/phonenumber.md)
- [phoneticName](applepayontheweb/applepayerrorcontactfield/phoneticname.md)
- [postalAddress](applepayontheweb/applepayerrorcontactfield/postaladdress.md)
- [postalCode](applepayontheweb/applepayerrorcontactfield/postalcode.md)
- [subAdministrativeArea](applepayontheweb/applepayerrorcontactfield/subadministrativearea.md)
- [subLocality](applepayontheweb/applepayerrorcontactfield/sublocality.md)

## See Also

### Status and errors

- [ApplePayError](applepayontheweb/applepayerror.md)
- [ApplePayErrorCode](applepayontheweb/applepayerrorcode.md)
- [Apple Pay Status Codes](applepayontheweb/apple-pay-status-codes.md)
