hyperverge-photo-verification
v1.0.6
Published
A React component for photo verification using Hyperverge
Downloads
5
Readme
Getting Started with Create React App
npm i hyperverge-photo-verification
Render verification button
<HypervergePhotoVerification
bvnNumber={exampleBvnNumber}
accessToken={accessToken}
workflowId={hypervergeBvnWorkflow}
transactionId={transactionId}
/>
Generate accessToken
The accessToken is gotten by making a post request to https://auth.hyperverge.co/login with the appId and appKey
e.g
curl --location 'https://auth.hyperverge.co/login' \
--header 'Content-Type: application/json' \
--data '{
"appId": "appId,
"appKey": appKey
}'
exampleBvnNumber
This should be a valid BVN to be verified
Workflow ID
This should be gotten from the Hyperverge dashboard
Transaction ID
A unique identify of the current transaction