Skip to end of banner
Go to start of banner

PIN code verification

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

Version 1 Current »

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
  • No labels