---
title: countryCode
framework: passkit
role: symbol
role_heading: Instance Property
path: passkit/pkpaymentrequest/countrycode
---

# countryCode

The merchant’s two-letter ISO 3166 country code.

## Declaration

```swift
var countryCode: String { get set }
```

## Discussion

Discussion Set this property to the two-letter ISO 3166 code for the country or region of the merchant’s principle place of business. This is often the location for settling the payment. The system stores the country code in the Secure Element as is. For more information on the Secure Element, see A Payment Token Is Created When a Payment Is Authorized in Apple Pay Programming Guide. Consult with your payment service provider (PSP) to determine the appropriate country code. Apple Pay may use the countryCode to generate payment data that complies with local regulations. For more information on regional compliance, see Complying with regional regulations.

## See Also

### Setting currency and region information

- [currencyCode](passkit/pkpaymentrequest/currencycode.md)
- [supportedCountries](passkit/pkpaymentrequest/supportedcountries.md)
