v1
latestOpenAPI 3.1.02026-07-2496304466.3 KBAccounts: General
Create Account
post/accounts
Headers
LMG-Data-Privacy-Access-Principalstring required
LMG-Data-Privacy-Access-Justificationstring required
Request body
Example request
{
"customer": {
"firstname": "Erika",
"lastname": "Mustermann",
"date_of_birth": "1964-08-13",
"place_of_birth": {
"city": "Berlin",
"country": "DE"
},
"nationalities": [
"DE"
],
"phone_number": "+49172997318",
"registered_address": {
"line_1": "Heidestraße 17",
"postal_code": "51147",
"city": "Köln",
"country": "DE"
},
"tax_residencies": [
{
"country": "DE"
}
]
},
"accepted_agreements": [
{
"agreement_id": "agr_9902271f791d413aad781763c61b9bb0",
"accepted_at": "2023-06-29T14:39:29Z",
"legal_representative": "le_3a0baf04657b4fb9bcaa03d8120b5e9e"
}
]
}Response
Successful Response
Example response
{
"id": "cusa_c2c3f89ec0524b6e818ce00c16e4897f",
"customer": {
"id": "pers_f1e3a7f504414b5e99041ebc1c0f55cd",
"firstname": "Erika",
"lastname": "Mustermann",
"date_of_birth": "1964-08-13",
"place_of_birth": {
"city": "Berlin",
"country": "DE"
},
"nationalities": [
"DE"
],
"phone_number": "+49172997318",
"email": "erika.mustermann@example.com",
"registered_address": {
"line_1": "Heidestraße 17",
"postal_code": "51147",
"city": "Köln",
"country": "DE"
},
"tax_residencies": [
{
"country": "DE"
}
]
},
"history": [
{
"status": "created",
"timestamp": "2023-06-23T07:29:55.465000+00:00"
}
],
"agreements": [
{
"agreement": "agr_9902271f791d413aad781763c61b9bb0",
"accepted_at": "2023-06-29T14:39:29Z",
"person": "per_3a0baf04657b4fb9bcaa03d8120b5e9e"
},
{
"agreement": "agr_8ec894e1ec764a339e172292dff9aeff",
"accepted_at": "2023-06-29T14:39:29Z",
"person": "per_3a0baf04657b4fb9bcaa03d8120b5e9e"
}
]
}