Beyond HMAC: Advanced Webhook Security Best Practices for 8 Identity Vendors
A valid HMAC authenticates signed data from a shared-key holder. Check freshness, handle repeated events, rotate secrets and monitor delivery. We show how Didit documents each control.

Contents
In this guide
Jump to the part you need.
This page covers the webhook controls a security reviewer can check before signing, and it shows how to verify a Didit webhook beyond HMAC. Didit ranks first on documented evidence: a full ID check is $0.33, and the sandbox is free on every plan. The other seven vendors are ordered by buyer fit, and their webhook controls were not verified from the reviewed pages, so ask for the documentation.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
Verdict. We rank Didit first because our documentation sets out signing, freshness, rotation and delivery health next to a public price list. Didit publishes this ranking; we explain the criteria so you can check them. The caveat is evidence scope: a competitor page that does not state a webhook control is marked not verified, not assumed absent. The competitor order reflects buyer fit based on the reviewed pages, not a webhook score.
| Rank | Vendor | Best for | Price basis | Key capabilities | Main trade-off |
|---|---|---|---|---|---|
| 1 | Didit | Teams that must show a documented webhook contract and a public price before signing | $0.33 per full ID check; free sandbox; Free $10 monthly credit for eligible work-email organizations, phone excluded | Documented HMAC-SHA256 V2 signing, 300-second timestamp window, 24-hour rotation overlap on Business Console destinations, delivery health, failure alerts | No wildcard subscriptions; destination list is a metered API call |
| 2 | Sumsub | Buyers who want a published per-check price before a sales call | Basic $1.35 per verification with $149 monthly minimum; Compliance $1.85 with $299 minimum | KYC, KYB, AML monitoring, Travel Rule, 14-day trial with 50 checks | Webhook signing not verified from reviewed page |
| 3 | Persona | Teams that want US registry coverage and a published entry price on an annual commitment | Essential from $250/month on a 12-month minimum term | Identity verification, KYB, age assurance, humanness check, US registry, country and ID type configuration, SOC 2 Type 2 | 12-month minimum; no per-check price published; webhook signing not verified |
| 4 | Jumio | Teams that need specific countries and ID types covered | Not published; quote required | 5K+ supported global ID types, Identity Graph with 30M+ known identities, 120 transactions per second | Quote required; webhook signing not verified |
| 5 | Trulioo | Cross-border programs that need many data partners and business risk | Not published; quote required | 450+ data partners for Individual Verification, business verification, sanctions and AML screening, Know Your Agent | Quote required; webhook signing not verified |
| 6 | Onfido | Teams evaluating standalone document and biometric verification, digital signing, or the named Microsoft Entra Verified ID and Okta Workforce Identity integrations | Not published; linked pricing page returned a 404 | Document and biometric verification, deepfake and injection attack claims, QES, named integrations | Quote required; webhook signing not verified |
| 7 | Socure | Teams evaluating identity and risk verification that want a published sandbox signup link | Not published; quote required | Identity, risk, compliance, age and workforce verification; sandbox signup link | Quote required; webhook signing not verified |
| 8 | ID.me | People who want to reuse a verified identity for participating government services and retailer discounts | Not published | Digital identity wallet, 80+ government agencies, 1,200+ retailers | Webhooks and developer pricing were not verified from reviewed page |
Start free in the sandbox at business.didit.me, with no sales call. See Didit pricing for published verification prices, review Didit User Verification for the modules that make up a full ID check, and read the webhook documentation for verification session events. If you build with an AI assistant, connect Didit through the MCP server and paste the webhook integration prompt from the docs.
Verify a Didit webhook
Use the documented sequence. It applies to our webhooks; other vendors may use different headers and rules. Read the raw body first, verify the signature, check freshness, route by webhook_type, then handle state idempotently and return a response.
- Read the raw body. Preserve the raw request body. For
X-Signature-V2, parse the preserved body only to reproduce the sorted, Unicode-preserved canonical JSON. Compare the HMAC before trusting or acting on any payload field.X-Signaturesigns the exact request bytes. When present,X-Signature-Previoususes the same bytes with the previous secret. - Verify the signature. Recompute HMAC-SHA256 with your destination secret and compare in constant time against the header and, when present, its
-Previousheader. A valid HMAC authenticates a holder of the shared secret; it does not by itself prove freshness. - Check freshness. Apply the documented freshness check: the absolute difference between your current Unix time and
X-Timestampmust be no more than 300 seconds. The documented V2 and raw-byte signatures do not separately authenticate that header. If you verify with deprecatedX-Signature-Simple, it authenticates the envelope only, so re-fetch the decision fromGET /v3/session/{session_id}/decision/instead of trusting the payload. - Route the event. Read
webhook_typeand subscribe each destination to the exact event families it needs. There is no wildcard. - Handle idempotently. Use the verified
event_idto prevent a second state change for an event you have already processed. Keep this separate from the timestamp check. Do not tie deduplication retention to the 300-second window. - Respond. Verify the signature and freshness first. Return a 2xx promptly once your application has accepted the valid event for idempotent handling. A timeout is a failed delivery attempt.
For v3 session webhooks, the decision object is present for Approved, Declined, In Review and Abandoned. On a sandbox session, arm a scenario and read the resulting slug from sandbox_scenario; it is null on live sessions and unarmed sandbox sessions.
Acceptance checklist for the sandbox: send a valid delivery and confirm a 2xx; send a stale timestamp and confirm rejection; resend the same event_id and confirm state does not change twice; rotate a destination secret in the Business Console and confirm both signatures verify during the 24-hour overlap. For 24 hours after you rotate a destination secret in the Business Console, Didit sends signatures made with the new and previous secrets. Verify each signature with its corresponding secret and accept either valid match. Legacy application webhook URLs do not receive previous-signature headers.
The docs include an integration prompt you can paste into a coding assistant. You can also connect Didit to an assistant through the MCP server. MCP and the prompt are documented ways to work with an assistant, not a requirement.
How we picked: the webhook evidence we looked for
We used the published Didit webhook and destination API documentation listed in Sources and the vendor pages read on November 26, 2026. A control counts as documented only when the vendor publishes the mechanism, the default and the failure behaviour. We mark a competitor control not verified when the reviewed page does not state it.
Signing depth: HMAC over the right input
HMAC authenticates a holder of the shared secret. It only holds if both sides sign the same input. X-Signature-V2 signs sorted, Unicode-preserved canonical JSON, and the receiver must reproduce that representation. X-Signature signs the exact request bytes. When present, X-Signature-Previous uses the same bytes with the previous secret. X-Signature-Simple signs only the envelope, which is why the docs tell you to re-fetch the decision from GET /v3/session/{session_id}/decision/ when you verify with it. Preserve the request body, verify before trusting its contents, and use constant-time comparison.
Replay defence: freshness and idempotency are separate
An intercepted request keeps a valid signature. Apply the documented freshness check: the absolute difference between your current Unix time and X-Timestamp must be no more than 300 seconds. The documented V2 and raw-byte signatures do not separately authenticate that header. Use the verified event_id to prevent a second state change for an event you have already processed. Do not treat the 300-second check as a deduplication retention policy. Compare signatures in constant time and treat status strings as exact values. Kyc Expired has one capital K.
Rotation: current and previous signatures
For 24 hours after you rotate a destination secret in the Business Console, Didit sends signatures made with the new and previous secrets. Verify each signature with its corresponding secret and accept either valid match. Legacy application webhook URLs do not receive previous-signature headers. Plan the rotation and never put the secret in a repository.
Delivery health: signals you can alert on
We expose health_status as healthy, degraded or failing. Failing means three or more consecutive events failed their first delivery attempt since the destination last answered successfully, and failing_streak counts them. If the destination is not failing, degraded means an attempt failed within the past 24 hours and the event has yet to be delivered successfully. Healthy is the remaining state. Health is independent of whether the destination is enabled. The same call returns 30 days of delivery metrics, and a separate activity endpoint lists failure alerts. Set your paging threshold from your own delivery requirements, not from a single timeout. Verify the signature and freshness first, then return a 2xx promptly once your application has accepted the valid event for idempotent handling.
Coverage you can confirm
Webhook security does not help if the check behind it cannot cover your users. We publish 220+ countries and territories and 14,000+ document types. Jumio lists 5K+ supported global ID types (Jumio page, read November 26, 2026). Trulioo publishes access to more than 450 independent data partners for Individual Verification (Trulioo page, read November 26, 2026). These count different things, so confirm your document mix rather than ranking raw counts.
A published price and a self-serve start
We publish $0.15 for ID document verification and $0.33 for a full ID check. Sandbox testing is free on every plan. Sumsub publishes $1.35 per Basic verification and $1.85 per Compliance verification with monthly minimums (Sumsub page, read November 26, 2026). Persona lists US business registry coverage. Essential starts at $250 per month with a 12-month minimum. Confirm whether your required registry access is included (Persona page, read November 26, 2026). When the reviewed page does not publish pricing, ask the vendor for written pricing for your expected check scope and volume.
Evidence scorecard
We do not assign numeric ratings because the reviewed pages do not disclose a common scoring rule. The table records what each page states, using the same criteria for every vendor.
| Vendor | Signing | Replay | Rotation | Delivery health | Coverage and price evidence | Evidence note |
|---|---|---|---|---|---|---|
| Didit | Documented | Documented, with a 300-second timestamp check and separate idempotent handling | Documented, with 24-hour overlap for Business Console destinations | Documented: health_status, 30-day metrics and failure alerts | Published price book; 220+ countries and territories | Docs name X-Signature-V2, X-Timestamp, X-Signature-V2-Previous, health_status and public pricing. |
| Sumsub | Not verified from reviewed page | Not verified from reviewed page | Not verified from reviewed page | Not verified from reviewed page | Basic $1.35 per verification with $149 monthly minimum; Compliance $1.85 with $299 minimum; no country list on page | Sumsub page, read November 26, 2026. |
| Persona | Not verified from reviewed page | Not verified from reviewed page | Not verified from reviewed page | Not verified from reviewed page | Essential starts at $250/month on a 12-month minimum; US business registry coverage listed; stated SOC 2 Type 2 attestation; confirm whether your required registry access is included | Persona page, read November 26, 2026. |
| Jumio | Not verified from reviewed page | Not verified from reviewed page | Not verified from reviewed page | Not verified from reviewed page | 5K+ ID types; Identity Graph with 30M+ known identities; pricing not published | Jumio page, read November 26, 2026. |
| Trulioo | Not verified from reviewed page | Not verified from reviewed page | Not verified from reviewed page | Not verified from reviewed page | 450+ data partners for Individual Verification; pricing not published | Trulioo page, read November 26, 2026. |
| Onfido | Not verified from reviewed page | Not verified from reviewed page | Not verified from reviewed page | Not verified from reviewed page | Document and biometric verification; QES; pricing not published; linked pricing page 404 | Onfido page, read November 26, 2026. |
| Socure | Not verified from reviewed page | Not verified from reviewed page | Not verified from reviewed page | Not verified from reviewed page | Sandbox signup link; pricing not published | Socure page, read November 26, 2026. |
| ID.me | Not verified from reviewed page | Not verified from reviewed page | Not verified from reviewed page | Not verified from reviewed page | Consumer wallet; 80+ agencies and 1,200+ retailers; developer pricing not verified | ID.me page, read November 26, 2026. |
A not verified entry means the reviewed page did not state the control. It is not evidence that the vendor lacks it. Each comparison traces to the dated vendor page note in the table and in the vendor section below.
1. Didit: documented signing, rotation and delivery health
We rank Didit first on the supplied evidence. Our webhook page names the headers, the canonicalization, the clock window and the rotation overlap, and the destination API exposes the health of every endpoint you register. We serve 4,000+ companies.
- HMAC-SHA256 with
X-Signature-V2over sorted, Unicode-preserved canonical JSON;X-Signatureover raw bytes;X-Signature-Simplekept as a deprecated envelope-only fallback. X-Timestampin Unix seconds with a documented 300-second freshness window.X-Signature-V2-Previousand the matching previous headers, sent for 24 hours after a destination secret is rotated in the Business Console, and not sent for the legacy application webhook URL.- Fan-out destinations with exact event subscriptions and no wildcard, so an endpoint for
status.updateddoes not receive Travel Rule traffic. - Destination health of healthy, degraded or failing, plus
failing_streak, 30-day delivery counts, average response time and error rate fromGET /v3/webhook/destinations/. - A failure alert feed per destination from the activity endpoint, separate from individual delivery attempts.
- v3 session payloads include the decision object for Approved, Declined, In Review and Abandoned, exact status strings, and a
sandbox_scenariofield on sandbox sessions.
Pricing. Full ID check $0.33 = ID document $0.15 + passive liveness $0.10 + face match 1:1 $0.05 + device and IP analysis $0.03. AML screening $0.20. Business verification from $2.00 per company. Wallet screening $0.15 per screening. Free includes $10 per month for the first organization created with an eligible work email for a company domain, and that credit excludes phone verification. Growth is $99 a month with a $115 monthly credit and a published 4% discount on eligible Didit charges. Scale is $299 a month with a $350 monthly credit and a published 10% discount on eligible Didit charges. Carrier and Meta charges pass through at cost, and transaction monitoring beyond the included allowance is $0.001 per transaction on every plan. Enterprise contracts start at $15,000 a year. The sandbox is free on every plan. Full list at Didit pricing.

