NinjaAuth
Request the user's Ninjapay account verification. This can be used for authentication or linking of user's wallet. Using NinjaAuth is an easy and convenient way for users to log into and grant data access to your apps and games across multiple platforms.
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