DocV
Verify users through government ID scans and biometric selfie capture with the RiskOS™ Predictive Document Verification (DocV) solution for startups.
Overview
This solution uses DocV to verify user identities through government ID scans and biometric selfie capture in a single onboarding flow.
It enables you to:
- Capture and verify government-issued identity documents
- Match the document holder through biometric selfie verification
- Extract identity data directly from verified documents
Together, these capabilities help you verify user identities with high confidence while reducing manual review.
Key behaviors
| Behavior | Detail |
|---|---|
| Decision delivery | The initial API response pauses the evaluation for document capture. The final decision is delivered asynchronously via evaluation_completed webhook after Document Verification completes. |
| Document capture | An evaluation_paused status indicates Document Verification is required. Extract the docvTransactionToken from the response to launch the Capture App. |
Integration path
This solution uses the Direct API integration, where your application owns the onboarding experience end to end.
- Collect and submit user data via API
- Full control over user experience and data handling
- Launch the Document Verification Capture App from your frontend
- Final decision delivered via webhook after document capture completes
End-to-end flow
- Set up your backend environment and configure API keys.
- Collect user identity data (PII) on your custom frontend.
- Create an evaluation (
POST /api/evaluation) with PII and DocV settings. - RiskOS™ pauses the evaluation (
eval_status: evaluation_paused) and returns adocvTransactionTokenused to launch the Capture App via SDK or redirect. - Launch the DocV Web SDK or redirect to the Capture App URL.
- The user completes government ID capture and selfie verification.
- RiskOS™ resumes the evaluation and completes Document Verification.
- RiskOS™ delivers the final decision via
evaluation_completedwebhook. - Route the user:
ACCEPT→ Continue onboardingREJECT→ Stop or route to fallback flow- Retry behavior: DocV runs once per evaluation. If the session fails (for example, expired, declined, or resubmit), you must create a new evaluation to retry.
sequenceDiagram
autonumber
participant User as End User
participant App as Your Platform
participant Socure as Socure
User->>App: Submit PII via signup form
App->>Socure: POST /api/evaluation with PII and DocV settings
Socure-->>App: evaluation_paused + docvTransactionToken
Note over App: Extract docvTransactionToken from response
App-->>User: Launch DocV SDK (Capture App)
User->>Socure: Submit document images and selfie
activate Socure
Note over Socure: Process Document Verification
Socure-->>App: Webhook: evaluation_completed (ACCEPT / REJECT)
deactivate Socure
App-->>User: Show final onboarding result
Evaluation processing
During the Direct API flow, RiskOS™ orchestrates multiple products and verification steps:
Verifies user identity through government-issued ID scan and biometric selfie capture.
Catches fake IDs, deepfakes, and stolen documents.
Next steps
Updated 13 days ago
