Create OTPAsk AIpost https://api.ravepay.co/v2/services/confluence/This allows you send OTP (One time pin) via SMS, Whatsapp and Email.Body Paramssecret_keystringrequiredThis is your merchant API Keysservice_methodstringrequiredDefaults to postservice_versionstringrequiredDefaults to v1service_channelstringrequiredDefaults to ravesend_as_isstringrequiredDefaults to 1length_of_otpint32requiredThis is Integer length you want for the OTP.send_otp_to_customerbooleanrequiredSet to true.truefalsemediumarray of stringsrequiredPass 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*ADD stringotp_expires_in_minutesstringrequiredPass an integer value represented in minutes for how long you want the OTP to live for before expiring.sender_business_namestringrequiredThis is your merchant/business name. It would display when the OTP is sent.send_same_otpbooleanrequiredIf true, we send the same OTP string on all channels. If set to false we send different OTP string across all channels listed.truefalseResponses 200200 400400Updated over 6 years ago