Locations
When a transaction contains location info in the description or our system is able to find the location of the merchant this will be returned as a LocationStructured object.
The schema of the LocationStructured object is as follows:
| attribute | type | summary |
|---|---|---|
| address | string | The street address (including house number, apartment, suite, unit, or building number, if applicable). |
| city | string | City, district, suburb, town, or village. |
| state | string | State, county, province, or region. |
| postcode | string | ZIP or postal code. |
| country | string | Two-letter country code (ISO 3166-1 alpha-2). |
| country_name | string | Country name. |
| latitude | float | Latitude of the location. |
| longitude | float | Longitude of the location. |
| google_maps_url | string | Link to the location on Google Maps |
| apple_maps_url | string | Link to the location on Apple Maps |
| store_number | float | Store number of the location if found in the transaction description. |
Please note that all of these location fields are potentially nullable.