ID Photo Validation Service Flows

Frankie has integrated with a number of ID Validation (IDV) services (speak with our sales team for the latest list. This article refers to Onfido, but applies to all supported services).

These are services that can:

  • capture photos of identity documents,
  • capture selfie pictures/videos
  • validate the photo of the ID for evidence of forgery, tampering, etc
  • compare the selfie with the photo on the ID for facial similarity

For the best customer experience, you should use their supplied SDKs (both for web and native) in your applications to manage the actual photo/selfie process, as they have a number of inbuilt features designed to capture the best images for use in the IDV process . In order to activate those SDKs, you usually need 2 items:

  1. An applicantID - which is a unique identifier the SDK will use to upload data to the IDV service
  2. A time-limited, single-use token that will be used to authenticate the applicant ID via the SDK.

The Frankie API offers up 2 calls that can be used to obtain a token:

These will allow you to create / update an entity, then obtain a new token.

Calls to these endpoints will generate a token and applicantId that can then be passed to the SDK when it is activated in your native/web application.

Once your app has completed capturing the images, you then need to let us know it's time to gather the data and run the comparison process. You do this with a call to the following endpoint:

This call will allow you to update any further entity details captured before we start downloading data. The download process can take anywhere from 1 to 5 minutes due to the fact that Frankie uses service providers that have human failover checks when the AI components cannot fully analyse the ID document images.

🚧

Pro Tip:

Frankie recommend that you do not rely on OCR data capture to pre-populate fields. Whilst very good and accurate in the majority of cases, the time taken (see above) and potential for mistakes can lead to a poorer customer experience.

We recommend that you capture details manually and use the OCR process to verify that the data the users entered matches what was scanned in order to maintain the chain of trust.

The following diagram describes the flow in more detail:

  1. The SDK or Service indicates that a document capture and facial similarity comparison is needed and thus a token is required.
    User data such as a name (at a minimum), date of birth, address and even the ID document data can be collected at this time if available.

  2. Customer's Back-ends services call the Frankie getToken API, passing through what user data is available, along with application IDs (for native apps) or a referrer domain URL (for webapps).
    Frankie will obtain a token and applicantID from your configured service provider and return those to the calling Back-end Service.

  3. The applicantID and token are supplied to the SDK which is then activated.
    It will then guide the user through the ID and selfie capture process.
    These documents will be uploaded to the service provider directly.

  4. The app will then inform the Customer Backend Service that the capture process is complete and pass on any additional user data obtained (address, etc)

  5. The Backend Service will call the initProcess API, updating the user data if available.

  6. The Frankie service will then proceed to download the image and report data and save that into the database.
    Once all the data has been downloaded, the Frankie service will proceed with incorporating the results into the overall risk profile of the user.

  7. Once the risk assessment is complete, a notification webhook is pushed to the Customer service with the latest risk assessment results.

All of the captured images/videos as well as the full IDV process results are then available through the Frankie portal, or via our GET entity API calls.


Did this page help you?