Main pages
Postal address
Collect postal address of your customer’s property.
Captures the postal address of the location where a tariff is being connected. This step is skipped if you included postal_address.city
and postal_address.country_code
when creating the connect_token
via the API.
Consider adding an address lookup service such as Google Place Autocomplete for a better customer experience and to avoid server-side errors when the customer types an invalid address.
When you POST the response, Connect may return any of these validation errors:
Error Code | Error Description |
---|---|
address_line1_missing | First line of address is required. |
city_missing | City name is required. |
post_code_missing | Postal (zip) code is required. |
country_code_missing | Country code is required. |
country_code_invalid | Country code must be in two-letter ISO 3166-1 alpha-2 format. |
timezone_not_found | Unable to detect location timezone, provide at least country_code and city. |
data_json_invalid | Data does not conform to the JSON schema. |