address

Hinweis-icon

Please note that the data within all JSON objects is encoded using UTF-8 and then must be also Base64 encoded. This applies in particular to special characters such as “Umlaute” and diactrics.

Hinweis-icon

“address”-JSON is sent as “billingAddress” or “shippingAddress”. An overview of parameters can be found here: 
Card processing – common form
Card processing – common Server-to-Server

Data elements

KeyFormatCNDDescription
citystring(..50)CCity. Required unless market or regional mandate restricts sending this information. For shipping details this data element might not be available (e.g. digital goods). Will become mandatory for VISA on 2024-02-12.
countryobjectCAlpha-3 country code according to ISO 3166-1:2013. Required unless market or regional mandate restricts sending this information. For shipping details this data element might not be available (e.g. digital goods). Will become mandatory for VISA on 2024-02-12.
addressLine1objectCFirst line of the street address. Required unless market or regional mandate restricts sending this information. For shipping details this data element might not be available (e.g. digital goods). Will become mandatory for VISA on 2024-02-12.
addressLine2string(..50)CSecond line of the street address (e.g. apartment, suite, floor, PO Box, etc.). Required unless market or regional mandate restricts sending this information. For shipping details this data element might not be available (e.g. digital goods).
addressLine3string(..50)CThird line of the street address. Required unless market or regional mandate restricts sending this information. For shipping details this data element might not be available (e.g. digital goods).
postalCodestring(..16)CZIP or other postal code. Required unless market or regional mandate restricts sending this information. For shipping details this data element might not be available (e.g. digital goods). Will become mandatory for VISA on 2024-02-12.
statestring(2)CAlpha-2 code of state or province according to ISO 3166-2. Required unless market or regional mandate restricts sending this information, or State is not applicable for this country. For shipping details this data element might not be available (e.g. digital goods). Will become mandatory for VISA on 2024-02-12.
Please do not use this parameter within the EU.
Data elements

addressLine1

KeyFormatCNDDescription
1streetstring(..50)MStreet name
2streetNumberstringCStreet or house number
addressLine1
Hinweis-icon

Please note that “street” and “streetNumber” together can only contain a total length of 50 characters. If more characters are used, the system will shorten the values accordingly.

Schema

{

    "$schema""http://json-schema.org/draft-07/schema#",

    "$id""BASEURL/address.json",

    "title""address",

    "description""Address",

    "type""object",

    "properties": {

        "city": {

            "type""string",

            "maxLength"50

         },

        "country": {

            "type""object",

            "properties": {

                "countryName": {

                    "type""string",

                    "description""Name of the country."

                },

                "countryA2": {

                    "type""string",

                    "description""ISO-3166 alpha-2 code."

                },

                "countryA3": {

                    "type""string",

                    "description""ISO 3166-1:2013 alpha-3"

                },

                "countryNumber": {

                    "type""string",

                    "description""ISO-3166 numeric code."

                }

            },

            "required": ["countryA3"],

            "additionalProperties"false

        },

        "addressLine1": {

            "type""object",

            "properties": {

                "street": {

                    "type""string" ,

                    "maxLength"50

                },

                "streetNumber": {

                    "type""string"

                }

            },

            "required": ["street"],

            "additionalProperties"false

        },

        "addressLine2": {

            "type""string",

            "maxLength"50

         },

        "addressLine3": {

            "type""string",

            "maxLength"50

         },

        "postalCode": {

            "type""string",

            "maxLength"16

         },

        "state": {

            "type""string",

            "minLength"2,

            "maxLength"2,

            "description""Alpha-2 code of state or province according to ISO 3166-2:2013 where applicable"

        }

    },

    "required": ["country""addressLine1""postalCode"],

    "additionalProperties"false

}

Sample

{

    “city”: “New York”,

    “country”: {

        “countryA3”: “USA”

    },

    “addressLine1”: {

        “street”: “Park Avenue”,

        “streetNumber”: “270”

    },

    “postalCode”: “10017-2070”,

    “state”: “NY”

}