status.updated webhook reports. Your endpoint should agree with this screen.Pros
- Signing, replay window, rotation overlap and delivery health are all documented in one place.
- Health and failure alerts are readable through the API, so monitoring is a query not a guess.
- Free sandbox and a public price book, so the security review and the budget run in parallel.
- MCP server and an integration prompt let a coding assistant work from the docs.
Cons
- No wildcard subscriptions, so a new event family means a destination update.
- Status strings are case and space sensitive, which catches people who lowercase.
- The destination list is a metered API call, so include monitoring calls in your budget.
Best for: teams that must show an auditor a documented webhook contract and a published price, and that want to test the whole path for free before signing.
2. Sumsub: published per-check pricing
Sumsub lists Basic at $1.35 per verification with a $149 monthly minimum and Compliance at $1.85 with a $299 monthly minimum. Ongoing AML monitoring costs $0.08 per initial check and each subsequent checked match. Email verification costs $0.04 per applicant. Phone verification costs $0.04 per successful verification plus SMS notification fees (Sumsub page, read November 26, 2026).
Features. KYC, KYB, AML transaction monitoring, fraud prevention and Travel Rule. The page states 4,000+ clients, a 14-day free trial with 50 free checks, and integration through coding agents including Cursor, Claude Code and Copilot. Coverage is claimed broadly, with SMS pricing split into country tiers, and no specific country or document list on the page.
Pricing. Basic $1.35 per verification with a $149 monthly minimum; Compliance $1.85 per verification with a $299 monthly minimum; custom plan available (Sumsub page, read November 26, 2026). The published plan descriptions do not establish equivalent check scope across plans.
Pros
- Per-check prices you can budget without a call.
- Free trial with 50 checks lowers the cost of a proof of concept.
- Transaction monitoring and Travel Rule sit in the same product set.
Cons
- Webhook signing, timestamp handling and secret rotation are not described on the page we read.
- No country or document list is published on the page.
Best for: buyers who want a published per-check price and a trial before committing, and who will ask for signing documentation during the security review.
3. Persona: US registry coverage and published entry pricing
Persona describes itself as a way to verify real people and real businesses online. Persona lists US business registry coverage. Essential starts at $250 per month with a 12-month minimum. Confirm whether your required registry access is included (Persona page, read November 26, 2026).
Features. Identity verification, KYB, age assurance, a humanness check and Graph. Coverage includes US and non-US authoritative databases, a US business registry, and country and ID type configurations. A stated SOC 2 Type 2 attestation.
Pricing. Essential starts at $250 per month on a minimum contract term of 12 months. Growth and Enterprise are contact us (Persona page, read November 26, 2026).
Pros
- A published entry price and a stated SOC 2 Type 2 attestation.
- US business registry coverage listed on the page.
- Country and ID type configurations are documented on the page.
Cons
- 12-month minimum on the published plan.
- No per-check price, so unit cost stays unknown until you talk to sales.
- Webhook signing is not described on the page we read.
Best for: teams that want US registry coverage and can commit to a 12-month term, after confirming the registry access they need is included.
4. Jumio: global ID type coverage at transaction scale
Jumio's page is about volume and data: 120 transactions processed per second, 1B+ transactions processed, 300+ patents and patent applications, and a Jumio Identity Graph holding 30M+ known identities. Jumio lists 5K+ supported global ID types (Jumio page, read November 26, 2026).
Features. Identity verification, biometrics, risk signals, cross-transaction risk and AML screening, built on the identity graph.
Pricing. Not published on the page read (Jumio page, read November 26, 2026). Quote required.
Pros
- A large published ID type count to check against your document mix.
- Cross-transaction risk built on a large known-identity graph.
- Volume figures stated on the page.
Cons
- No published price, so unit economics need a quote.
- No certifications named on the page we read.
- Webhook signing, replay window and rotation are not described.
Best for: teams that need coverage for specific countries and ID types, after confirming their document mix.
5. Trulioo: data partner breadth and business risk
Trulioo positions around data reach. Trulioo says Individual Verification accesses more than 450 independent data partners. Its Business Risk Horizon product combines global business verification data with research by AI agents to produce explainable risk signals (Trulioo page, read November 26, 2026).
Features. Person verification, business verification, fraud prevention, sanctions and AML screening, and Know Your Agent, which links an AI agent to a verified organization through a signed digital credential.
Pricing. Not published on the page read (Trulioo page, read November 26, 2026). Quote required.
Pros
- Broad partner network for match rates across markets.
- Business verification and business risk in the same product set.
- An explicit answer for AI agent identity.
Cons
- No published price and no specific country count on the page.
- No certifications named on the page we read.
- Webhook signing is not described.
Best for: cross-border programs that need many data sources and business risk scoring.
6. Onfido: document and biometric checks with named integrations
Onfido states that it helps support KYC, AML and eIDAS 2.0 requirements and offers QES. It also claims detection of deepfakes, synthetic identities and injection attacks using AI biometrics, document intelligence, and device and behavioral signals, and names Microsoft Entra Verified ID and Okta Workforce Identity integrations (Onfido page, read November 26, 2026).
Features. Document verification, biometric verification, KYC compliance, data verification and fraud detection, usable standalone or extended to onboarding, account recovery, transaction protection, biometric authentication, digital signing and workforce verification.
Pricing. Not published, and the pricing page linked from the site returned a 404 error (Onfido page, read November 26, 2026). Quote required.
Pros
- Clear public position on deepfake and injection attack detection.
- Extends beyond onboarding into signing and workforce identity.
- Named integrations with Microsoft Entra Verified ID and Okta Workforce Identity.
Cons
- Pricing could not be verified at all.
- No certification named on the page we read.
- Webhook signing is not described.
Best for: teams evaluating standalone document and biometric verification, digital signing, or the named Microsoft Entra Verified ID and Okta Workforce Identity integrations.
7. Socure publishes a sandbox signup link
Socure describes an AI-native trust infrastructure platform for identity, risk, compliance, age and workforce verification of consumers, businesses and employees, and calls the platform fully vertically integrated. The page includes a Start building now link to a sandbox signup (Socure page, read November 26, 2026).
Features. Identity, risk, compliance, age and workforce verification, with a Start building now link to a sandbox signup at riskos.sandbox.socure.com.
Pricing. Not published on the page read (Socure page, read November 26, 2026). Quote required.
Pros
- A sandbox signup link is published.
- Broad scope across consumers, businesses and employees.
- A single page covers identity, risk, compliance, age and workforce use cases.
Cons
- No published price or coverage detail.
- No certification named on the page we read.
- Webhook signing is not described.
Best for: teams evaluating identity and risk verification that want a published sandbox signup link.
8. ID.me offers a reusable consumer identity wallet
ID.me describes a digital identity wallet: verify once and use it for 80+ government agencies and discounts at 1,200+ retailers, with wallet cards for a US passport, California driver license, student and nurse status. The page says the company never sells personal data and states that over a hundred million Americans use it (ID.me page, read November 26, 2026).
Features. Wallet, browser extension, government sign-in access, retail discounts and wallet cards.
Pricing. Not published on the page read (ID.me page, read November 26, 2026). Webhooks and developer pricing were not verified from the reviewed ID.me page.
Pros
- Consumer reach into government services and retail benefits.
- An explicit data-selling position on the page.
- Reusable credentials instead of one-off checks.
Cons
- Built around a consumer wallet, not a documented developer webhook flow on the page we reviewed.
- No published developer pricing or coverage of ID types.
- Webhook signing was not verified from the reviewed page.
Best for: people who want to reuse a verified identity for participating government services and retailer discounts.
What 5,000 monthly checks cost
Unit prices decide the budget. Here is the arithmetic at 5,000 full ID checks a month using published prices only. Gross list-price usage before credits is $1,650.00 per month, or $19,800.00 per year.
| Plan | Monthly fee | Included credit | Usage charge after plan discount, before credit | Cash cost |
|---|---|---|---|---|
| List | $0.00 | $0.00 | 5,000 x $0.33 = $1,650.00 | $1,650.00 per month |
| Eligible Free | $0.00 | $10.00 | $1,650.00 | $1,650.00 minus $10.00 = $1,640.00 per month |
| Growth | $99.00 | $115.00 | 5,000 x $0.3168 = $1,584.00 | $99.00 + ($1,584.00 - $115.00) = $1,568.00 per month |
| Scale | $299.00 | $350.00 | 5,000 x $0.297 = $1,485.00 | $299.00 + ($1,485.00 - $350.00) = $1,434.00 per month |
Adding AML. The compliance bundle is $0.53 per check, so 5,000 x $0.53 = $2,650.00 a month. Wallet screening on top is $0.15 per screening, so 5,000 x $0.15 = $750.00 if every session needs one. Bring your own screening provider and run it inside Didit if you already pay for one.
| Vendor | Published price | Minimum commitment | Published scope note |
|---|---|---|---|
| Sumsub | Basic $1.35 per verification; Compliance $1.85 per verification | $149 monthly on Basic; $299 monthly on Compliance | KYC, KYB, AML monitoring, Travel Rule; no country list on page |
| Persona | Essential from $250 per month | 12-month term: $250 x 12 = $3,000 is the starting 12-month commitment | Identity verification, KYB, US registry; no per-check price |
Source for the comparison table: Sumsub page, read November 26, 2026; Persona page, read November 26, 2026. Jumio, Trulioo, Onfido, Socure and ID.me publish no price on the pages we reviewed; quote required.
Sumsub for equal verification volume. 5,000 x $1.35 = $6,750.00 a month on Basic, well above its $149 monthly minimum, and 5,000 x $1.85 = $9,250.00 a month on Compliance (Sumsub page, read November 26, 2026). This is equal verification volume, not equivalent check scope; the published plan descriptions do not establish equivalent scope.
Persona. Persona Essential starts at $250 per month with a 12-month minimum contract term, so the starting 12-month cost is $250 x 12 = $3,000. There is no per-check price on the page, so a per-check cost cannot be computed (Persona page, read November 26, 2026).
Enterprise. Didit Enterprise contracts start at $15,000 a year. That is the published contract floor, not a quote for this 5,000-check workload; ask for a quote at that volume.
We publish prices for completed verification checks. The destination-list endpoint is pay-per-call, and the supplied sources do not specify a per-call amount or establish a separate webhook delivery charge. Check the current pricing and docs before budgeting.

