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.
Last updated
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;
}