MMoca Passport

Quickstart Guide

Integrate Moca Passport into your Web, iOS, or Android app in minutes.

Install SDK

Add the official Moca Passport SDK to your web project.

npm install @mocapassport/sdk

Initialize

Initialize the SDK with your API key and configuration.

import { MocaPassport } from '@mocapassport/sdk';

const passport = new MocaPassport({ apiKey: 'YOUR_KEY' });

Verify User

Use the SDK to perform identity verification in your app.

const result = await passport.identity.verify({ id: 'user123', document: 'passport.png' });
console.log(result.status);

Next Steps

Explore the API reference and integration guides for advanced functionality.