Send OTP
Send OTP to your users to verify that phone number provided is accurate.
Make a POST request to the following endpoint.
https://api.localramp.co/v1/kyc/send-otp
The request takes this as the body
{
phone_number: "08023339279",
mode: "whatsapp"
}
With the following header
x-auth-token: <SECRET_KEY>
If the API call is successful, LocalRamp returns the following response:
{
status: "success",
data: {
otp: "706948",
phone_number: "08023339279"
}
}
mode
can either be sms
and whatsapp
Last updated