Validate Address
BetaPUT
/v1/core/addresses/actions/validateThis endpoint is idempotent. Learn more
Validates an address and returns whether it is valid, a formatted version, and any validation messages.
address_line_1stringFirst line of the street address.
address_line_2optional stringSecond line of the street address.
citystringCity.
statestringState or administrative area.
postal_codestringPostal or ZIP code.
countrystringCountry name or code.
objectstringenumValues:validated_addressResource type identifier.
is_validbooleanWhether the address is valid.
formatted_addressstringnullableFormatted address from the validation service.
componentsobjectnullableStandardized address components.
objectstringenumValues:address_componentsResource type identifier.
address_line_1stringFirst line of the street address.
address_line_2stringnullableSecond line of the street address.
citystringCity.
statestringState or administrative area.
postal_codestringPostal or ZIP code.
countrystringCountry name or code.
country_codestringTwo-letter country code.
validation_messagesarray of stringValidation messages for issues found.
Responses
200
Successful response for Validate Address