Skip to main content

Verifying ID document (v1)

Deprecated

This version of this step type has been deprecated. Documentation will not be maintained.

Agent-assisted or automated document-based identity verification via IDnow's DocIDV service​

Verifies the end user's identity by routing the session to IDnow's DocIDV service, which performs document analysis through either a live video session with an agent (VideoIdent) or a fully automated process (AutoIdent). Results are returned as a DocumentVerification data block.


Key features​

  • Dual verification modes: Supports fully automated (AutoIdent) and agent-assisted video (VideoIdent) identification; IDnow selects the method based on the configured shortname.
  • Redirect-based UX: The user is redirected to IDnow's DocIDV web interface via a generated URL; the step waits for the session to complete before resuming the flow.
  • Automatic completion: The step finishes as soon as IDnow confirms the identification outcome. The verification report and evidence files are then available as vault references in the DocumentVerification data block. You don't need to configure anything for this.
  • Identity data cross-checking: When inputs are mapped via inputMapping, pre-captured BasicIdentity and ExtendedIdentity data is forwarded to DocIDV for comparison against the submitted document.
  • Configurable handoff: When handoff: true, the Player is redirected immediately on a pending-review trigger, allowing the user to close the browser while the review continues in the background.

Configuration​

OptionTypeRequiredDefaultDescription
inputSourcesobjectNo—Deprecated: use inputMapping instead.
inputSources.basicIdentitystringNo—ID of an upstream step whose BasicIdentity output should be forwarded to DocIDV for identity data cross-checking.
inputSources.extendedIdentitystringNo—ID of an upstream step whose ExtendedIdentity output should be forwarded to DocIDV for identity data cross-checking.
configobjectYes—Environment-specific configuration.
config.live.shortnamestringYes—DocIDV shortname for the environment (live or staging). Provided by IDnow during onboarding. (live)
config.staging.shortnamestringYes—DocIDV shortname for the environment (live or staging). Provided by IDnow during onboarding. (staging)
handoffbooleanNofalseWhen true, redirects the player immediately when the identification enters a pending review state (REVIEW_PENDING, CHECK_PENDING, or FRAUD_SUSPICION_PENDING) and resumes polling in the background. Uses the session redirectUrl if configured; otherwise shows a submission-complete message.
webJourneyOnlybooleanNofalseWhen true, the redirect URL returned to the player is constructed as the DocIDV web journey URL (derived from the onboarding base URL, shortname, and identification ID) instead of the channel chooser redirect URL.
enableRetrybooleanNofalseWhen true, adds a retry output route that can be used to handle user cancellations.

Example configuration​

{
"config": {
"live": { "shortname": "your-live-shortname" },
"staging": { "shortname": "your-staging-shortname" }
}
}

Deprecated: the legacy inputSources option is retained for backwards compatibility only. New flows must wire basicIdentity / extendedIdentity via the top-level inputMapping field.


Input data blocks​

Data blockRequiredDescription
BasicIdentityNoIdentity data forwarded to DocIDV for cross-checking against document data when mapped via inputMapping.
ExtendedIdentityNoExtended identity data forwarded to DocIDV for cross-checking against document data when mapped via inputMapping.

Routes​

RouteDescription
verifiedThe document was successfully processed and identity data was extracted. The DocIDV service accepted the result — either the automated or agent-assisted analysis passed.
fraud_detectedThe document was identified as fraudulent. Identity data may have been extracted and is available for manual review.
retryAvailable only when enableRetry is true. User cancelled and can retry.

Progress​

While the step runs, it reports the following progress values in order. See Track step progress for how to follow them.

  1. IN_PROGRESS — Set when the step starts, while the capture session is being prepared. The user cannot act yet.
  2. ENDUSER_INPUT_NEEDED — Set once the capture session is ready. The step is waiting for the user to capture their document, and holds this value until they do.

Output data blocks​

RouteData blocks produced
verifiedBasicIdentity, ExtendedIdentity, DocumentData, DocumentImages, DocumentVerification, BiometricSamples
fraud_detectedBasicIdentity, ExtendedIdentity, DocumentData, DocumentImages, DocumentVerification, BiometricSamples
retryDocumentVerification
Available only when enableRetry is true.
Step compatibility

The DocumentImages produced by Verifying ID document (v1) are ID-category images (passport, driving licence, etc.). They cannot be used as input to Verifying IBAN - API only (v1) or Verifying proof of address - API only (v1), which require bank or address documents respectively.

Example payloads​

BasicIdentity — verified
{
"givenName": "Jean",
"familyName": "Dupont",
"name": "Jean Dupont",
"birthDate": "1985-03-22",
"birthPlace": "Paris"
}
ExtendedIdentity — verified
{
"portrait": {
"$ref": "vault",
"$id": "020ff369-43d8-4b8a-94e7-6814c0bdc35a"
},
"nationality": "FRA",
"personalAdministrativeNumber": "185037510145622",
"familyNameBirth": "Dupont",
"givenNameBirth": "Jean",
"sex": 1,
"emailAddress": null,
"mobilePhoneNumber": null,
"residentAddress": "24 RUE DANTON 35700 RENNES FRANCE",
"residentStreet": "RUE DANTON",
"residentHouseNumber": "24",
"residentHouseName": null,
"residentCountry": "FR",
"residentState": "Bretagne",
"residentCity": "RENNES",
"residentPostalCode": "35700"
}
DocumentData — verified
{
"documentType": "ID",
"documentNumber": "D123456789",
"expiryDate": "2030-06-15",
"issuanceDate": "2020-06-15",
"issuingCountry": "FR",
"issuingAuthority": "Préfecture de Paris"
}
DocumentVerification — verified
{
"verdict": {
"status": "VERIFIED",
"reason": null
},
"issues": [],
"report": {
"$ref": "vault",
"$id": "7f3a1c2d-9e4b-4f8a-b1c2-d3e4f5a6b7c8"
},
"evidences": [
{
"type": "documentFrontOriginalImage",
"ref": {
"$ref": "vault",
"$id": "4d29e1a0-1b2c-4d3e-9f5a-6b7c8d9e0f1a"
}
},
{
"type": "documentBackOriginalImage",
"ref": {
"$ref": "vault",
"$id": "3c18d0b9-0a1b-3c2d-8e4b-5a6b7c8d9e0f"
}
}
]
}


Testing​

Before going live, it is important to verify that your integration handles the full range of identification outcomes correctly — from successful verifications to fraud detections, aborts, and review delays.

IDnow provides a Test-Robot service on the TEST environment that simulates the agent side of an identification automatically. This lets you trigger and observe different end-to-end scenarios — such as a happy path, a fraud case, or a canceled ident — and confirm that your application correctly receives and processes the results (e.g. via webhook or API response). Test-Robot is not a replacement for QA engineers, but a tool to validate your integration during development.

Two identification types are supported: