Skip to main content

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.

The paths on this page are LEGACY_V1 paths

The 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:

FieldMeaning
versionPayload schema version.
idIdentifier of the step result. It may contain a default value when processing failed before a result was created.
verificationRequestIdVerification request that produced the result.
flowIdFlow identifier.
flowStepIdFlow-step identifier.
createdAtISO 8601 timestamp associated with the request or result.
customDataCustom values attached to the verification request. See Custom Fields.
statusStatus of the individual result. Do not confuse it with top-level flowStatus.
identityEmailEmail of the verified identity, when available.
reason / reasonsStructured failure or review context, depending on result type.
errorMessageOptional 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 fieldMeaning
reasonsStructured 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.
documentIdIdentifier of the document stored for this result.
documentTypeThe document's type name, as the provider reported it.
documentClassThe 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, browserOptional client context captured during verification.
scoreBiometricSelfieOptional portrait-match percentage.
processAdditionalDataAdditional 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:

FieldMeaning
reasonOptional failure reason.
documentIdIdentifier of the uploaded address document.
documentTypeDocument 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)​

FieldMeaning
reasonOptional failure reason.
sectionsSubmitted answers grouped by form section.
formIdIdentifier of the form definition, when available.
formNameName 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"
}
Phone-number privacy

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)​

FieldMeaning
messageSIWX message signed by the user.
signatureSignature produced by the wallet.
walletAddressVerified wallet address.
walletChainNetwork used, such as ETHEREUM, SOLANA, or their testnet variants.
reason, errorMessageOptional 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
}
FieldMeaning
countryResolved country, when available.
ipAddressIP address evaluated for the result.
deviceFingerprintDevice fingerprint associated with the proof.
vpnWhether VPN usage was detected.
blacklistedIpWhether 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:

FieldMeaning
caseIdThe case ID (the same value as the KYB result ID).
statusThe case status.
dueDiligenceLevelSIMPLIFIED, STANDARD, or ENHANCED.
decisionThe 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:

FieldMeaning
businessInformationSubmitted and verified business information.
documentUploadsKYB document-upload state and metadata.
uboDefinitionsUltimate Beneficial Owner definitions and verification state.
directorDefinitionsDirector definitions and verification state.
pepAndSanctionsStatusConsolidated PEP and sanctions state.
nextActionNext action required by the KYB workflow, when any.
assignedToIdentityIdReviewer assigned to the case, when any.
fundedAtFunding timestamp, when applicable.
reportGenerated 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
}
}
}
FieldMeaning
updateKindWhy this webhook was emitted: PRODUCED, REFRESHED, or MODERATED.
statusModeration state: PENDING, APPROVED, REJECTED, or ESCALATED.
subjectTypeScreened subject type, such as PERSON or COMPANY.
hasPepWhether PEP matches are present.
hasSanctionsWhether sanctions matches are present.
riskScorePercentOptional 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​

FieldMeaning
flowResultIdExpired flow-result identifier.
flowIdAssociated flow.
identityIdIdentity associated with the expired KYC result.
dvResultIdDocument-verification result that expired.
identityEmailIdentity email, when available.

FLOW_RISK_REEVALUATED​

On a V2 endpoint, this event is flow.risk.reevaluated and these fields appear under data.flowRiskReevaluated.

FieldMeaning
flowResultIdRe-evaluated flow result.
scoreBefore, scoreAfterPrevious and current composed scores. Either may be null.
statusBefore, statusAfterPrevious 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.

FieldMeaning
transactionIdZyphe's identifier of the transaction.
externalIdYour identifier of the transaction, as sent when you reported it.
identityIdThe identity the transaction belongs to.
decisionThe transaction's verdict: ALLOW, REVIEW, or BLOCK.
riskProbabilityThe 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": {}
}
}
}
}
FieldMeaning
transactionIdZyphe's identifier of the transaction.
externalIdYour identifier of the transaction.
identityIdThe identity the transaction belongs to.
transactionDecisionThe transaction's own verdict (ALLOW, REVIEW, or BLOCK). Resolving an alert does not change it.
riskProbabilityThe transaction's combined risk, from 0 to 1.
alertThe alert that was resolved: alertId, ruleKey, ruleVersion, and probability.
statusThe alert's new status, a TmAlertStatus: ESCALATED or one of the closed statuses.
resolutionThe 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 no LEGACY_V1 shape);
  • the endpoint's flow scope is SELECTED and lists the partner flow (an OWNED_ALL endpoint 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"
}
}
FieldMeaning
recipientOrganizationIdYour organization. source.organizationId is the flow's owner.
flow.statusCOMPLETED, FAILED, REJECTED, or REVIEW. flow.slug and custom data are not shared.
data.resourceUrlWhere 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.