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:

FieldTypeDescription
idstringUnique event identifier (use for deduplication)
typestringEvent type (e.g., "verification.completed")
apiVersionstringAPI version used for this event
createdAtstring (ISO 8601)When the event was created
data.verificationIdstring | nullVerification ID (null if not started)
data.linkIdstringVerification link ID
data.referenceIdstring | nullYour reference ID (if provided)
data.statusstringCurrent verification status
data.flowTypestring"standard" or "enhanced"

Document Object

Present in completed verifications:

document-object.jsonjson
Loading...

Document Types

TypeDescription
passportInternational passport
drivers_licenseDriver's license
id_cardNational ID card
residence_permitResidence permit
visaTravel 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

StatusDescription
passedCheck passed successfully
failedCheck failed
skippedCheck was not performed (not configured)
inconclusiveCould 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):

RangeMeaningTypical Action
90-100High confidenceAuto-approve
70-89Medium confidenceAuto-approve with flag
50-69Low confidenceManual review
0-49Very low confidenceAuto-reject or review

TypeScript Types

Use these TypeScript types for type-safe webhook handling:

types.tstypescript
Loading...

Parsing Examples

parsing.jsjavascript
Loading...