Submitting Captured Data

Applies to: Direct

After you receive a response from the /start endpoint, the next step is to submit captured data to another endpoint. Captured data might be in the form of a barcode, a front image, or a back image from the identification document. You must submit different types of captured data based on the combination of document_type and signals in the /start request.

For example, suppose you submitted na_dl as the document_type along with idcheck in the signals array. This is a common combination used to verify the barcode of a North American driver license. The /start endpoint returns a transaction_id value. You could next use the /submit-barcode endpoint to submit transaction_id along with barcode, which is a base64-encoded string of the barcode data from the backside of the driver license.

👍

Our Direct customers must capture and encode the document images separately.

The following table shows the capture data requirements for common document_type and signals combinations.

Document TypeSignalsBarcodeFrontside of IDBackside of IDSelfie
na_dlidcheckYes or Backside of IDNoYes or BarcodeNo
na_dlidcheck with ocr_scanYes or Backside of IDYesYes or BarcodeNo
na_dlidcheck with ocr_match and ocr_scanYesYesYesNo
na_dlselfie with ocr_scanNoYesNoYes
passportocr_scanNoYesNoNo
passportocr_match with ocr_scanNoYesNoNo
otherocr_scanNoYesYesNo
otherocr_match with ocr_scanNoYesYesNo