Registering Users
To perform a deposit from a user and withdrawal to a user that user must have an account on Xprizo. You might want to assists the user with registering on Xprizo so that you can simplify their experience.
To register a user on Xprizo to will need to have their mobile or email available to ask them to enter one of them. After that you will need to perform the following steps.
Steps
- Decipher Captcha
- Send OTP (One Time Pin)
- Register User
Captcha
To send an sms or email, a deciphered Captcha code must be sent with the OTP request.
A Captcha image can be created by calling the api/Security/GetCaptcha
endpoint with either their email pr mobile number. This will return a Base64/Jpeg image. Display this image on the screen and ask the user to decipher it.
Send OTP
To send an opt send either the users email or mobile number together with the deciphered Captcha code to the api/Security/SendNewOtp
endpoint.
Register User
User the api/Security/Register
endpoint to now register the user using the OTP sent to the User. By default a user has a KYC level of 0 (Unknown)when first registering. This means that they will not be able to transact until they have have authenticated themselves. Depending on your relationship with Xprizo, it is possible that these uses KYC levels can be automated. Discuss this with an Xprizo representative.