SumUp · Schema

CountryCode

An [ISO3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. This definition users `oneOf` with a two-character string type to allow for support of future countries in client code.

PaymentsPOSPoint of SaleCard ReadersCheckoutFintechMobile PaymentsOnline Payments
View JSON Schema on GitHub

JSON Schema

countrycode.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "CountryCode",
  "description": "An [ISO3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. This definition users `oneOf` with a two-character string type to allow for support of future countries in client code.\n",
  "type": "string",
  "examples": [
    "AR",
    "AT",
    "AU",
    "BE",
    "BG",
    "BR",
    "CH",
    "CL",
    "CO",
    "CY",
    "CZ",
    "DE",
    "DK",
    "EE",
    "ES",
    "FI",
    "FR",
    "GB",
    "GR",
    "HU",
    "IE",
    "IT",
    "LT",
    "LU",
    "LV",
    "MT",
    "MX",
    "NL",
    false,
    "PE",
    "PL",
    "PT",
    "RO",
    "SE",
    "SI",
    "SK",
    "US"
  ],
  "maxLength": 2,
  "minLength": 2
}