API Integration
Learn how to call the RiskOS™ Evaluation API for identity verification with Predictive DocV (DocV).
Socure Predictive Document Verification API integration guide
This guide walks you through how to integrate with Socure’s /api/evaluation endpoint using any of the following Predictive Document Verification enrichments:
- Document Verification
- Secondary Document Capture
- Selfie Intelligence
- Selfie Reverification
When you call the /api/evaluation endpoint, RiskOS™ will initiate the request through your configured workflow. When the workflow reaches the Document Request step, RiskOS™ pauses the workflow execution and returns a verification link, QR code, or token for launching the Capture App. After the user completes capture, the workflow continues automatically to Document Verification and subsequent enrichment steps.
Before you start
Make sure your RiskOS™ environment is provisioned with:
Postman Collection
The following Postman collection can be used to test the DocV enrichment with the Evaluation endpoint.
Choose your environment
Start with Sandbox for development and testing, then move to Production for live applications.
https://riskos.sandbox.socure.com/api/evaluation- No real customer data
- Free testing environment
- Unlimited API calls
Get an API key
- In the Sandbox RiskOS™ Dashboard, go to Developer Workbench > API Keys.
- Copy your API key securely.
How it works
- Send a
POSTrequest to the/api/evaluationendpoint with the required identity data and a device session token (from the Digital Intelligence SDK). - Socure runs the request through your configured RiskOS™ workflow with the DocV enrichment. The system generates a transaction and provides a link or token for the user to complete the document and selfie capture process via the DocV Capture App (web or mobile).
- The user is guided through capturing and uploading images of their government-issued ID and a selfie. The Capture App validates image quality and uploads the images to Socure for verification.
- DocV is asynchronous. You must either poll the evaluation status using the
PATCHEvaluation API or subscribe to webhook notifications to receive real-time updates when the DocV step is completed (e.g., ACCEPT, REJECT, or additional action required). - Once verification is complete, you receive the final evaluation result, including the DocV decision and any enriched identity data. Use this information to approve, decline, or further review the user, and to auto-populate forms or accelerate your onboarding workflow.
Start a new evaluation
Endpoint
POST https://riskos.sandbox.socure.com/api/evaluationPOST https://riskos.socure.com/api/evaluationAuthentication and headers
Include your API key in the Authorization header as a Bearer token, along with standard JSON headers:
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
Accept: application/json
X-API-Version: 2025-01-01.orion # optional – pins a specific API versionExample request
{
"id": "APP-123456",
"timestamp": "2025-07-31T15:00:10.761Z",
"workflow": "consumer_onboarding",
"data": {
"individual": {
"given_name": "John",
"family_name": "Smith",
"date_of_birth": "1989-05-07",
"phone_number": "+19998887777",
"address": {
"line_1": "1234 N College Ave",
"locality": "New York City",
"major_admin_division": "NY",
"country": "US",
"postal_code": "10001"
},
"docv": {
"config": {
"document_type": "license",
"send_message": true,
"language": "en-us",
"redirect": {
"method": "POST",
"url": "https://example.com/docv"
}
}
}
}
}
}curl --location --request POST 'https://riskos.sandbox.socure.com/api/evaluation' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data-raw '{
"id": "APP-123456",
"timestamp": "2025-07-31T15:00:10.761Z",
"workflow": "consumer_onboarding",
"data": {
"individual": {
"given_name": "John",
"family_name": "Smith",
"date_of_birth": "1989-05-07",
"phone_number": "+19998887777",
"address": {
"line_1": "1234 N College Ave",
"locality": "New York City",
"major_admin_division": "NY",
"country": "US",
"postal_code": "10001"
},
"docv": {
"config": {
"document_type": "license",
"send_message": true,
"language": "en-us",
"redirect": {
"method": "POST",
"url": "https://example.com/docv"
}
}
}
}
}
}'
Request schema
Top-level fields
Field | Type | Required | Description | Example |
|---|---|---|---|---|
| String | Required | Required, customer-defined unique identifier for the request. This value must be unique for each evaluation. Reusing an ID causes RiskOS™ to treat the request as a re-run and can impact processing behavior, results, and downstream workflows. |
|
| String | Required | Timestamp when evaluation was initiated. |
|
| String | Required | RiskOS™ workflow name. |
|
| Object | Required | Primary payload container. | |
→ | Object | Optional (Recommended) | Primary identity object containing individual's information. | See |
individual fields
individual fieldsWhile not required, including personally identifiable information (PII) is strongly encouraged. Providing PII supports consent audits and consumer data requests, and it also improves match accuracy and overall verification performance.
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
given_name | String | Optional (Recommended) | First name | "John" |
family_name | String | Optional (Recommended) | Last name | "Smith" |
date_of_birth | String | Optional (Recommended) | Date of birth (YYYY-MM-DD) | "1989-05-07" |
phone_number | String | Optional (Recommended) | Phone number in E.164 format | "+19998887777" |
address | Object | Optional (Recommended) | Consumer address | See address schema below. |
docv | Object | Conditional | DocV configuration and capture settings | See docv schema below. |
additional_context | Object | Optional | Passes additional data required by specific Socure products. | See additional_context schema below. |
address fields
address fields| Field | Type | Required | Description | Example |
|---|---|---|---|---|
line_1 | String | Optional (Recommended) | Street address line 1 | "1234 N College Ave" |
line_2 | String | Optional | Street address line 2 | "Apt 3C" |
locality | String | Optional (Recommended) | City | "New York City" |
major_admin_division | String | Optional (Recommended) | State/province or region (ISO 3166-2) | "NY" |
postal_code | String | Optional (Recommended) | ZIP or postal code | "10001" |
country | String | Optional (Recommended) | ISO 3166-1 alpha-2 country code | "US" |
docv fields
docv fields| Field | Type | Required | Description | Example |
|---|---|---|---|---|
transaction_token | String | Conditional | The transaction token from the Document Request API response (v5). Use this if integrated with Socure's DocV solution. | "1e89eec0-f7a3-4210-b74b-a76bc9556c50" |
config | Object | Optional | Configuration options controlling Capture App behavior and document verification flow for a given transaction. | See config schema below. |
→ send_message | Boolean | Optional | Set to true to send an SMS to the provided phone number with the document request URL. Defaults to false. - US & Canada: sent from short code 33436 - Other countries: sent from +1 (510) 330-19xx | true |
→ language | String | Optional | Determines Capture App UI language. Defaults to en-us. | "en-us" |
→ use_case_key | String | Optional | Deploys a specific Capture App flow created in RiskOS™. Defaults to the account’s default flow or the flow configured in the RiskOS™ workflow. | "default_capture_flow" |
→ redirect | Object | Optional | Object containing post-capture redirect behavior. | See redirect schema below. |
→ redirect.method | String | Conditional | Required if redirect is provided. Accepts GET or POST. | "POST" |
→ redirect.url | String | Conditional | Required if redirect is provided. The destination URL to send the consumer after capture. Can include query strings for transaction tracking. | "https://example.com/docv" |
→ document_type | String | Optional | Restrict to a single document type (license or passport) for a simplified flow. Users skip the document type selection screen when passed. | "license" |
→ transaction_token | String | Optional | Used primarily in Sandbox testing to indicate the expected decision outcome. Required when simulating test results. | "sandbox-simulated-pass" |
additional_context fields
additional_context fields| Field | Type | Required | Description | Example |
|---|---|---|---|---|
driver_license | String | Optional | Driver’s license number. | "D1234567" |
driver_license_state | String | Optional | Two-letter issuing state code. | "NY" |
previous_reference_id | String (UUID) | Conditional | Reference to a prior evaluation. Required when using the Selfie Reverification enrichment. | 738508b3-0dee-4302-ba8f-ba90b454ba |
1. Workflow paused — Handoff details
Example Response
This response is returned when the workflow reaches Document Request. Use the URL/QR/token to launch the Capture App and hand the user off to DocV.
How it works*:
data_enrichments.response.data.url→ Capture App linkdata_enrichments.response.data.qrCode→ Base64 PNG for QR handoffdata_enrichments.response.data.docvTransactionToken→ transaction token (store for later correlation)status: "ON_HOLD"/eval_status: "evaluation_paused"→ the workflow is paused waiting for user capture
{
"id": "APP-123456",
"workflow": "consumer_onboarding",
"workflow_id": "7164c67b-293d-44cb-816d-8f5478ea070c",
"workflow_version": "2.10.0",
"eval_source": "API",
"eval_id": "d48bcc0e-ab3c-43a4-b03e-67208458ec62",
"eval_start_time": "2025-08-25T18:55:25.061977405Z",
"eval_end_time": "2025-08-25T18:55:25.687337879Z",
"decision": "REVIEW",
"decision_at": "2025-08-25T18:55:25.687347933Z",
"status": "ON_HOLD",
"sub_status": "",
"tags": [],
"notes": "",
"review_queues": ["Default Queue"],
"data_enrichments": [
{
"enrichment_name": "Socure Document Request - Default Flow",
"enrichment_endpoint": "https://service.socure.com/api/5.0/documents/request",
"enrichment_provider": "SocureDocRequest",
"status_code": 200,
"request": {
"city": "New York City",
"config": {
"documentType": "license",
"language": "en-us",
"redirect": {
"method": "POST",
"url": "https://example.com/docv"
},
"sendMessage": true
},
"country": "US",
"dob": "1989-05-07",
"firstName": "John",
"mobileNumber": "+1999888777",
"physicalAddress": "1234 N College Ave",
"state": "NY",
"surName": "Smith",
"zip": "10001"
},
"response": {
"data": {
"docvTransactionToken": "1e89eec0-f7a3-4210-b74b-a76bc9556c50",
"eventId": "1e89eec0-f7a3-4210-b74b-a76bc9556c50",
"qrCode": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZoAAAGaCAIAAAC5ZBI0AAALlklE... (truncated)",
"url": "https://verify.socure.com/#/dv/1e89eec0-f7a3-4210-b74b-a76bc9556c50"
},
"referenceId": "3639f9ad-e1fe-4e3e-9202-18faf20ace56"
},
"is_source_cache": false,
"total_attempts": 1
}
],
"eval_status": "evaluation_paused",
"environment_name": "Sandbox"
}Response schema
Top-level fields
| Field | Type | Description | Example |
|---|---|---|---|
id | String | Your original request id, echoed back in the response. | "DOCV-CASE-001234" |
eval_id | String (UUID) | Internally generated for each evaluation run and required for GET and PATCH requests in RiskOS™. | "e5c3b4b2-9e0f-44f2-9c6f-0a3a5f2b7b61" |
decision | String (enum) | Final decision — PASS, REVIEW, or FAIL. | "PASS" |
status | String (enum) | Case status in RiskOS™ — OPEN, CLOSED, or ON_HOLD. | "CLOSED" |
sub_status | String | Workflow-specific sub-status. | "DocV Passed" |
decision_at | String <Date-Time> | RFC 3339 timestamp when the decision was made. | "2025-10-21T17:41:59Z" |
tags | Array of Strings | Labels explaining the decision. | |
review_queues | Array of Strings | Routing queues for manual review. | |
data_enrichments | Array of Objects | Detailed enrichment call results. | See data_enrichments |
data_enrichments fields
data_enrichments fields| Field | Type | Description | Example |
|---|---|---|---|
enrichment_name | String | Name of the enrichment product. | "Socure DocV" |
enrichment_endpoint | String | API endpoint used for enrichment. | |
enrichment_provider | String | Provider of the enrichment. | "Socure" |
status_code | Integer | HTTP status code of the enrichment call. | 200 |
request | Object | Payload sent to the enrichment provider. | See request schema |
response | Object | Response payload returned by the provider. | See response schema |
is_source_cache | Boolean | Indicates the enrichment response was cached. | |
total_attempts | Integer | Number of attempts for this enrichment call. |
request fields
request fields| Field | Type | Description | Example |
|---|---|---|---|
country | String | Country code in ISO 3166-1 alpha-2 format (e.g., US, CA, GB). | "US" |
firstName | String | Consumer’s given name (first name). | "John" |
surName | String | Consumer’s family name (last name). | "Smith" |
nationalId | String | Government-issued identifier (e.g., SSN in the U.S. or national ID in other countries). | "136582341" |
dob | String (YYYY-MM-DD) | Consumer’s date of birth in YYYY-MM-DD format. | "1989-05-07" |
streetAddress | String | Street address line of the consumer’s residence. | "1234 N College Ave" |
city | String | City of the consumer’s residence. | "New York City" |
state | String | State, province, or region of the consumer’s residence. | "NY" |
zip | String | Postal or ZIP code of the consumer’s residence. | "10001" |
ipAddress | String | IP address (IPv4 or IPv6) observed during the consumer’s session. | "203.0.113.42" |
phone | String | Consumer’s phone number in E.164 format (e.g., +13475550100). | "+19998887777" |
email | String | Consumer’s email address. | "[email protected]" |
response fields
response fields| Field | Type | Description |
|---|---|---|
referenceId | String (UUID) | Unique identifier assigned to each enrichment after a RiskOS™ workflow is finalized. |
data | Object | Contains metadata and assets returned from a document verification (DocV) enrichment. |
→url | String (URL) | Capture App link for document capture. |
→qrCode | String | Base64-encoded PNG image for QR handoff. |
→docvTransactionToken | String | Document verification transaction token (store for later correlation). |
2. Post‑verification — completed with DocV results
This response is returned after the user completes the Capture App process and the workflow completes all remaining steps. This response can be received through the evaluation_complete webhook or through a GET request to the /api/evaluation endpoint. You’ll see the DocV enrichment with reason codes, extracted data, and the DocV decision.
How it works:
data_enrichments.response.documentVerification.decision.value→ DocV result (accept,review,resubmit,reject)data_enrichments.response.documentVerification.reasonCodes→ explanations/flagsdata_enrichments.response.documentVerification.documentData→ extracted fields (e.g., DOB, document number)- Top‑level
decision+ routing metadata → use for your workflow handling and for the overall workflow decision
Example response
When you call the Evaluation API, RiskOS™ returns a JSON payload that includes the final decision, evaluation metadata, and enrichment-specific results.
{
"id": "APP-123456",
"eval_id": "6dc8f39c-ecc3-4fe0-9283-fc8e5f99e816",
"decision": "REVIEW",
"tags": [],
"review_queues": [],
"data_enrichments": [
{
"enrichment_name": "Socure DocV",
"enrichment_endpoint": "https://sandbox.dev.socure.com/api/3.0/EmailAuthScore",
"enrichment_provider": "Socure",
"status_code": 200,
"request": { ... },
"response": {
"referenceId": "a1234b56-e789-0123-4fga-56b7c890d123",
"documentVerification": {
"reasonCodes": [
"I834",
"I823",
"I826",
"I845",
"I820",
"R831",
"I838",
"R836",
"I824",
"I822"
],
"documentType": {
"type": "Drivers License",
"country": "USA",
"state": "NY"
},
"decision": {
"name": "standard",
"value": "reject"
},
"documentData": {
"firstName": "John",
"surName": "Smith",
"fullName": "John Smith",
"address": "32194 N College Ave, New York City, NY 10001",
"parsedAddress": {
"physicalAddress": "32194 N College Ave",
"physicalAddress2": "New York City NY 10001",
"city": "New York City",
"state": "NY",
"country": "US",
"zip": "10001"
},
"documentNumber": "00000000",
"dob": "1989-05-07",
"issueDate": "2021-01-12",
"expirationDate": "2029-05-07",
"barcode": {
"firstName": "John",
"surName": "Smith",
"complianceType": "F",
"licenseClass": "C"
}
}
}
}
}
]
}
Key response fields
RiskOS™ returns a consistent set of top-level fields that describe the outcome of an evaluation, along with enrichment-specific results that depend on your workflow configuration.
Where to find specific results
| Area | Fields | How to use it |
|---|---|---|
| Decision and routing | decision, decision_at, tags, review_queues, notes, score | Primary control signals. Branch application logic using decision. Use tags, queues, notes, and score for secondary routing, review, and explanation. |
| Module results | Module-specific fields (for example: reasonCodes, scores, extracted attributes) | Evidence and signals produced by workflow modules. Use for escalation, compliance review, investigation, and audit. |
| Identifiers and traceability | id, eval_id | Persist these identifiers to correlate API calls, logs, webhooks, GET requests, and support cases. |
| Enrichment execution | data_enrichments[] (response, status_code, total_attempts, is_source_cache) | Inspect enrichment outputs and detect provisioning issues, partial failures, retries, or cached responses. |
| Workflow context | workflow, workflow_id, workflow_version | Understand which workflow ran and which version produced the result. Useful for debugging and historical analysis. |
| Evaluation lifecycle | eval_status, status, sub_status | Execution and case state only. Useful for monitoring and asynchronous workflows. Do not use for business decisions. |
| Execution context | eval_source, eval_start_time, eval_end_time, environment_name | Observability and performance metadata for latency tracking, environment validation, and API vs Dashboard attribution. |
Decision and routing (primary control signals)
Use these fields to determine what action your application should take.
decisionvalues are workflow-specific and may differ from the examples shown in this guide.
| Field | Type | Description | Example |
|---|---|---|---|
decision | String (enum) | Final evaluation result. Possible values: • ACCEPT• REVIEW• REJECTNote: The fields returned can be customized to fit your integration or business needs. | "REVIEW" |
decision_at | String <Date-Time> | RFC 3339 timestamp when the decision was finalized. | "2025-10-18T14:09:22.641Z" |
score | Number | If configured for a workflow, provides an aggregate score of all steps. This can be used for risk banding, additional routing, or analytics alongside the primary decision value. | 0.63 |
tags | Array of Strings | Array of labels applied during the workflow to highlight routing choices, notable signals, or rule outcomes. Useful for reporting, segmentation, or UI highlighting in the RiskOS™ Dashboard. | [] |
review_queues | Array of Strings | Lists any manual review queues the evaluation was sent to. Empty when the case is fully auto-resolved without human review. | [] |
notes | String | Freeform text field for analyst or system comments about the evaluation. Often used to capture manual review rationale or investigation context. | "Manual review recommended based on risk signals" |
Evaluation lifecycle and status
These fields describe where the evaluation is in its lifecycle and are useful for monitoring and asynchronous workflows.
| Field | Type | Description | Example |
|---|---|---|---|
eval_status | String (enum) | Indicates the current state of an evaluation in RiskOS™. Possible values: • evaluation_completed• evaluation_paused• evaluation_in_progress | "evaluation_completed" |
status | String (enum) | Indicates the current state of an evaluation or case. Possible values: • OPEN• CLOSED | "CLOSED" |
sub_status | String | Provides additional detail about the evaluation status. Example values: • Under Review• Pending Verification• Accept• Reject | "Under Review" |
Identifiers and traceability
Use these fields to correlate requests, logs, webhooks, and support cases.
| Field | Type | Description | Example |
|---|---|---|---|
id | String (UUID or custom string) | Your evaluation identifier within RiskOS™. Note: This is customer-generated. | "APP-123456" |
eval_id | String (UUID) | RiskOS-generated unique identifier for the evaluation. | "6dc8f39c-ecc3-4fe0-9283-fc8e5f99e816" |
workflow_id | String (UUID) | Unique identifier for the workflow run. | "dc7f261e-b158-477e-9770-7e4eae066156" |
workflow_version | String | Version of the executed workflow. | "28.16.0" |
Execution context
These fields provide timing and environment context for the evaluation.
| Field | Type | Description | Example |
|---|---|---|---|
eval_source | String enum | Indicates where the evaluation was initiated from. Possible values: • API: Request submitted via the Evaluation API.• Dashboard: Case created or evaluated through the RiskOS™ Dashboard. | "API" |
eval_start_time | String <Date-Time> | RFC 3339 timestamp for when RiskOS™ started processing the evaluation. Useful for latency and performance monitoring. | "2025-10-07T23:50:03.60187976Z" |
eval_end_time | String <Date-Time> | RFC 3339 timestamp for when RiskOS™ finished processing the evaluation. Can be paired with eval_start_time to compute total processing time. | "2025-10-07T23:50:03.738794253Z" |
environment_name | String | Indicates which environment the evaluation ran in. Typically Sandbox for testing or Production for live traffic. | "Sandbox" |
Enrichment results
Enrichment outputs are returned in the data_enrichments array.
| Field | Type | Description | Example |
|---|---|---|---|
enrichment_name | String | Name of the enrichment executed as part of the evaluation. | "Socure DocV" |
enrichment_endpoint | String | API endpoint used for the enrichment request. | "https://sandbox.dev.socure.com/api/3.0/DocumentVerification" |
enrichment_provider | String | Provider responsible for the enrichment. | "Socure" |
status_code | Integer | HTTP status code returned by the enrichment provider. | 200 |
request | Object | Payload sent to the enrichment provider (often redacted in documentation examples). | { ... } |
response | Object | Enrichment response payload containing DocV results. | See documentVerification response schema below. |
documentVerification fields
documentVerification fields| Field | Type | Description | Example |
|---|---|---|---|
reasonCodes | Array of Strings | List of rule or insight codes returned from DocV analysis. | ["I834","I823","I826","I845","I820"] |
documentType | Object | Details about the document type provided for verification. | See documentType fields |
decision | Object | Result of the document verification analysis. | See decision fields |
documentData | Object | Parsed data extracted from the submitted document. | See documentData fields |
Tip:
reasonCodesare machine-readable flags that explain why a decision occurred (e.g., data mismatches, capture issues, authenticity checks). They appear under the DocV enrichment response and are intended for routing, UX, and review workflows.Where you’ll see them
data_enrichments.response.documentVerification.reasonCodesHow to use them
- Drive resubmission UX (e.g., prompt for glare removal if an image quality code is present).
- Route to manual review when authenticity or data consistency codes indicate risk.
- Log for audit and analytics.
The full catalog of reason codes and their descriptions is available in your Socure documentation/console or in the reason code list.
documentType
documentType| Field | Type | Description | Example |
|---|---|---|---|
type | String | Human-readable document type. | "Drivers License" |
country | String | Country associated with the document type. | "USA" |
state | String | State/region associated with the document type. | "NY" |
Supported document types
Below are the document types you may encounter in documentVerification.documentType and when configuring capture flows. Coverage and acceptance may vary by country and program.
| Document Type | Description |
|---|---|
| Drivers License | A government-issued license permitting the consumer to operate a motor vehicle. |
| Identification Card | A non-driver government-issued photo ID for verifying identity. |
| Passport | An official government document certifying identity and nationality, used for international travel. |
| Employment Authorization Card | A document issued by USCIS that proves authorization to work in the U.S. |
| Permanent Resident Card | A document (e.g., U.S. Green Card) proving the consumer’s lawful permanent resident status. |
| Passport Card | A wallet-sized U.S. document used for land and sea travel between certain countries. |
| Military ID | An ID card issued by a country’s armed forces to identify active-duty or retired service members. |
| Health Card | An ID card issued by a government or insurer to access health services. |
| Visa | An official endorsement permitting the consumer to enter, stay, or work in a foreign country. |
| Social Security Card | A U.S. government-issued card showing the consumer’s Social Security Number (SSN). |
| Weapons License | A document permitting the consumer to carry or own firearms or other regulated weapons. |
| Tribal ID Card | A government-recognized identity card issued by a Native American or Indigenous tribe. |
| Mexican Permanent Resident Card | An identity document for foreign nationals authorized to live permanently in Mexico. |
decision
decisionNote:
DocV responses are recommendations only. They are intended to inform your decisioning process and should be integrated into your organization’s broader risk strategy.
| Field | Type | Description | Example |
|---|---|---|---|
name | String | Internal label representing the configured decision rule set (e.g., "lenient" or "strict"). | "lenient" |
value | String | Outcome of the DocV analysis. One of: • accept — Images met validation criteria and were verified.• reject — Images failed some or all required validation criteria.• resubmit — User must resubmit due to unacceptable image quality or missing data.• review — Images did not meet configured criteria and should be manually reviewed. Returned only if enabled in your DocV Product Settings. | "reject" |
documentData
documentDataThe documentData object contains the extracted data from OCR, barcode, or MRZ.
Note:
If DocV cannot extract sufficient information due to poor image quality or unreadable fields, the
documentDataobject will not be present, and the decision will beresubmit.
Field | Type | Description | Example |
|---|---|---|---|
| String | The personal identifier value extracted from the ID, when applicable. Note: The meaning and availability of this value vary by country and document type, but it generally represents an identifier tied to the individual rather than the document itself (for example, a tax identification number or voter ID). |
|
| String | Indicates what the personal number represents. Supported values depend on the issuing country and document type. |
|
| String | First/given name parsed from the document. |
|
| String | Last/family name parsed from the document. |
|
| String | Full name as printed on the document. |
|
| String | Single-line address string (as returned). |
|
| Object | Structured address parts extracted from | See |
| String | Document identifier/number. |
|
| String | Date of birth (YYYY-MM-DD). |
|
| String | Document issue date (YYYY-MM-DD). |
|
| String | Document expiration date (YYYY-MM-DD). |
|
| Object | Contains identity and license details parsed from the barcode of a government-issued ID. | See |
parsedAddress fields
parsedAddress fields| Field | Type | Description | Example |
|---|---|---|---|
physicalAddress | String | Primary street address (line 1) of the parsed location. | "32194 N College Ave" |
physicalAddress2 | String | Combined city, state, and postal code as returned from parsing. | "New York City NY 10001" |
city | String | City component extracted from the parsed address. | "New York City" |
state | String | State, province, or regional code component extracted from the address. | "NY" |
country | String | ISO 3166-1 alpha-2 country code associated with the parsed address. | "US" |
zip | String | Postal or ZIP code component extracted from the parsed address. | "10001" |
barcode fields
barcode fields| Field | Type | Description | Example |
|---|---|---|---|
firstName | String | The individual’s given or first name as encoded in the barcode. | "John" |
middleName | String | The individual’s middle name or initial extracted from the barcode. | "Larry" |
surName | String | The individual’s last name or family name as encoded in the barcode. | "Smith" |
nameSuffix | String | Any name suffix present, such as Jr., Sr., II, or III. | "JR" |
complianceType | String | Code representing the license’s compliance type (e.g., Federal or state). | "F" |
licenseClass | String | The class or category of license (e.g., commercial, operator, etc.). | "C" |
Updated 14 days ago
