Adyen · Schema

Address-2

PaymentsFinancial ServicesFintech

Properties

Name Type Description
city string The name of the city.
country string The two-character ISO 3166-1 alpha-2 country code. For example, **US**. >If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`.
line1 string First line of the street address.
line2 string Second line of the street address.
postalCode string The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries.
stateOrProvince string The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada.
View JSON Schema on GitHub

JSON Schema

adyen-address-2-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Address-2",
  "title": "Address-2",
  "properties": {
    "city": {
      "description": "The name of the city.",
      "type": "string"
    },
    "country": {
      "description": "The two-character ISO 3166-1 alpha-2 country code. For example, **US**.\n>If you don't know the country or are not collecting the country from the shopper, provide `country` as `ZZ`.",
      "type": "string"
    },
    "line1": {
      "description": "First line of the street address.",
      "type": "string"
    },
    "line2": {
      "description": "Second line of the street address.",
      "type": "string"
    },
    "postalCode": {
      "description": "The postal code.\nMaximum length:\n* 5 digits for an address in the US.\n* 10 characters for an address in all other countries.",
      "type": "string"
    },
    "stateOrProvince": {
      "description": "The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada.\n> Required for the US and Canada.",
      "type": "string"
    }
  },
  "required": [
    "country"
  ]
}