SquareConnect::Address

March 27, 2019 ยท View on GitHub

Description

Represents a physical address.

Properties

NameTypeDescriptionNotes
address_line_1StringThe first line of the address. Fields that start with `address_line` provide the address's most specific details, like street number, street name, and building name. They do not provide less specific details like city, state/province, or country (these details are provided in other fields).[optional]
address_line_2StringThe second line of the address, if any.[optional]
address_line_3StringThe third line of the address, if any.[optional]
localityStringThe city or town of the address.[optional]
sublocalityStringA civil region within the address's `locality`, if any.[optional]
sublocality_2StringA civil region within the address's `sublocality`, if any.[optional]
sublocality_3StringA civil region within the address's `sublocality_2`, if any.[optional]
administrative_district_level_1StringA civil entity within the address's country. In the US, this is the state.[optional]
administrative_district_level_2StringA civil entity within the address's `administrative_district_level_1`. In the US, this is the county.[optional]
administrative_district_level_3StringA civil entity within the address's `administrative_district_level_2`, if any.[optional]
postal_codeStringThe address's postal code.[optional]
countryStringThe address's country, in ISO 3166-1-alpha-2 format. See Country for possible values[optional]
first_nameStringOptional first name when it's representing recipient.[optional]
last_nameStringOptional last name when it's representing recipient.[optional]
organizationStringOptional organization name when it's representing recipient.[optional]