Validate Address

Beta
PUT/v1/core/addresses/actions/validate

This endpoint is idempotent. Learn more

Validates an address and returns whether it is valid, a formatted version, and any validation messages.

address_line_1string

First line of the street address.

address_line_2optional string

Second line of the street address.

citystring

City.

statestring

State or administrative area.

postal_codestring

Postal or ZIP code.

countrystring

Country name or code.

objectstringenumValues:validated_address

Resource type identifier.

is_validboolean

Whether the address is valid.

formatted_addressstringnullable

Formatted address from the validation service.

componentsobjectnullable

Standardized address components.

objectstringenumValues:address_components

Resource type identifier.

address_line_1string

First line of the street address.

address_line_2stringnullable

Second line of the street address.

citystring

City.

statestring

State or administrative area.

postal_codestring

Postal or ZIP code.

countrystring

Country name or code.

country_codestring

Two-letter country code.

validation_messagesarray of string

Validation messages for issues found.

Responses

200

Successful response for Validate Address