Create a user (hit PEP/Sanctions)
POST {{proxiedPublicURL}}/users
Create a user
Request Body
{"first_name"=>"Angela", "last_name"=>"Merkel", "salutation"=>"SALUTATION_MALE", "title"=>"PROF", "email"=>"joe@example.com", "birth_date"=>"1952-10-07", "birth_city"=>"Moscow", "birth_country"=>"RU", "birth_name"=>"Joe", "nationalities"=>["DE", "CA"], "phone_number"=>"44123456789", "address"=>{"address_line1"=>"Torstraße", "address_line2"=>"12a", "postcode"=>"10115", "city"=>"Berlin", "state"=>"Berlin", "country"=>"DE"}, "postal_address"=>{"address_line1"=>"Thorstraße", "address_line2"=>"123", "postcode"=>"10115", "city"=>"Berlin", "state"=>"Berlin", "country"=>"DE"}, "terms_and_conditions"=>{"consent_document_id"=>"d0b83880-3809-4eee-b0df-ca50db84c15a", "confirmed_at"=>"2022-02-03T17:14:46Z"}, "data_privacy_and_sharing_agreement"=>{"consent_document_id"=>"7ab0fc5c-8157-4acd-b02d-6ccda0e81dec", "confirmed_at"=>"2022-02-03T17:14:46Z"}, "fatca"=>{"status"=>false, "confirmed_at"=>"2020-02-03T17:14:46Z"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
idempotency-key | string | (Required) Idempotency key to prevent the same request from replaying. | |
https://tools.ietf.org/id/draft-idempotency-header-01.html | |||
upvest-client-id | string | (Required) Tenant Client ID | |
upvest-api-version | number | Upvest API version | |
Content-Type | string |