2. Create User

POST {{host}}/v1/user/signup/registration_code

Create a new user account without any profiles. Subsequently the profile creation endpoints must be used to complete the customer's account creation.

It is advised to generate a UUID for the registration code input. The registration code is sensitive information that should be used and stored according to security standards that also apply to passwords.

In case the user you are trying to create already exists in Wise, you'll receive an error. This means the user is already a Wise customer, so you don't need to onboard them using this API. Instead you can just redirect them to our authorization page (flow described in 1.b folder of this collection) in order to link their account with Wise.

Request Body

{"email"=>"new-user@email.com", "registrationCode"=>"<UUID for user>", "language"=>"EN"}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring

RESPONSES

status: Created

&quot;{\n    \&quot;id\&quot;: {user_id},\n    \&quot;name\&quot;: null,\n    \&quot;email\&quot;: \&quot;{user_email}\&quot;,\n    \&quot;active\&quot;: true,\n    \&quot;details\&quot;: null\n}&quot;