ViasAddress 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.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-structure/notifications-vias-address-structure.json",
"description": "ViasAddress schema from Adyen API",
"type": "object",
"properties": {
"city": {
"description": "The name of the city. Required if the `houseNumberOrName`, `street`, `postalCode`, or `stateOrProvince` are provided.",
"type": "string"
},
"country": {
"description": "The two-character country code of the address in ISO-3166-1 alpha-2 format. For example, **NL**.",
"type": "string"
},
"houseNumberOrName": {
"description": "The number or name of the house.",
"type": "string"
},
"postalCode": {
"description": "The postal code. Required if the `houseNumberOrName`, `street`, `city`, or `stateOrProvince` are provided.\n\nMaximum length:\n\n* 5 digits for addresses in the US.\n\n* 10 characters for all other countries.",
"type": "string"
},
"stateOrProvince": {
"description": "The abbreviation of the state or province. Required if the `houseNumberOrName`, `street`, `city`, or `postalCode` are provided. \n\nMaximum length:\n\n* 2 characters for addresses in the US or Canada.\n\n* 3 characters for all other countries.\n",
"type": "string"
},
"street": {
"description": "The name of the street. Required if the `houseNumberOrName`, `city`, `postalCode`, or `stateOrProvince` are provided.",
"type": "string"
}
},
"required": [
"country"
],
"name": "ViasAddress"
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.