/
PIN code verification

PIN code verification

The client can then verify that this PIN is correct by calling

PATCH /api/users/v1/users/<userId>

The request body should look something like this:

{
  "pin_code""1234",
  "new_pin_code""1234"
}

Note:

  • The API will verify the PIN code supplied against the one stored for the user account and return "403 Forbidden" if an incorrect PIN is supplied
  • Note that generally this method is used to update the value of PIN, but when new pin code is the same as old – API will not change any values, but only perform the validation
  • No other fields should be supplied