Which one to pick
You have a security review in four weeks
Pick Didit. Signing, the timestamp window, the rotation overlap and delivery health are documented, and the sandbox is free, so you can show a working endpoint rather than a promise.
You want the lowest published per-check price
Compare what sits inside the check. Sumsub publishes $1.35 for Basic and $1.85 for Compliance (Sumsub page, read November 26, 2026); we publish $0.33 for a full ID check made of ID document, passive liveness, face match and device plus IP analysis. Put the same scope on both sides before you compare the numbers.
You already run Persona, Jumio, Onfido, Sumsub, Trulioo, Socure or ID.me
Keep the vendor if it works. Before you build the receiver, request its signing inputs, freshness rules, event identifier behavior, rotation procedure and delivery failure documentation. The 300-second window and previous-signature headers described on this page are Didit-specific. If you do move, start at Didit switch.
You need coverage for specific countries and ID types
Jumio lists 5K+ supported global ID types (Jumio page, read November 26, 2026). We publish 220+ countries and territories and 14,000+ document types. The counts are not defined the same way, so confirm your document mix before you commit.
You need many data partners and business risk
Trulioo publishes access to more than 450 independent data partners (Trulioo page, read November 26, 2026), which matters when match rates vary by market.
You need a consumer wallet
ID.me is built for that job, with 80+ government agencies and 1,200+ retailers on the page (ID.me page, read November 26, 2026). Webhooks and developer pricing were not verified from the reviewed ID.me page.

