Webhook Payload
This page documents the objects carried by standard result webhooks and lifecycle notifications. The outer HTTP and envelope contract is defined once in Receiving Webhooks.
LEGACY_V1 pathsThe contents of each result object are the same in both payload versions, so every field table
below applies to V2 as well. Only the path differs: V2 lifts the result object one nesting
level up and drops its version field in favour of the envelope's apiVersion. See the
field mapping table.
Standard result fields
Most result objects under data share these fields:
| Field | Meaning |
|---|---|
version | Payload schema version. |
id | Identifier of the step result. It may contain a default value when processing failed before a result was created. |
verificationRequestId | Verification request that produced the result. |
flowId | Flow identifier. |
flowStepId | Flow-step identifier. |
createdAt | ISO 8601 timestamp associated with the request or result. |
customData | Custom values attached to the verification request. See Custom Fields. |
status | Status of the individual result. Do not confuse it with top-level flowStatus. |
identityEmail | Email of the verified identity, when available. |
reason / reasons | Structured failure or review context, depending on result type. |
errorMessage | Optional processing diagnostic, when supported by the result type. |
The primary result key is the non-null value among dv, poa, form, spid, phone, wallet, kyb, aml, and geolocation. Other keys may be absent or null, depending on the serializer. Extended and legacy DV configurations can add companion values beside dv.
Document Verification (data.dv)
{
"version": 0,
"id": "d65fa9a0-596e-4d7e-afd1-59a23bfb5a74",
"verificationRequestId": "cf52e18e-28d1-4a2f-8304-c04ef5a75d0f",
"flowId": "2d8285d7-f4ba-42df-ab3f-681d9870d37a",
"flowStepId": "03559a0f-be8e-4ab7-964d-1ff4745d92a4",
"createdAt": "2025-04-25T19:32:14.558006634Z",
"customData": {},
"status": "PASSED",
"reasons": [],
"documentId": "d41bc0ea-3b5c-4342-a1ae-a46dd0a770f8",
"documentType": "Driving License",
"documentClass": "DriversLicense",
"class": "web-mobile",
"platform": "iOS",
"browser": "Mozilla/5.0 ...",
"scoreBiometricSelfie": 99,
"errorMessage": null,
"processAdditionalData": {},
"identityEmail": "applicant01@example.com"
}
| DV-specific field | Meaning |
|---|---|
reasons | Structured reasons such as DATE_OF_EXPIRY_NOT_VALID, DOCUMENT_SCORE_BELOW_THRESHOLD, or DATE_OF_BIRTH_BELOW_MINIMUM_AGE. Empty when no reason is reported. Full list: Document verification reasons. |
documentId | Identifier of the document stored for this result. |
documentType | The document's type name, as the provider reported it. |
documentClass | The class of the document, such as IdentificationCard or DriversLicense, the same whichever provider read it. Unknown for a kind the list does not cover. Values. |
class, platform, browser | Optional client context captured during verification. |
scoreBiometricSelfie | Optional portrait-match percentage. |
processAdditionalData | Additional processor output, when available. |
A DV result sent for review does not say why in the webhook. The reason (attempts exhausted, a blocking reason, or unusable captures) is the DV result's reviewReason, returned by the API and the Export API: see Document verification review reason.
Standard DV webhooks do not include identity-document images. To retrieve front/back captures and related media, use the Export API.
A flow becomes REJECTED only when a manual document verification decision rejects it. The verification.dv.failed webhook reports that outcome with flow status REJECTED.
Extended document verification (data.additionalData)
When Extended Webhook is enabled, additionalData is a sibling of dv inside data:
{
"data": {
"dv": {
"id": "d65fa9a0-596e-4d7e-afd1-59a23bfb5a74",
"status": "PASSED"
},
"additionalData": {
"firstName": "John",
"lastName": "Doe",
"dateOfBirth": "1990-01-15",
"documentNumber": "AB1234567",
"issuingState": "GBR",
"expiryDate": "2030-12-31",
"issuingDate": "2020-01-01",
"issuingAuthority": "DVLA",
"personalNumber": "",
"documentClassCode": "DriversLicense",
"selfie": {
"contentType": "image/jpeg",
"presignedUrl": "https://..."
}
}
}
}
documentClassCode is the document's class, the value data.dv.documentClass has. A document of a kind the class list does not cover keeps the name it was read with here (for example Permit), while documentClass reads Unknown.
selfie.presignedUrl is time-limited. Download it only when needed and apply the same access controls used for other identity data. A selfie URL is not a full document-image export; use the Export API for identity-document images.
The legacy data.kyc companion is documented in Backwards Compatibility.
Proof of Address (data.poa)
In addition to the common result fields, proof-of-address results contain:
| Field | Meaning |
|---|---|
reason | Optional failure reason. |
documentId | Identifier of the uploaded address document. |
documentType | Document type, such as PAY_SLIP, UTILITY_BILL, or BANK_STATEMENT. |
{
"status": "PASSED",
"reason": null,
"documentId": "e04a00e6-ccf9-4593-ab86-4b2c01f3bb95",
"documentType": "UTILITY_BILL"
}
The webhook does not include the address-document file. Retrieve it with the Export API.
Form (data.form)
| Field | Meaning |
|---|---|
reason | Optional failure reason. |
sections | Submitted answers grouped by form section. |
formId | Identifier of the form definition, when available. |
formName | Name of the form. |
{
"status": "PASSED",
"reason": null,
"sections": [
{
"name": "Personal Information",
"items": [{ "name": "fullName", "value": "John Doe" }]
}
],
"formId": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
"formName": "Customer Onboarding Form",
"errorMessage": null
}
Phone Verification (data.phone)
Phone results include reason, errorMessage, and phoneNumberLast4 in addition to the common fields.
{
"status": "PASSED",
"reason": null,
"errorMessage": null,
"phoneNumberLast4": "1234"
}
The full phone number is not included in the webhook. Zyphe stores a SHA-256 hash and exposes only the final four digits in this result.
Wallet Verification (data.wallet)
| Field | Meaning |
|---|---|
message | SIWX message signed by the user. |
signature | Signature produced by the wallet. |
walletAddress | Verified wallet address. |
walletChain | Network used, such as ETHEREUM, SOLANA, or their testnet variants. |
reason, errorMessage | Optional failure context. |
{
"status": "PASSED",
"message": "example.com wants you to sign in with your Ethereum account...",
"signature": "0x1234567890abcdef...",
"walletAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
"walletChain": "ETHEREUM",
"reason": null,
"errorMessage": null
}
SPID / CIE (data.spid)
SPID/CIE results include optional reason, errorMessage, and userInfo. The userInfo object can contain:
- Name and identity attributes:
firstName,lastName,fullName,fiscalNumber,dateOfBirth,gender - Birth and address attributes:
placeOfBirth,countryOfBirth,address - Contact attributes:
email,mobilePhone,digitalAddress - Provider attributes:
id,username,spidCode - Business-account attributes:
companyName,registeredOffice,companyVatNumber
Fields depend on the identity provider and may be null.
Geolocation (data.geolocation)
{
"status": "PASSED",
"reason": null,
"errorMessage": null,
"country": "IT",
"ipAddress": "203.0.113.10",
"deviceFingerprint": "device-fingerprint",
"vpn": false,
"blacklistedIp": false
}
| Field | Meaning |
|---|---|
country | Resolved country, when available. |
ipAddress | IP address evaluated for the result. |
deviceFingerprint | Device fingerprint associated with the proof. |
vpn | Whether VPN usage was detected. |
blacklistedIp | Whether the IP matched a blacklist. |
KYB (data.kyb)
KYB outcomes are delivered using the standard envelope.
The case (data.kybCase)
On V2 payloads, data.kybCase carries the KYB case. Read the outcome from here:
| Field | Meaning |
|---|---|
caseId | The case ID (the same value as the KYB result ID). |
status | The case status. |
dueDiligenceLevel | SIMPLIFIED, STANDARD, or ENHANCED. |
decision | The decision that stands on the case: outcome (APPROVED or REJECTED), decidedAt, and, when given, reasonCode and reason. Absent while the case is undecided or reopened. |
{
"kybCase": {
"caseId": "8f0c9b49-a562-41bf-ab8b-5fd0bfee2d68",
"status": "APPROVED",
"dueDiligenceLevel": "STANDARD",
"decision": {
"outcome": "APPROVED",
"decidedAt": "2026-09-28T10:15:00Z"
}
}
}
The KYB result (deprecated)
data.kyb still carries the full KYB result for existing integrations, and is deprecated: new integrations should read data.kybCase. Its status keeps the previous moderation vocabulary. It includes the common result fields plus:
| Field | Meaning |
|---|---|
businessInformation | Submitted and verified business information. |
documentUploads | KYB document-upload state and metadata. |
uboDefinitions | Ultimate Beneficial Owner definitions and verification state. |
directorDefinitions | Director definitions and verification state. |
pepAndSanctionsStatus | Consolidated PEP and sanctions state. |
nextAction | Next action required by the KYB workflow, when any. |
assignedToIdentityId | Reviewer assigned to the case, when any. |
fundedAt | Funding timestamp, when applicable. |
report | Generated report or report reference, when available. |
{
"status": "REVIEW_REQUIRED",
"reason": null,
"errorMessage": null,
"businessInformation": {},
"documentUploads": [],
"uboDefinitions": [],
"directorDefinitions": [],
"pepAndSanctionsStatus": null,
"nextAction": null
}
AML (data.aml)
AML deliveries represent produced results, scheduled refreshes, and moderation changes. Top-level event and inner updateKind use PRODUCED, REFRESHED, or MODERATED.
{
"event": "PRODUCED",
"data": {
"aml": {
"version": 0,
"id": "e5f6a7b8-9012-3456-7890-abcdef123456",
"verificationRequestId": "cf52e18e-28d1-4a2f-8304-c04ef5a75d0f",
"flowId": "2d8285d7-f4ba-42df-ab3f-681d9870d37a",
"flowStepId": "03559a0f-be8e-4ab7-964d-1ff4745d92a4",
"createdAt": "2026-07-14T10:15:30Z",
"updateKind": "PRODUCED",
"status": "PENDING",
"subjectType": "PERSON",
"hasPep": false,
"hasSanctions": false,
"riskScorePercent": 12
}
}
}
| Field | Meaning |
|---|---|
updateKind | Why this webhook was emitted: PRODUCED, REFRESHED, or MODERATED. |
status | Moderation state: PENDING, APPROVED, REJECTED, or ESCALATED. |
subjectType | Screened subject type, such as PERSON or COMPANY. |
hasPep | Whether PEP matches are present. |
hasSanctions | Whether sanctions matches are present. |
riskScorePercent | Optional risk score from 0 to 100. |
The same four AML moderation values are listed in Statuses and codes. Do not confuse them with the KYB PEP and sanctions screening states.
AML moderation never rejects the flow. verification.aml.moderated reports the AML result's moderation status in the aml object.
Notification events
Notification webhooks use top-level eventData, not data, and omit flowStatus. See the full envelope in Receiving Webhooks.
DOCUMENT_EXPIRED
{
"version": 0,
"type": "DOCUMENT_EXPIRED",
"flowResultId": "936f35a8-4921-430e-b016-15be48968886",
"verificationRequestId": "cf52e18e-28d1-4a2f-8304-c04ef5a75d0f",
"flowId": "2d8285d7-f4ba-42df-ab3f-681d9870d37a",
"flowStepId": "03559a0f-be8e-4ab7-964d-1ff4745d92a4",
"expiryDate": "2025-04-25",
"customData": {},
"documentId": "d41bc0ea-3b5c-4342-a1ae-a46dd0a770f8",
"documentType": "Driving License",
"documentClass": "DriversLicense",
"identityEmail": "applicant01@example.com"
}
documentType is the type name the provider reported. documentClass is the class of the document, such as IdentificationCard or DriversLicense. Values.
KYC_RESULT_EXPIRED
| Field | Meaning |
|---|---|
flowResultId | Expired flow-result identifier. |
flowId | Associated flow. |
identityId | Identity associated with the expired KYC result. |
dvResultId | Document-verification result that expired. |
identityEmail | Identity email, when available. |
FLOW_RISK_REEVALUATED
On a V2 endpoint, this event is flow.risk.reevaluated and these fields appear under data.flowRiskReevaluated.
| Field | Meaning |
|---|---|
flowResultId | Re-evaluated flow result. |
scoreBefore, scoreAfter | Previous and current composed scores. Either may be null. |
statusBefore, statusAfter | Previous and current flow statuses. Values are PROCESSING, COMPLETED, FAILED, CANCELLED, REVIEW, and REJECTED. |
Zyphe sends this event only when re-evaluation changes a risk score, the flow status, or the assigned risk tags. A change to an individual risk score or tag can trigger the event even when the composed score is unchanged.
TRANSACTION_ALERT
Sent when a Transaction Monitoring rule with Raise alert fires on an ingested transaction. On a V2 endpoint it is the transaction.alert.created event, with these fields under data.transactionAlert and no flow block.
| Field | Meaning |
|---|---|
transactionId | Zyphe's identifier of the transaction. |
externalId | Your identifier of the transaction, as sent when you reported it. |
identityId | The identity the transaction belongs to. |
decision | The transaction's verdict: ALLOW, REVIEW, or BLOCK. |
riskProbability | The combined risk of the rules that fired, from 0 to 1. |
alerts[] | The raised alerts: alertId, ruleKey, ruleVersion, and probability. |
transaction.alert.resolved
Sent to V2 endpoints only, when the Transaction Monitoring agent closes or escalates an alert (Auto-pilot mode). A suggestion that leaves the alert where it was does not send it. There is no LEGACY_V1 equivalent, so an endpoint receiving transaction.alert.created in LEGACY_V1 must switch to V2 to subscribe to it. Like transaction.alert.created, it has no flow block and ignores the endpoint's flow filter.
{
"id": "5d0c2c7e-8f43-4a5e-9a52-1b7f0c2e6a10",
"type": "transaction.alert.resolved",
"apiVersion": "2026-08-26",
"createdAt": "2026-10-12T09:41:07.512Z",
"recipientOrganizationId": "6b0f6a2e-1f5c-4a70-9d6b-2b1a0e4c9d33",
"source": { "organizationId": "6b0f6a2e-1f5c-4a70-9d6b-2b1a0e4c9d33" },
"data": {
"transactionAlertResolved": {
"transactionId": "0b6f9a8e-2a43-4c1e-8d7b-3e2f1c0a9b84",
"externalId": "txn_000123",
"identityId": "3f7a1c62-9f0d-4b58-b1d2-6b8a9c0e5d41",
"transactionDecision": "REVIEW",
"riskProbability": 0.62,
"alert": {
"alertId": "a4c2e1f0-7b3d-4e9a-8c61-2d5f0b9e7a13",
"ruleKey": "high_velocity",
"ruleVersion": 3,
"probability": 0.55
},
"status": "CLOSED_FALSE_POSITIVE",
"resolution": {
"id": "5d0c2c7e-8f43-4a5e-9a52-1b7f0c2e6a10",
"reviewedAt": "2026-10-12T09:41:05.004Z",
"mode": "AUTO_PILOT",
"recommendedStatus": "CLOSED_FALSE_POSITIVE",
"decision": "ALLOW",
"rationale": "Activity matches the customer's usual pattern.",
"model": "…",
"guard": null,
"promptVersions": {}
}
}
}
}
| Field | Meaning |
|---|---|
transactionId | Zyphe's identifier of the transaction. |
externalId | Your identifier of the transaction. |
identityId | The identity the transaction belongs to. |
transactionDecision | The transaction's own verdict (ALLOW, REVIEW, or BLOCK). Resolving an alert does not change it. |
riskProbability | The transaction's combined risk, from 0 to 1. |
alert | The alert that was resolved: alertId, ruleKey, ruleVersion, and probability. |
status | The alert's new status, a TmAlertStatus: ESCALATED or one of the closed statuses. |
resolution | The review behind it: id, reviewedAt, mode, recommendedStatus, the decision the agent took, and its rationale. model, guard, and promptVersions record how the review ran, for your audit trail. The evidence the agent worked from stays in the dashboard. |
The envelope id is the review's identifier, so a redelivery of the same review carries the same id.
KYC Passport results (kyc_passport.verification.updated)
When another organization invites yours to a KYC Passport flow, this event tells you that a result shared with you changed. It is sent when the run reaches COMPLETED, FAILED, REJECTED, or review, and to the invited organization only: the flow's owner hears about the same run through its own events.
A delivery needs all of the following:
- the endpoint uses
V2(the event has noLEGACY_V1shape); - the endpoint's flow scope is
SELECTEDand lists the partner flow (anOWNED_ALLendpoint never receives it, and the API refuses the combination); - the person explicitly consented to share their result with your organization.
Consent is checked again immediately before each attempt, so a revoked consent stops deliveries still waiting in the retry queue.
The payload says only where to read the result, never anything about the person:
{
"id": "c1d7a0e2-4b6f-4f1d-9a3e-7e5b2c8d0f14",
"type": "kyc_passport.verification.updated",
"apiVersion": "2026-08-26",
"createdAt": "2026-10-12T09:41:07.512Z",
"recipientOrganizationId": "9e2b4f61-0c3a-4d7e-b815-6a2f9c4e1d07",
"source": {
"organizationId": "6b0f6a2e-1f5c-4a70-9d6b-2b1a0e4c9d33",
"flowId": "2d8285d7-f4ba-42df-ab3f-681d9870d37a",
"flowResultId": "936f35a8-4921-430e-b016-15be48968886"
},
"flow": { "status": "COMPLETED", "customData": {} },
"data": {
"resourceUrl": "/organizations/9e2b4f61-0c3a-4d7e-b815-6a2f9c4e1d07/kyc-passport/results/936f35a8-4921-430e-b016-15be48968886"
}
}
| Field | Meaning |
|---|---|
recipientOrganizationId | Your organization. source.organizationId is the flow's owner. |
flow.status | COMPLETED, FAILED, REJECTED, or REVIEW. flow.slug and custom data are not shared. |
data.resourceUrl | Where you read the result, relative to the API base URL. |
Read the result with a secret key, prefixing the path with /sdk:
curl "https://api.zyphe.com/sdk/organizations/{your_organization_id}/kyc-passport/results/{flow_result_id}?sandbox=false" \
-H "x-api-key: zyphe_sk_..."
The response is a FlowResult. The answer is 404 both when the result does not exist and when it is no longer shared with you. The Export API also opens a result shared this way.