Create a subuser

Subuser creation

URL

POST https://exchange.savitar.io/api/v1/subuser

Headers:

  • Content-Type: application/json
  • Authorization: Bearer <jwt token>

Request Body

uid (Optional)
string
Unique subuser identifier. If omitted, a new one will generated on our side.

Response Data

uid
string
User unique identifier.
kyc.phone
enum
User’s phone verification state.
Possible values: none, pending, verified
kyc.id_document
enum
User’s id document verification state.
Possible values: none, pending, verified
kyc.liveness
enum
Liveness verification state.
Possible values: none, pending, verified
profile.dob
string
User’s date of birth.
Format: DD-MM-YYYY
profile.first_name
string
User’s first name.
profile.last_name
string
User’s last name.
profile.gender
enum
User’s gender.
Possible values: M, F

Example