Sources
- Didit webhooks documentation: signature headers, timestamp window, retry policy and payloads.
- Didit list webhook destinations API: health status, failing streak, 30-day delivery metrics.
- Didit get webhook destination API: single destination with signing secret.
- Didit webhook destination activity API: failure alerts.
- Didit verification statuses: the exact status strings and transitions.
- Didit API errors and rate limiting: retry and decision re-fetch behaviour.
- Didit pricing and pricing JSON: every unit price used above.
- Didit User Verification: the modules that make up a full ID check.
- Didit MCP server: connecting the API to a coding assistant.
- Wallet screening documentation.
- Persona page, read November 26, 2026 (withpersona.com).
- Sumsub page, read November 26, 2026 (sumsub.com).
- Jumio page, read November 26, 2026 (jumio.com).
- Trulioo page, read November 26, 2026 (trulioo.com).
- Onfido page, read November 26, 2026 (onfido.com).
- Socure page, read November 26, 2026 (socure.com).
- ID.me page, read November 26, 2026 (id.me).
The quickest way to test any of this is our sandbox. Create an organization at business.didit.me, send one test session, and watch the signed webhook land in your endpoint before you touch production code. No sales call.
Try it
Try this in the sandbox
Run the check this guide describes, free.
The product this post is about, taken from its topic. Run it free in the sandbox.
Author
Alejandro Rosas
Co-founder and CTO

