Similar to createOtp but instead of sending the OTP to the receiver, a URL to a captcha image containing the code is generated.
Syntax
Captcha
createCaptchaOtp
(
int
otpType
,
String
referenceId
,
Long
customerId
,
long
callerId
) throws OtpValidationException
Parameters
-
otpType –
the type of OTP to generate/send, defines length, message template, and send mode (email/SMS) (optional)
-
referenceId –
is stored with the Otp and is returned when validating the OTP. This can be for example a transaction id in case the OTP is issued for a specific transaction.
-
customerId –
This is completely optional and is only used to attach the outgoing message to the customer for viewing in the message history. In general those kind of OTPs are not linked to customers.
-
callerId –
represents the ID of the caller of the operation. Used for tracking/audit purposes.