Event reference
Every webhook Prembly sends, when it's sent, and what the payload looks like. The headers and body format every delivery shares are described in Overview & setup.
| Event | When it's sent | Identify it by | Goes to |
|---|---|---|---|
| SDK session completed | A user finishes an SDK verification session, whether it passes or fails | data.widget_info, completed_at | Organisation URL |
| Workflow run finished | A workflow run completes, fails or goes to manual review | event: workflow.process.completed, workflow.process.failed, workflow.process.manual_review | Workflow URL, then organisation URL |
| Direct API verification | A direct verification call returns a match (response_code 00) | verification, billing_info | Organisation URL |
| Async verification completed | An async verification finishes | data.verification_id, data.channel_code | Organisation URL |
| Verification completed after a retry | A verification that failed during provider downtime, or waited for wallet funding, finishes later | is_callback_retry or is_pending_payment_retry | Organisation URL |
| Statement analysis | A bank statement analysis succeeds | the analysis result | Organisation URL |
| Customer 360 monitoring check | A scheduled ongoing-monitoring check runs | data.verification_id, data.channel_code | Organisation URL |
| Transaction monitoring | A transaction is screened, escalated, reviewed or released, or a case is opened or resolved | data.event | Organisation URL (escalations can use their own URL) |
| Watchlist alert | Identities verified on your platform match the fraud watchlist | event: watchlist.identity_flagged | Organisation URL |
| Credit decision | A credit application is submitted, or its decision is made | event: credit_application.submitted, credit_application.decision_completed | Organisation URL |
The examples below are trimmed to the fields most integrations use. Real payloads can contain more fields, and new fields may be added at any time, so ignore fields you don't recognise.
Identify the event
| If the body has… | It is… |
|---|---|
a top-level event field | a workflow run, credit or watchlist event. Read event. |
a data.event field | a transaction monitoring event. Read data.event. |
is_callback_retry: true | a verification completed by callback retry. |
is_pending_payment_retry: true | a verification completed after wallet funding. |
data.widget_info and completed_at, but no event | an SDK session result. |
data.verification_id and data.channel_code | an async verification or a Customer 360 monitoring check. |
verification.reference and billing_info | a direct API verification. |
Field types differ between products
Check the type of status for each event. It is true/false in direct, async and transaction monitoring events, and a string ("success", "failed", "pending") in SDK, workflow and credit events.
SDK session completed
Sent when a user finishes a session started with the Web or mobile SDK. It's sent for both outcomes: check status and verification.status.
{
"status": "success",
"detail": "verification completed",
"response_code": "00",
"metadata": {
"name": "Ada Obi",
"email": "ada@example.com",
"user_id": "usr_9921",
"extra_data": { "plan": "premium" }
},
"data": {
"verification_response": { "response_code": "00", "...": "..." },
"ip_info": { "ip": "102.89.0.10", "country": "NG" },
"device_data": { "...": "..." },
"biometric_results": {
"face_comparison": { "...": "..." }
},
"address_verification": {},
"pep_result": null,
"pep_sanctions_results": {},
"verified_first_name": "Ada",
"verified_last_name": "Obi",
"liveness_video_url": "https://…signed-url…",
"widget_info": {
"widget_id": "4b0c…",
"config_id": "4b0c…",
"brand_name": "Acme",
"session_id": "550e8400-e29b-41d4-a716-446655440000",
"first_name": "Ada",
"last_name": "Obi",
"email": "ada@example.com",
"reference": "7d8f2c1e-4b6a-4f0e-9a3c-2e5d1b8c9f00"
},
"metadata": { "...": "same as top-level metadata" }
},
"completed_at": "2026-11-19T10:04:12.123456+00:00",
"verification": { "status": "VERIFIED" },
"widget_info": {
"widget_id": "4b0c…",
"config_id": "4b0c…",
"brand_name": "Acme",
"session_id": "550e8400-e29b-41d4-a716-446655440000"
}
}| Field | Description |
|---|---|
status | "success" or "failed": whether the session as a whole passed. |
response_code | "00" (passed) or "02" (failed). |
verification.status | "VERIFIED" or "NOT-VERIFIED", based on the identity check result. |
metadata | The metadata you passed when starting the session, plus name, email, phone and user_id where known. Use it to match the result to your user. A prefilled BVN or NIN that was used is removed. |
data.verification_response | The identity check result. |
data.biometric_results | Liveness and face comparison results, if the flow included them. |
data.pep_sanctions_results | PEP and sanctions screening, if the flow included it. Empty object when it didn't. |
data.liveness_video_url | A signed link to the liveness video. It expires, so download it promptly if you need to keep it. |
widget_info.session_id | The SDK session ID. Use it to look up the session with your secret key. |
Workflow run finished
Sent when a workflow run ends. It uses the SDK session format above, so existing SDK handlers keep working, and adds event, event_id, created_at and a data.workflow object.
event | status | response_code |
|---|---|---|
workflow.process.completed | "success" | "00" |
workflow.process.manual_review | "pending" | "01" |
workflow.process.failed | "failed" | "02" |
{
"event": "workflow.process.completed",
"event_id": "9a1e…:completed",
"created_at": "2026-11-19T10:04:13.000000+00:00",
"status": "success",
"detail": "verification completed",
"response_code": "00",
"data": {
"verification_response": { "...": "..." },
"biometric_results": { "...": "..." },
"pep_sanctions_results": {},
"verified_first_name": "Ada",
"verified_last_name": "Obi",
"widget_info": {
"widget_id": "wf_…",
"session_id": "550e8400-…",
"session_url": "https://…",
"reference": "PR-000123"
},
"metadata": { "...": "..." },
"workflow": {
"process_id": "9a1e…",
"process_number": "PR-000123",
"status": "completed",
"reason": "",
"workflow": { "id": "…", "name": "Retail onboarding", "type": "…" },
"session_id": "550e8400-…",
"subject": { "id": "…", "name": "Ada Obi", "email": "ada@example.com" },
"started_at": "2026-11-19T10:01:00Z",
"completed_at": "2026-11-19T10:04:12Z",
"risk_level": "low",
"risk_score": 12,
"result": { "...": "..." },
"verification_results": { "...": "..." }
}
},
"completed_at": "2026-11-19T10:04:12.123456+00:00",
"verification": { "status": "VERIFIED" },
"widget_info": { "...": "..." }
}event_idis unique per run and outcome. Use it to skip duplicates.- If the payload would exceed 200 KB,
data.workflow.resultanddata.workflow.verification_resultsare left out anddata.workflow.truncatedistrue. Fetch the run from the API to get the full report. - Workflow webhooks are sent to the workflow's own URL if it has one, otherwise to the organisation URL.
Direct API verification
Sent after a direct identity verification call returns response_code "00". The body is the same JSON the API returned, so you can reuse your response parser.
{
"status": true,
"response_code": "00",
"message": "…",
"detail": "…",
"data": { "...": "channel-specific result" },
"meta": {},
"billing_info": {
"was_charged": true,
"amount": "50.00",
"currency": "NGN",
"note": "Wallet charged 50.00 NGN"
},
"verification": {
"status": "VERIFIED",
"reference": "c1f2…",
"verification_id": "a7b3…"
},
"reference_id": "…",
"metadata": { "...": "the metadata you sent" }
}No webhook is sent when the verification doesn't return 00 (for example, record not found). You already have that result from the API response.
Async verification completed
Sent when a verification you started through an async endpoint finishes.
{
"status": true,
"message": "Verification completed",
"data": {
"verification_id": "a7b3…",
"channel_code": "nin",
"status": "success",
"response_code": "00",
"response_data": { "...": "channel-specific result" },
"amount_charged": "50.00",
"currency": "NGN",
"completed_at": "2026-11-19T10:04:12.123456+00:00"
},
"metadata": { "...": "the metadata you sent" }
}Verification completed after a retry
These are sent for verifications that couldn't finish the first time.
Callback retry. If Retries is switched on under Developers → API Integrations, Prembly re-runs verifications that failed while a data provider was down and sends the result when one succeeds.
{
"status": true,
"response_code": "00",
"message": "Verification completed via callback retry",
"data": { "...": "channel-specific result" },
"is_callback_retry": true,
"retry_count": 2,
"original_reference_id": "…",
"metadata": { "...": "..." }
}Wallet funding. When a verification was held because your wallet balance was too low, it runs once you top up and the result is sent with is_pending_payment_retry: true.
{
"status": true,
"response_code": "00",
"message": "Verification completed after wallet funding",
"data": { "...": "channel-specific result" },
"is_pending_payment_retry": true,
"original_reference_id": "…",
"metadata": { "...": "..." }
}For SDK sessions held this way, the message is "SDK verification completed after wallet funding" and the body also has sdk_session_id.
Use original_reference_id to match the result to your first request.
The Retries switch is not webhook retry
The Retries switch controls whether Prembly re-runs verifications that failed during provider downtime. It doesn't change how webhook deliveries are retried. That's covered in Respond, retries and duplicates.
Statement analysis
Sent after a bank statement analysis succeeds. The body is the analysis result, in the same shape the statement analysis endpoint returns.
Customer 360 monitoring check
Sent each time a scheduled ongoing-monitoring check runs for a customer. It has the same shape as an async verification, and data.verification_id is the monitoring record's ID.
Transaction monitoring
Sent as a transaction moves through transaction monitoring. All these events share one envelope. The event name is in data.event.
data.event | When |
|---|---|
transaction.processed | Every screened transaction. |
rule.triggered | A rule with Send alert and the Webhook channel fires. One event per rule. |
transaction.escalated | An escalation rule with the Webhook channel matches. Goes to that rule's webhook URL if set. |
transaction.reviewed | An analyst blocks a transaction or marks it false_negative or str_filed. |
transaction.released | An analyst approves a held transaction, marks it false_positive, or resolves its case. Release the payment on your side when you get this. |
case.created | A case is opened for a transaction. |
case.resolved | A case is resolved or closed. It's followed by transaction.released for the linked transaction. |
Screening events (transaction.processed, rule.triggered, transaction.escalated):
{
"status": true,
"detail": "",
"response_code": "00",
"data": {
"event": "rule.triggered",
"rule_name": "High value transfer",
"screening_result": {
"id": "…",
"transaction_id": "TXN-88231",
"amount": "2500000.00",
"currency": "NGN",
"transaction_type": "transfer",
"status": "held",
"risk_score": 82,
"risk_level": "high",
"rules_triggered": ["…"],
"is_sandbox": false,
"...": "..."
}
}
}transaction.escalated has escalation_rule instead of rule_name. transaction.processed has neither.
Review and case events (transaction.reviewed, transaction.released, case.created, case.resolved):
{
"status": true,
"detail": null,
"response_code": "00",
"data": {
"event": "transaction.released",
"transaction": { "transaction_id": "TXN-88231", "status": "approved", "...": "..." },
"screening_result": { "...": "same object as transaction" },
"case": {
"id": "…",
"case_number": "CASE-0042",
"title": "…",
"status": "resolved",
"priority": "high",
"case_type": "…",
"resolution": "…",
"resolution_notes": "…",
"resolved_at": "2026-11-19T11:00:00+00:00",
"closed_at": null
},
"action": "case_resolved",
"previous_status": "held",
"released": true,
"performed_by": { "id": "…", "email": "analyst@yourcompany.com", "name": "Analyst Name" }
}
}actionis one ofapprove,block,false_positive,false_negative,str_filedorcase_resolved.releasedistruewhen you should let the transaction through.caseisnullwhen the event isn't about a case.screening_result.is_sandbox/transaction.is_sandboxtells you whether this was a sandbox transaction.
Watchlist alert
Sent when identities verified on your platform are flagged on Prembly's fraud watchlist. Several identities are grouped into one event, and you get at most one alert per 24 hours.
{
"event": "watchlist.identity_flagged",
"data": {
"alert_count": 2,
"identities": [
{
"initials": "A.O.",
"id_type": "nin",
"verified_at": "2026-11-02T09:15:00+00:00",
"reference_id": "a7b3…"
}
],
"message": "2 identity verification(s) on your platform have been flagged for fraud.",
"action_url": "https://app.prembly.com/dashboard/fraud-detection"
}
}reference_id is the ID of your original verification request. Use it to find the affected user.
Credit decision
Two events per application.
credit_application.submitted, when an application is created:
{
"event": "credit_application.submitted",
"status": "success",
"detail": "Credit application submitted",
"data": {
"application_id": "3f9c…",
"status": "pending",
"applicant_name": "Ada Obi",
"applicant_id_type": "bvn",
"applicant_id_number": "…",
"requested_amount": "500000.00",
"currency": "NGN",
"country": "NG",
"requested_tenure_months": 6,
"created_at": "2026-11-19T10:00:00+00:00"
}
}credit_application.decision_completed, when the decision is made:
{
"event": "credit_application.decision_completed",
"status": "success",
"detail": "Credit decision approved",
"data": {
"application_id": "3f9c…",
"status": "approved",
"outcome": "approved",
"applicant_name": "Ada Obi",
"requested_amount": "500000.00",
"currency": "NGN",
"country": "NG",
"requested_tenure_months": 6,
"final_tier": "…",
"pd_score": 0.07,
"decline_reasons": [],
"offer_terms": {},
"final_outcome": "…",
"completed_at": "2026-11-19T10:05:00+00:00"
}
}outcomeisapproved,declinedorcounteroffer.statusis"success"only whenoutcomeisapproved; otherwise it's"failed".submittedincludes the applicant's ID number. Store and log it accordingly.
Next steps
- Verifying requests — check the signature and confirm results before you act on them
Webhooks
Receive results on your server as soon as a verification, workflow run, transaction screening or credit decision finishes. Set up an endpoint and see what a delivery looks like.
Verifying requests
Check the X-Prembly-Signature header on every webhook, and confirm results with your secret key before you act on them.