This document has two types:
ADDRESS_INFO
: Details corresponding to the UserJOINT_ADDRESS_INFO
: Details corresponding to the Joint account holder linked to this User
When creating Joint accounts on the platform, both of these documents should be provided on the User object.
Attribute | Type | Description | Required |
---|---|---|---|
| string | Type of user document. Default to | ✅ |
| object | Document object that contains all data for the | ✅ |
| string | Street address | ✅ |
| string | Street address, continued | ❌ |
| string | City | ✅ |
| string | For U.S., use USPS postal abbreviations, outside of U.S. use the standard province/territory name | ✅ |
| string | Postal code | ✅ |
| string | Country which user resides. Follows the ISO 3166-1 alpha-3 standard. Use List All Countries | ✅ |
{
"type": "ADDRESS_INFO",
"data": {
"street1": "123 Main St",
"street2": "Apt. 201",
"city": "Sugartown",
"province": "TX",
"postalCode": "41992",
"country": "USA"
}
}
Sanitizing Address Data
It is good practice to have address data standardized across all users for better searching and improved account monitoring functionality. To accomplish this DriveWealth recommends integrating with a mapping vendor such as the Google Place Autocomplete API for the collection of standardized data. Utilizing this API will also provide a better user experience due to the pre-population of address data.