Syntax
void
resendCustomerOtp
(
long
customerId
,
int
otpType
,
long
referenceId
,
long
callerId
) throws EntityNotFoundException
Parameters
-
customerId –
The customer who initially received the OTP and to whom the OTP will be resent to.
-
otpType –
The OTP type
-
referenceId –
The reference ID ofr the OTP
-
callerId –
The caller ID
Exceptions
-
EntityNotFoundException –
-
OtpValidationException –
Usage
Resends an OTP to the customer it was previously delivered to.
An
OtpValidationException
is thrown if the OTP is already expired, if the configured resent count for the OTP type is exceeded or if no OPT was found for the given OTP type
An
EntityNotFoundException
is thrown in case the OTP was never sent out