Create OTP

This allows you send OTP (One time pin) via SMS, Whatsapp and Email.

Body Params
string
required

This is your merchant API Keys

string
required
Defaults to post
string
required
Defaults to v1
string
required
Defaults to rave
string
required
Defaults to 1
int32
required

This is Integer length you want for the OTP.

boolean
required

Set to true.

medium
array of strings
required

Pass the medium you want your customers to receive the OTP on. Possible values are sms, email and whatsapp you can pass more than one medium in the array.

medium*
string
required

Pass an integer value represented in minutes for how long you want the OTP to live for before expiring.

string
required

This is your merchant/business name. It would display when the OTP is sent.

boolean
required

If true, we send the same OTP string on all channels. If set to false we send different OTP string across all channels listed.

Responses

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json