Create User

Create a new user - The user object now only requires the firstName, lastName, email and mobile fields to create a new user. You can choose to collect the remaining information as per your onboarding flow and update them via the PATCH user method.

Please note, all the optional fields on this page are mandatory to eventually start KYC.

post/user/create

Request

  • Base URL
    https://www.sandbox.striga.com/api/v1
  • URL
    https://www.sandbox.striga.com/api/v1/user/create
  • Auth
    API key in header api-key and API key in header Authorization

Headers

api-keystring required

Your Striga API key

Authorizationstring required

Your HMAC signature

Request body

firstNamestring required

The first name of the user - Minimum of 2 up to 40 characters in length as a string, Allowed case-insensitive characters: ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'æ', 'ä', 'å', 'á', 'é', 'í', 'ø', 'ö', 'ó', 'õ', 'š', 'ü', 'ú', 'ž', 'à', 'è', 'ì', 'ò', 'ù', 'â', 'ê', 'î', 'ô', 'û', 'ã', 'ñ', 'ë', 'ï', 'ÿ', 'ė', 'ç', 'ć', 'ń', 'ś', 'ź', 'ā', 'ē', 'ī', 'ō', 'ū', 'ą', 'ę', 'į', 'ų', 'č', 'ģ', 'ķ', 'ļ', 'ņ', 'ŗ', 'ỳ', 'ǹ', 'ẁ', 'ý', 'ǵ', 'ḱ', 'ĺ', 'ḿ', 'ṕ', 'ŕ', 'ẃ', 'ŷ', 'ĉ', 'ĝ', 'ĥ', 'ĵ', 'ŝ', 'ŵ', 'ẑ', 'ẽ', 'ĩ', 'ũ', 'ỹ', 'ṽ', 'ḧ', 'ẅ', 'ẍ', 'ẗ', 'ẘ', 'ẙ', 'ȳ', 'ḡ', 'ă', 'ĕ', 'ĭ', 'ŏ', 'ŭ', 'ğ', 'ǫ', 'ǎ', 'ě', 'ǐ', 'ǒ', 'ǔ', 'ď', 'ǧ', 'ȟ', 'ǰ', 'ǩ', 'ľ', 'ň', 'ř', 'ť', 'ȩ', 'ḑ', 'ḩ', 'ş', 'ţ', 'ő', 'ű', 'ů', 'ǖ', 'ǘ', 'ǚ', 'ǜ', ''', '-', '/', '.', ',', '&', ' '].

lastNamestring required

The last name of the user - Minimum of 2 up to 40 characters in length as a string, Allowed case-insensitive characters: ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'æ', 'ä', 'å', 'á', 'é', 'í', 'ø', 'ö', 'ó', 'õ', 'š', 'ü', 'ú', 'ž', 'à', 'è', 'ì', 'ò', 'ù', 'â', 'ê', 'î', 'ô', 'û', 'ã', 'ñ', 'ë', 'ï', 'ÿ', 'ė', 'ç', 'ć', 'ń', 'ś', 'ź', 'ā', 'ē', 'ī', 'ō', 'ū', 'ą', 'ę', 'į', 'ų', 'č', 'ģ', 'ķ', 'ļ', 'ņ', 'ŗ', 'ỳ', 'ǹ', 'ẁ', 'ý', 'ǵ', 'ḱ', 'ĺ', 'ḿ', 'ṕ', 'ŕ', 'ẃ', 'ŷ', 'ĉ', 'ĝ', 'ĥ', 'ĵ', 'ŝ', 'ŵ', 'ẑ', 'ẽ', 'ĩ', 'ũ', 'ỹ', 'ṽ', 'ḧ', 'ẅ', 'ẍ', 'ẗ', 'ẘ', 'ẙ', 'ȳ', 'ḡ', 'ă', 'ĕ', 'ĭ', 'ŏ', 'ŭ', 'ğ', 'ǫ', 'ǎ', 'ě', 'ǐ', 'ǒ', 'ǔ', 'ď', 'ǧ', 'ȟ', 'ǰ', 'ǩ', 'ľ', 'ň', 'ř', 'ť', 'ȩ', 'ḑ', 'ḩ', 'ş', 'ţ', 'ő', 'ű', 'ů', 'ǖ', 'ǘ', 'ǚ', 'ǜ', ''', '-', '/', '.', ',', '&', ' '].

emailstring required

E-mail address of the user

Response

201

userIdstring
emailstring
missingFieldsstring[]

Example response

{
  "userId": "474f3a7b-eaf4-45f8-b548-b784a0ba008f",
  "email": "pb+xx@striga.com",
  "mobile": {
    "countryCode": "+372",
    "number": "589872762"
  },
  "KYC": {
    "status": "NOT_STARTED",
    "tier0": {
      "eligible": true,
      "status": "NOT_STARTED"
    },
    "tier1": {
      "eligible": true,
      "status": "NOT_STARTED",
      "inboundLimitConsumed": {
        "all": "0",
        "va": "0"
      },
      "inboundLimitAllowed": {
        "all": "1500000",
        "va": "1000000"
      }
    },
    "tier2": {
      "status": "NOT_STARTED"
    },
    "tier3": {
      "status": "NOT_STARTED"
    }
  },
  "emailVerification": {
    "dateExpires": "2024-01-25T04:56:39.745Z"
  },
  "mobileVerification": {
    "dateExpires": "2024-01-25T04:56:39.745Z"
  },
  "missingFields": [
    "dateOfBirth"
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.