Whether you're building a new application from scratch or adding identity verification to an existing project, Prembly Pass provides a reliable and secure way to verify your users' identities.
This SDK is a TypeScript class that provides methods to verify identities, documents, and businesses.
This SDK has four classes for the verification process:
- Data verification class
- General Verification class
- Global Business Verification class
- Document verification class
To install the Prembly Pass SDK for identity verification, run the following command:
npm install prembly-pass
# or
yarn add prembly-pass
import { PremblyDataVerification } from "prembly-pass";
const premblyDataVerification = new PremblyDataVerification(
"your-x-api-key",
"your-app-id"
);
const { verifyPlateNumber } = premblyDataVerification;
verifyPlateNumber("123456")
.then((res) => console.log(res))
.catch((err) => console.err);
Note: Replace "your-x-api-key" and "your-app-id" with your actual credentials.
import { PremblyGeneralVerification } from "prembly-pass";
const premblyGeneralVerification = new PremblyGeneralVerification(
"your-x-api-key",
"your-app-id"
);
const { emailVerification } = premblyGeneralVerification;
emailVerification("test@email.com")
.then((res) => console.log(res))
.catch((err) => console.err);
Note: Replace "your-x-api-key" and "your-app-id" with your actual credentials.
import { PremblyDocumentVerification } from "prembly-pass";
const premblyDocumentVerification = new PremblyDocumentVerification(
"your-x-api-key",
"your-app-id"
);
const { documentVerification } = premblyDocumentVerification;
verifyCompanyWithName("PP", "GBR", "img_string")
.then((res) => console.log(res))
.catch((err) => console.err);
Note: Replace "your-x-api-key" and "your-app-id" with your actual credentials.
import { PremblyGlobalBusinessVerification } from "prembly-pass";
const premblyGlobalBusinessVerification = new PremblyGlobalBusinessVerification(
"your-x-api-key",
"your-app-id"
);
const { verifyCompanyWithName } = premblyGlobalBusinessVerification;
verifyCompanyWithName("Test Company", "NG")
.then((res) => console.log(res))
.catch((err) => console.err);
Note: Replace "your-x-api-key" and "your-app-id" with your actual credentials.
This project is licensed under the MIT License. See the LICENSE file for details.