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 a North American driver license. The /start endpoint returned a transaction_id value. You could next use the /submit-back endpoint to submit transaction_id along with back, which is a base64-encoded string of image 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 kycYes or Backside of IDNoYes or BarcodeNo
na_dlidcheck with criminal_backgroundYes or Backside of IDNoYes or BarcodeNo
na_dlidcheck with ocr_match and ocr_scanYesYesYesNo
na_dlselfie with ocr_scanNoYesNoYes
passportocr_scanNoYesNoNo
passportkyc with ocr_scanNoYesNoNo
passportocr_scan with criminal_backgroundNoYesNoNo
passportocr_match with ocr_scanNoYesNoNo
otherocr_scanNoYesYesNo
otherkyc with ocr_scanNoYesYesNo
otherocr_scan with criminal_backgroundNoYesYesNo
otherocr_match with ocr_scanNoYesYesNo