How to launch an onboarding with a trusted source
In case you already have a user photo (User face or user id), you can provide it so that ShareID ensure the face IDV matches it.
-
you need to first ensure with your ShareID sales that, your contract includes this feature (you need both Face IDV and trusted source features)
-
You have to get a token as usual for an onboarding
-
When sending your credendials to the API, set those fields too:
POST {API_URL}/flow/onboarding/auth/business
{
"business_hash": "[BUSINESS_HASH]",
"api_key": "[API_KEY]",
"trusted_source": "[BASE64_ENCODED_IMAGE]",
"methods": ["face"]
}
The parameter "trusted_source" is your image encoded in base64.
You will get the token only if the image provided is a real one (we have detected that this is an image and that it contains a face).
If it's not the case the API will return a 403 http status.