Send Multi-Step Registration Request for Approval
POST
/public/v1/account/register/multistep
Request Body
Name | Type | Required | Rule | Description |
---|---|---|---|---|
trader_register | string | Mandatory | trader_register | |
register | object | Mandatory | Trader's registration form information, same form as this | |
register.email | string | Mandatory | email | the email of user |
register.type | string | Mandatory | trader | the type of user |
register.phone | object | Optional | the phone of user | |
register.phone.country_code | string | Optional | user's phone country code | |
register.phone.number | string | Optional | user's phone number | |
register.email_code | string | Mandatory | length 6 | the OTP sent by email |
register.phone_code | string | Mandatory | length 6 | the OTP sent by phone SMS |
register.password | string | Mandatory | the password of user | |
register.repeat_password | string | Mandatory | repeat password of user | |
register.form_id | string | Mandatory | length 8 | the id of registration form |
register.link_id | string | Optional | length 8 | the id of referral link |
register.referrer_id | string | Optional | length 8 | the referrel code of the referrer |
register.custom_fields | fields | Optional | additional fields configured in registration form | |
kyc | object | Mandatory | Trader's kyc form information | |
register.form_id | string | Mandatory | length 8 | the id of kyc form |
register.custom_fields | fields | Optional | additional fields configured in kyc form |
One-Time Password Types
Code |
---|
email |
phone (if you installed twilio) |
Expected HTTP status code
- 204
Error
Code | Type | Description |
---|---|---|
400 | invalid_validation_code | No Email or phone otp is sent |