Send OTP (One Time Password)
A one-time password (OTP) is an automatically generated numeric or alphanumeric string of characters that authenticates the user for a single transaction or login session.
Sending OTP
Parameters
Descriptions
receiver_otp
Receiver number (e.g, [code country][number] 6283838204803)
message
This parameter's type data is callable, so you can custom your message OTP
This function has a default message
Example
Validating OTP
Parameters
Descriptions
receiver_otp
The receiver OTP marked as identifier to verify their OTP code (e.g, [code country][number] 6283838204803)
code
OTP Code that given to receiver_otp
Example
Last updated
Was this helpful?