Adyen · JSON Structure

Transfer Webhooks Address Structure

Address schema from Adyen API

Type: object Properties: 6 Required: 1
PaymentsFinancial ServicesFintech

Address is a JSON Structure definition published by Adyen, describing 6 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

city country line1 line2 postalCode stateOrProvince

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-structure/transfer-webhooks-address-structure.json",
  "description": "Address schema from Adyen API",
  "type": "object",
  "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**, **NL**, or **GB**.",
      "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"
  ],
  "name": "Address"
}