Creating a User
Follow the instruction for creating a user using a registration_code
. Make sure to generate a unique registration_code
for every created user and store it applying the same security standards that you would use for storing a password. You'll be needing the registration_code
for the claim account step.
When you are submitting an email which already exists amongst our users then an attempt to create a new one will fail. In that case you should redirect to Wise without claim_account_code
so the user could log in and link their account.