GBG Developers

Guides   |   Using the Verify People Service

Using the Verify People Service

The JavaScript code snippet shown below can be used to verify text based name and address information.

function do_peopleverify() {
    return window.sdkInstance.performActivity({
        activity: GBG.IDaaS.Activities.PeopleVerify
    })
        .then((obj) => {
		console.log(obj);
	   })
        .then(() => console.log("done people verify"))
}

When run, text boxes appear for the user to fill in the details.

When the Verify Person button is clicked, the request is sent to the Identity Solution for verification. You can extract the results from the activity meta data (see the Using the Address Service guide to examine how to do that).