verifiedly

1.0.2 • Public • Published

Getting started

A full documentation and getting started guide can be found Here

Installation

npm i verifiedly

Usage

const verifiedly = require('verifiedly')('API_KEY_HERE')

Verification Sessions

A verification session is used to invoke a verifiedly UI element. Whether on a browser or in a mobile application.

A successful session request includes the following;

  1. status
  2. session
  3. link

Status

A status basically informs you of the status of the request.

Session

A session is what is used to invoke a verification session in whatever environment you choose. Without a session, any request to invoke the verifiedly UI will fail.

Link

A link is also provided incase you want to pass that to your frontend, to allow your user confinently click on a verification button.

Requesting a KYC session

verifiedly.getKycSession().then(response => {
    console.log(response)
}) .catch(error => {
    console.log(error)
})

Requesting a KYB session

verifiedly.getKybSession().then(response => {
    console.log(response)
}) .catch(error => {
    console.log(error)
})

Package Sidebar

Install

npm i verifiedly

Weekly Downloads

7

Version

1.0.2

License

ISC

Unpacked Size

4.78 kB

Total Files

4

Last publish

Collaborators

  • samuelail