# CountryCode

Scalar · GraphQL API

An [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. Braintree only accepts [specific alpha-2 values](https://developers.braintreepayments.com/reference/general/countries#list-of-countries). Clients using a Braintree version prior to 2021-02-01 should use an [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) country code.

## Used by

- [Address](/braintree/graphql/reference/types/address) — Object; countryCode
- [AddressInput](/braintree/graphql/reference/types/address-input) — Input; countryCode
- [BinRecord](/braintree/graphql/reference/types/bin-record) — Object; countryOfIssuance
- [CustomerTaxIdentifierInput](/braintree/graphql/reference/types/customer-tax-identifier-input) — Input; countryCode
- [InStoreLocationAddress](/braintree/graphql/reference/types/in-store-location-address) — Object; countryCode
- [InStoreLocationAddressInput](/braintree/graphql/reference/types/in-store-location-address-input) — Input; countryCode
- [InStoreLocationAddressUpdateInput](/braintree/graphql/reference/types/in-store-location-address-update-input) — Input; countryCode
- [LocalPaymentAddressInput](/braintree/graphql/reference/types/local-payment-address-input) — Input; countryCode
- [LocalPaymentContextInput](/braintree/graphql/reference/types/local-payment-context-input) — Input; countryCode
- [NonInstantLocalPaymentContextInput](/braintree/graphql/reference/types/non-instant-local-payment-context-input) — Input; countryCode

## GraphQL definition

```graphql
scalar CountryCode
```

---

[View the complete GraphQL schema on GitHub](https://raw.githubusercontent.com/braintree/graphql-api/refs/heads/master/schema.graphql)