Questions
Frequently asked questions
What is the difference between HMAC-SHA256 and a webhook signing secret?
The secret is the key both sides hold. HMAC-SHA256 is the function that turns the signed input plus that key into a signature header. The receiver recomputes the signature with its copy of the secret and compares in constant time. A valid HMAC authenticates a holder of the shared secret; it does not by itself prove freshness.
Why is HMAC signature verification not enough on its own?
A valid HMAC confirms that a holder of the shared secret authenticated the signed data. Freshness checks and idempotent handling address when the event arrived and whether you already processed it. Apply the documented 300-second freshness check on X-Timestamp and use the verified event_id for idempotent handling. Monitor destination health for delivery failures, and use delivery-attempt records and receiver logs to diagnose individual failures.
How do I stop webhook replay attacks?
Verify the signature first. Apply the documented freshness check: the absolute difference between your current Unix time and X-Timestamp must be no more than 300 seconds, and the documented V2 and raw-byte signatures do not separately authenticate that header. Use the verified event_id to prevent a second state change for an event you have already processed. Keep the timestamp check and idempotency separate, do not tie deduplication retention to the 300-second window, and treat these controls as reducing replay risk.
Which Didit signature header should I verify?
Use X-Signature-V2, which signs sorted, Unicode-preserved canonical JSON, and make sure your receiver reproduces that representation. X-Signature signs the exact request bytes and works only if your stack does not re-encode the body. X-Signature-Simple is deprecated and authenticates the envelope only, so if you must use it, re-fetch the decision from GET /v3/session/{session_id}/decision/.
How do I rotate a webhook secret without dropping events?
Rotate a destination secret in the Business Console. Didit sends the current and previous signatures for 24 hours after that rotation, so you can accept either while you deploy the new secret. The previous headers are not sent for the legacy application webhook URL. Plan the rotation; do not assume an automatic delivery guarantee.
What should my endpoint return when it receives a webhook?
Verify the signature and freshness first. Return a 2xx promptly once your application has accepted the valid event for idempotent handling. A timeout is a failed delivery attempt, so make the endpoint fast and keep processing idempotent. Keep the raw request body until the signature verifies.
How do I monitor webhook delivery failures on Didit?
Read health_status from GET /v3/webhook/destinations/. failing means three or more consecutive events failed their first delivery attempt since the destination last answered successfully. If the destination is not failing, degraded means an attempt failed in the last 24 hours and no later attempt has delivered that same event. Otherwise, the status is healthy. Health is independent of whether the destination is enabled. The same call returns 30-day delivery metrics, and the destination activity endpoint lists failure alerts, which are separate from individual delivery attempts.
Can I test webhook signing before going live?
Yes. The sandbox is free on every plan. Arm a scenario on a sandbox session and read the resulting slug from sandbox_scenario; it is null on live sessions and unarmed sandbox sessions. The activity.created event is currently sent only by the Try Webhook test in the console, so use it to check your verifier before you subscribe live destinations.
Which Didit status strings do I need to handle?
Not Started, In Progress, Approved, Declined, In Review, Awaiting User, Resubmitted, Expired, Abandoned and Kyc Expired. They are exact, case-sensitive strings, and Kyc Expired uses one capital K. Match with strict equality instead of lowercasing the payload.
Does webhook security cost extra?
The destination-list endpoint is pay-per-call. The supplied sources do not specify a per-call amount or establish a separate webhook delivery charge. We publish prices for completed verification checks: $0.33 for a full ID check, $0.20 for AML screening and $0.15 for wallet screening. Check the current pricing and docs before budgeting.
How do I pull the webhook signing secret and delivery metrics?
List destinations with GET /v3/webhook/destinations/, which returns the URL, version, subscribed events, health, 30-day metrics and secret_last4 without the full secret. Read one destination with GET /v3/webhook/destinations/{destination_uuid}/ to get the signing secret and delivery summary. The list call is documented as pay-per-call.
curl -X GET 'https://verification.didit.me/v3/webhook/destinations/' -H 'x-api-key: YOUR_API_KEY'Compliance built in
Audited, certified and attested.
We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center
- Regulation encoded into your flows
Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.
- Ready for AMLR
Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.
- Tested in Spain's Treasury sandbox
Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.
- Audited, not self-declared
iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.
Your obligations · 3 regions
SOC 2 Type 2
ISO 27001
iBeta Level 1 and Level 2
EU regulator attestation
FSM youth protection
GDPR
EBA remote onboarding
MiCA compatible
FIDO Alliance member
- AMLREU AML Regulation ready
Integration · Didit MCP
Run Didit from your own AI agent
Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.
- Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
- Run investigationsAsk why a session was declined, review cases, search people and companies.
- Change rulesCreate payment rules, test them on past data and switch them on.
- Pull reportsAsk for numbers, exports or the audit log.
Didit Academy


