POST
/
address
/
validate
curl --request POST \
  --url https://rest.taxes.provider.com/api/v1/address/validate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "address": {
    "line1": "1000 main",
    "line2": "",
    "line3": "",
    "city": "Irvine",
    "state": "CA",
    "country": "US",
    "postalCode": "92615"
  }
}'
{
  "status": "VALID"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The verification request containing the address. The following fields are mandatory -

  • line1
  • city
  • postalCode
  • state
  • country
address
object

Represents the address used for validation.

Response

200 - application/json
status
enum<string>
required

The validation status of an address.

Available options:
VALID,
INVALID