set PINWith OTP
fun setPINWithOTP(pin: String, otp: String, completion: (Completion<Boolean>) -> Unit)
Content copied to clipboard
Sets or updates the user's PIN using mail OTP.
See also
Parameters
pin
The PIN to be set.
otp
The OTP that additionally needs to be provided to successfully set or update the PIN.
completion
The block to be called when the request is completed including either the information if the PIN has been set / updated successfully or a Throwable.