# Validate an address Validates the format of an address for a card order. Make sure to follow country-specific address fields and validation as described in the card address validation guide. For virtual cards, the address field will be used as a billing address. It will be used for AVS checks in countries where it is required. For physical cards, the address field will be used as a delivery address. It will be used to deliver your card and for AVS checks in countries where it is required. {% admonition type="warning" %} We do not support PO BOX addresses. {% /admonition %} Endpoint: POST /v3/spend/address/validate Security: UserToken ## Request fields (application/json): - `firstLine` (string) Card holder's address (max 30 characters). Example: "56 Shoreditch High St" - `secondLine` (string,null) Card holder's address (max 30 characters). Example: "The Tea Bldg" - `thirdLine` (string,null) Card holder's address (max 30 characters). - `city` (string) Card holder's city (max 30 characters). Example: "London" - `postCode` (string) Card holder's postal code (max 10 characters). Example: "E1 6JJ" - `state` (string,null) Card holder's state (max 30 characters). - `country` (string) Card holder's country (ISO 3166-1 alpha-2, max 2 characters). Example: "GB" ## Response 200 fields (application/json): - `errors` (array) Collection of validation errors. Empty if address is valid. - `errors.field` (string) The field that failed validation. Example: "postCode" - `errors.message` (string) Description of the validation error. Example: "Please enter a valid postcode"