curl --location --request PATCH 'https://test.whitelabel.bitpanda.com/v2/users/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "username@domain.com",
"phone": "+33123123412",
"first_name": "Jean",
"last_name": "Pascal",
"language": "en",
"country": "FR",
"terms": [
1,
2
],
"aml": [
{
"question_id": 1,
"answer_id": 2,
"answer_value": "Free text user answer"
}
],
"appropriateness": [
{
"question_id": 1,
"answer_id": 2,
"value": "BP 21321412421"
}
],
"appropriateness_uk": [
{
"question_id": 1,
"answer_id": 2,
"value": "BP 21321412421"
}
],
"complex_products": [
{
"question_id": 1,
"answer_id": 2,
"value": "BP 21321412421"
}
],
"client_categorization": [
{
"question_id": 1,
"answer_id": 2,
"answer_value": "Free text user answer"
}
],
"dac8": {
"AT": {
"question_id": 1,
"answer_id": 2,
"answer_value": "Free text user answer"
},
"FR": {
"question_id": 2,
"answer_id": 3
}
},
"verification": {
"report": "5ce18a58-26f7-4c5d-a9ff-bc348f84b48d",
"files": [
"8074815a-905a-4cad-9190-5842bf236d02"
],
"provider": "Verification Provider Name",
"token": "verification-token",
"issuing_date": "2021-04-25",
"issuing_authority": "Ministry of Interior",
"issuing_country": "AT",
"expiration_date": "2028-04-24",
"verification_date": "2021-11-30",
"address": {
"street": "52 RUE DES FLEURS",
"city": "Lyon",
"zip_code": "33500",
"country_of_residence": "FR"
},
"gender": "male",
"birth_date": "1970-12-29",
"birth_place": "Lyon, France",
"national_id": "FR 213132132",
"mrz_code": "P<UTOERIKSSON<<JOHN<DOE<<<<<<<<<<<<<<<<<<<<<L898902C36UTO7401122F1202159ZE181226B<<<<<10",
"document_type": "id_card",
"language": "en"
},
"tax": {
"id": "12345678",
"residence": "AT"
},
"tax_identification_numbers": [
{
"id": "12345678",
"residence": "AT"
}
],
"ext_compliance": {
"ext_pep_statuses": [
"Current PEP",
"Domestic PEP"
],
"ext_user_risk_level": "level 3",
"ext_user_reviewed_kyc_data_at": "2021-07-01T14:56:45+03:00"
},
"account_level_id": 1,
"external_id": "Ext-Id-1",
"external_meta": {
"meta_1": "value_1",
"meta_2": "value_2"
}
}'