How to use
To enable applicant verification, you need to obtain a token. There are two methods for initiating the verification process: through the workplace interface or by using our automated SDK.
Method 1: No Code - Creating Verification Through Workplace
Navigate to the Applicants Page:
Go to the "Verification" section and then select "Applicants."
Create a New Verification:
Fill in the required details:
Application: Choose the relevant application.
Flow: Select the desired flow.
ExternalUserId: Provide the external user ID (unique userID from your system).
Language: Set the preferred language (e.g.,
lang
).Token Lifetime: Specify the token lifetime.
Generate Verification Link:
After providing the necessary information, our system will generate a link.
Share this link with the user to grant them access to the verification process.
Method 2: Automated - Creating Verification Through SDK
To automate the verification process, you can use our SDK. This method involves generating a token on your backend and initializing the SDK with the token as a parameter.
Steps for Automated Verification
Create a Token:
Generate a token on your backend. This step should be done securely to ensure the integrity and security of the verification process. More details can find in Open API section
const axios = require('axios');
async function createToken() {
const response = await axios.post('https://billing.elkyc.com/api/public/verification', {
flowName: 'yourFlowName',
externalUserId: 'user123',
ttl: 3600,
locale: 'uk'
}, {
headers: {
'x-private-app-key': 'yourPrivateAppKey'
}
});
return response.data.accessToken;
}
Use the generated token to initialize the SDK.
Pass the token as a parameter when setting up the SDK.
Private Application Key
In order to use the public api you will need to obtain a private key.
You can retrieve your Private Application Key from Applications > Private app key
.
Last updated