NinjaAuth
Step1: Method
POST https://api.ninjapay.me/api/v1/auth
Parameters
Body (application/json)
{
ninjatag: <string>; // sends a six digit OTP to the linked account email
kyc?: <bool> // Add <true> if you want the user's kyc in response (only given if user approves)
}
Response
{
"status": <bool>,
"data": {
"secret": <string> // Use this secret along with OTP sent to user's email/phone to verify in the next step, this secret is expires after 60 seconds
},
"message": <string>
}
Step2: Method
Parameters
Response
Code Example
Last updated