Generate an OTP StringAsk AIpost https://api.flutterwave.com/v3/otpsCreate OTP strings of varying lengths.Body Paramslengthint32requiredDefaults to 7The length of the OTP to generate. Expected value are between 5-7customerobjectrequiredCustomer-related informationcustomer objectsenderstringrequiredThe Sender name displayed in the OTP message.sendstringrequiredDefaults to trueSet to true to send otp to customer.mediumstringrequiredDefaults to [ email, whatsapp ]The delivery method for the OTP. Supported values include sms, email and whatsapp.expiryint32Defaults to 1The expiry time, in minutes, of the OTP. Default value is 1 minute.HeadersAuthorizationstringrequiredDefaults to Bearer FLWSECK_TEST-SANDBOXDEMOKEY-XPass your secret key as a bearer token in the request header to authorize this callResponses 200200 400400Updated 11 months ago