Payload Structure
Understand the structure and fields of webhook payloads.
Base Payload Structure
All webhook events follow the same base structure:
base-structure.jsonjson
Loading...
Common Fields
These fields are present in all verification-related events:
| Field | Type | Description |
|---|---|---|
id | string | Unique event identifier (use for deduplication) |
type | string | Event type (e.g., "verification.completed") |
apiVersion | string | API version used for this event |
createdAt | string (ISO 8601) | When the event was created |
data.verificationId | string | null | Verification ID (null if not started) |
data.linkId | string | Verification link ID |
data.referenceId | string | null | Your reference ID (if provided) |
data.status | string | Current verification status |
data.flowType | string | "standard" or "enhanced" |
Document Object
Present in completed verifications:
document-object.jsonjson
Loading...
Document Types
| Type | Description |
|---|---|
passport | International passport |
drivers_license | Driver's license |
id_card | National ID card |
residence_permit | Residence permit |
visa | Travel visa |
Person Object
Contains extracted personal information:
person-object.jsonjson
Loading...
PII Access
Some fields may be partially masked or omitted based on your account's PII access settings. Contact support to enable full PII access.Checks Object
Results of individual verification checks:
checks-object.jsonjson
Loading...
Check Statuses
| Status | Description |
|---|---|
passed | Check passed successfully |
failed | Check failed |
skipped | Check was not performed (not configured) |
inconclusive | Could not determine result (requires review) |
Metadata Object
Additional context about the verification:
metadata-object.jsonjson
Loading...
Score Field
The score field indicates confidence level (0-100):
| Range | Meaning | Typical Action |
|---|---|---|
| 90-100 | High confidence | Auto-approve |
| 70-89 | Medium confidence | Auto-approve with flag |
| 50-69 | Low confidence | Manual review |
| 0-49 | Very low confidence | Auto-reject or review |
TypeScript Types
Use these TypeScript types for type-safe webhook handling:
types.tstypescript
Loading...
Parsing Examples
parsing.jsjavascript
Loading...