Update User

Update an existing user. Email and Mobile cannot be updated once they are verified. Once KYC has been started, none of the fields can be updated until the KYC is rejected. Once the KYC has been approved, none of the fields can be updated

patch/user/update

Request

  • Base URL
    https://www.sandbox.striga.com/api/v1
  • URL
    https://www.sandbox.striga.com/api/v1/user/update
  • 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

userIdstring required

User ID returned in the create user method

firstNamestring

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

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

E-mail address of the user - A valid email address

Response

200

firstNamestring
lastNamestring
emailstring
documentIssuingCountrystring
nationalitystring
occupationstring
sourceOfFundsstring
purposeOfAccountstring
selfPepDeclarationboolean
placeOfBirthstring
expectedIncomingTxVolumeYearlystring
expectedOutgoingTxVolumeYearlystring
userIdstring
createdAtinteger

Example response

{
  "firstName": "Claudia",
  "lastName": "Tracy Lind",
  "email": "test_1655832993@mailinator.com",
  "documentIssuingCountry": "PS",
  "nationality": "RS",
  "mobile": {
    "countryCode": "+372",
    "number": "56316716"
  },
  "dateOfBirth": {
    "month": "1",
    "day": "15",
    "year": "2000"
  },
  "address": {
    "addressLine1": "Sepapaja 12",
    "addressLine2": "Hajumaa",
    "city": "Tallinn",
    "state": "Tallinn",
    "country": "EE",
    "postalCode": "11412"
  },
  "occupation": "PRECIOUS_GOODS_JEWELRY",
  "sourceOfFunds": "OTHER",
  "purposeOfAccount": "OTHER",
  "selfPepDeclaration": true,
  "placeOfBirth": "Antoniettamouth",
  "expectedIncomingTxVolumeYearly": "MORE_THAN_15000_EUR",
  "expectedOutgoingTxVolumeYearly": "MORE_THAN_15000_EUR",
  "KYC": {
    "status": "NOT_STARTED"
  },
  "userId": "9fd9f525-cb24-4682-8c5a-aa5c2b7e4dde",
  "createdAt": 1655832993460
}

Changes

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