User data change
A user might request a data change when, for example, moving to a new city or getting married and thus changing their name or adding a nationality.
This guide outlines how to use the Investment API to change user data and the proof documents that must be provided in support of these changes.
Prerequisites
Before you can change data of a user you must have created one. You can find out how to do this in our User onboarding guide.
Changing user data
In the request body, you specify which fields you intend to change.
Depending on the respective fields to be changed, Upvest may require a proof for changing the user information. There are four different categories available that require different proof documents.
The following proof documents are accepted:
Category | User fields | Required proof documents |
---|---|---|
Name change | first_name & last_name |
|
Nationality change | nationalities (array) |
|
Address change | address (object) |
|
Other | salutation , title , email , phone_number , birth_name , postal_address |
|
Changing the user's name
Changing a users name requires either a passport or national ID card to be uploaded to your data transfer bucket and its URL within that bucket to be included in the request.
Example request
{
"first_name": "Karl",
"last_name": "Schmidt",
"issuance_date": "2030-01-01",
"data_download_link": "https://bucket.customer.com/ident/user3.zip",
"document_type": "ID_CARD"
}
Changing the user's address
Changing a users address requires one of the forms of evidence listed above to be uploaded to your data transfer bucket and its URL within that bucket to be included in the request.
Example request
{
"address": {
"address_line1": "Rosenweg 221",
"address_line2": "apt. 33",
"postcode": "45678",
"city": "Berlin",
"state": "BE",
"country": "DE"
},
"issuance_date": "2020-01-01",
"data_download_link": "https://bucket.customer.com/por/user3.zip",
"document_type": "UTILITY_BILL"
}
Changing other user details
Changing other user details, such as the email address, phone number or salutation, doesn't require additional evidence to be provided. This example show a simple request to change a user's email address.
Example request
{
"email": "max@example.com"
}
After you requested a data change Upvest will download a potential proof for the data change, adjust the user information and then send a data change passed webhook. If the data change failed, e.g. due to problems with the proof files, you will receive a data change failed webhook.
Next steps
Since a change to user data can made at any point in the user's lifecycle in the Investment API, a next step could be to create an account group or place an order. You can see the updated data when retrieving a report.