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

Response

200
application/json

Address is validated successfully

The response is of type object.