Identity Verification API for UK Fintech: 2026 How-to Guide
Didit's REST API adds KYC and AML to a UK fintech onboarding flow: create a workflow, create a session, receive the signed webhook decision. Full KYC is $0.33, AML $0.20 per check.

Contents
In this guide
Jump to the part you need.
Didit is for UK fintech teams that need KYC and AML inside their own onboarding flow, not inside someone else's portal. A full ID check costs $0.33 at list price and an AML screening costs $0.20, billed per completed check from prepaid credit. The caveat sits with you: you host the integration, you verify the webhook signature, and you decide what happens when a check returns In Review.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
| Item | Detail |
|---|---|
| Full ID check (KYC) | $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 per check, 1,300+ sanctions and PEP lists |
| Ongoing AML monitoring | $0.07 per person per year |
| UK phone verification | SMS code from $0.0783, WhatsApp from $0.0599 per code at list price |
| Sandbox | Free and unlimited on every plan |
| Free plan | $10 of credit a month for organizations that sign up with a work email |
| Coverage | 220+ countries and territories, 14,000+ document types, 54 flow languages |
| Compliance marks | SOC 2 Type 2, ISO/IEC 27001:2022 certified, GDPR, DORA, AMLD6 |
Start free in the sandbox at business.didit.me, no sales call. Developers who want an AI assistant to write the integration can connect Didit through the MCP server. The matching product page is Identity Verification, and plans, unit prices and the cost estimator are on the pricing page.
A published price does not guarantee production availability for a particular UK document or digital-ID method. Confirm the document type and verification method in the product documentation before you commit.
What an identity verification API has to do for a UK fintech
UK fintechs must follow applicable FCA and anti-money-laundering requirements, including the Money Laundering, Terrorist Financing and Transfer of Funds (Information on the Payer) Regulations 2017. In practice that means identifying the customer, verifying identity from a reliable independent source, screening against sanctions and PEP lists, and keeping the evidence. Your compliance policy should define when identity and screening evidence must be complete before onboarding or payment.
An API does three jobs. It runs the checks. It returns a decision your backend can act on without a person reading a PDF. It returns verification evidence in the decision response and, for applicable statuses, the webhook payload. On Didit the result can arrive as a signed webhook, and it is also exposed through the decision endpoint, so a dropped delivery does not lose the result.
AML identity verification in a UK fintech: the checks that carry the file
- Document checks include OCR and barcode data where available. Passport chip reading over NFC is a $0.15 add-on; confirm the document and method in the product documentation.
- Biometrics: passive liveness plus a 1:1 face match between the selfie and the document portrait.
- AML screening: sanctions and PEP screening against 1,300+ lists, with ongoing monitoring after onboarding.
- Device and IP analysis: 200+ real-time fraud signals on every check.
- Proof of address at $0.20 when the file needs an address document.

Where your FCA obligations end and the API starts
Didit runs the technical checks and returns evidence: document authenticity, liveness, face match, AML screening results and the decision status. Your firm still owns the customer risk assessment, the onboarding decision, record keeping and the reporting that the FCA requires. Build the flow so an In Review status or an AML hit routes to your compliance queue, not to an automatic approval.
What we recommend for a first UK onboarding flow
Build one KYC workflow with four features: OCR, LIVENESS with face_liveness_method set to PASSIVE, FACE_MATCH and AML. That is the compliance path: the full ID check and AML screening run in one session, and you pay only when a check finishes with a result. Didit runs identity and fraud checks for 4,000+ companies and returns decisions with sub-2-second p99 inference latency.
Prerequisites
- A Didit organization and an application, created at business.didit.me.
- An API key. Sandbox keys start with
sk_test_, live keys withsk_live_, followed by 43 URL-safe characters. Never validate a key by its prefix, because older keys have none. - A workflow to point the session at, so you have a
workflow_id. - An HTTPS endpoint that accepts webhooks and answers within 5 seconds.
- A callback URL, if your application has allowed domains set, on one of those origins (same scheme, host and port).
- A server-side runtime. The key is a server secret; it must not reach a browser or mobile bundle.
Add KYC and AML to UK fintech onboarding, step by step
The same call pattern is the API for KYC verification and for business verification: the workflow type decides which kind of session the endpoint creates. Every call below is taken from the Didit quick start.
-
Get an API key. Either copy the Primary key in the console under Developers then API keys, or register programmatically. The register endpoint emails a 6-character code with a 10 minute lifetime, and the verify call returns both keys inline.
curl -X POST https://apx.didit.me/auth/v2/programmatic/register/ \ -H "Content-Type: application/json" \ -d '{"email": "you@yourdomain.com", "password": "StrongP@ss1"}' curl -X POST https://apx.didit.me/auth/v2/programmatic/verify-email/ \ -H "Content-Type: application/json" \ -d '{"email": "you@yourdomain.com", "code": "A3K9F2"}'Store
response.sandbox_application.api_keyasDIDIT_API_KEYfor free testing andresponse.application.api_keyas the live key. Reserved domains such as example.com return 400 with the codeemail_undeliverable. -
Create the workflow. Four features cover a standard UK KYC plus AML file. Persist
workflow.id.curl -X POST https://verification.didit.me/v3/workflows/ \ -H "x-api-key: $DIDIT_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "workflow_label": "Standard KYC", "workflow_type": "kyc", "features": [ {"feature": "OCR"}, {"feature": "LIVENESS", "config": {"face_liveness_method": "PASSIVE"}}, {"feature": "FACE_MATCH"}, {"feature": "AML"} ] }' -
Create a session and send the user to the hosted flow. The response contains
session_id,urlandsession_token. Redirect the user tourl, or open it in an SDK or an iframe. Pass your own user ID asvendor_dataso later webhooks map back to a row in your database.curl -X POST https://verification.didit.me/v3/session/ \ -H "x-api-key: $DIDIT_API_KEY" \ -H "Content-Type: application/json" \ -d "{\"workflow_id\": \"$WORKFLOW_ID\", \"vendor_data\": \"user-42\", \"callback\": \"https://myapp.com/kyc/return\"}"

-
Register the webhook destination. Create it once per environment, subscribe to the event families you act on, and save the returned
secret_shared_key. There is no wildcard, so list every family you want.curl -X POST https://verification.didit.me/v3/webhook/destinations/ \ -H "x-api-key: $DIDIT_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "label": "Production", "url": "https://myapp.com/api/webhooks/didit", "subscribed_events": ["status.updated", "data.updated", "user.status.updated", "user.data.updated"], "webhook_version": "v3" }' -
Handle the event. Read the raw body before parsing, verify the
X-Signature-V2header (HMAC-SHA256 over the sorted canonical JSON) with your destination secret, and confirm thatX-Timestampis within 300 seconds of now. De-duplicate onevent_id, apply the status to your database idempotently, and return 2xx within 5 seconds. -
Pull the decision as a fallback. If a webhook never lands, or you want to re-read a session later, call the decision endpoint. The key needs the
read:sessionsprivilege.curl https://verification.didit.me/v3/session/<SESSION_ID>/decision/ \ -H "x-api-key: <API_KEY>" -
Branch on the result. Switch first on
session_kind(user or business), then onstatus. Never assume the singular V2 fields: in V3 the per-feature data is always in plural arrays.

What you should see
The session call returns identifiers you keep: session_id, url and session_token. The webhook envelope carries the event, the status and, for Approved, Declined, In Review and Abandoned, the full decision object.
{
"event_id": "uuid",
"session_id": "uuid",
"status": "Approved",
"webhook_type": "status.updated",
"environment": "live",
"workflow_id": "uuid",
"vendor_data": "user-42",
"decision": { }
}
The decision object mirrors the REST response. These are the top-level keys a UK fintech backend reads first, with one item per step that actually ran:
{
"session_id": "uuid",
"session_kind": "user",
"session_number": 1,
"session_url": "https://verify.didit.me/session/...",
"status": "Approved",
"workflow_id": "uuid",
"vendor_data": "user-42",
"id_verifications": [],
"liveness_checks": [],
"face_matches": [],
"aml_screenings": [],
"ip_analyses": [],
"decision_trace": { "status": "Approved", "decided_by": "automatic" },
"status_override": null,
"reviews": []
}
Statuses are exact and case-sensitive: Approved, Declined, In Review, In Progress, Not Started, Expired, Abandoned, Kyc Expired, Resubmitted, Awaiting User. Kyc Expired uses a single capital K.
Inputs and outputs
| Field | Direction | What it does |
|---|---|---|
workflow_id | Input, required | The workflow UUID. KYC workflows create user sessions, KYB workflows create business sessions. |
vendor_data | Input | Your stable user or business identifier. Binds the session to an entity and drives duplicate detection. |
callback | Input | Where the hosted flow redirects the user. Didit appends the session ID and the status. |
metadata and tags | Input | Free JSON echoed back in responses and webhooks, and up to 10 labels for filtering in the console. |
expected_details | Input | Name, date of birth, nationality, ID country or expected document types. Mismatches surface as decision warnings. |
language | Input | ISO 639-1 code for the verification UI. Defaults to browser detection. |
session_expiration_time | Input | Link lifetime in seconds, between 3600 and 2419200, overriding the workflow setting for this session. |
session_id, url, session_token | Output | Returned by session creation. The URL is what you send the user to. |
status | Output | The decision your system acts on, in the webhook and in the decision call. |
id_verifications[], liveness_checks[], face_matches[], aml_screenings[] | Output | Per-feature results, always plural arrays. A feature that did not run is absent or null. |
decision_trace and status_override | Output | How the status was reached, and whether a reviewer changed it by hand. |
Failure cases and how to recover
| Response | Meaning | Fix |
|---|---|---|
| 401 on verification.didit.me | The x-api-key header is wrong, malformed, revoked or expired | Re-fetch the key with the login and organizations flow, or use a key that has not expired |
| 403 on verification.didit.me | No key header, a scoped key without access, or a call from an address outside its IP list | Use a key with that access from Developers then API keys |
| 400 | Invalid workflow_id, a callback outside your allowed domains, or a bad session_expiration_time | Read the field named in the error and resend |
| 404 on a session route | The session does not exist or belongs to a different application | Check the key's application before retrying |
| 429 | Rate limit, with a wait field in seconds | Back off for that many seconds, then retry |
| 401 on apx.didit.me | The JWT is missing or expired | Call the programmatic login endpoint again |
| Webhook handler slower than 5 seconds, 5xx or 404 | Didit retries twice, after about 1 and 4 minutes, then drops the delivery | Resend from the destination delivery log, and pull the decision endpoint as the backup |
Two more recovery paths matter in production. If a user abandons the flow, the session stays in Not Started or Abandoned and expires at expires_at, so create a new session rather than reusing the link. If your signing secret is rotated, the previous signature is sent in a -Previous header for 24 hours, so accept a match on either while you deploy.
Which steps are paid, and where human review starts
Billing is per completed check from prepaid credit, and the plan credit is spent first. Nothing is charged for a session that never produces a result.
| Step | List price | Notes |
|---|---|---|
| Full ID check (KYC) | $0.33 | ID document, passive liveness, face match 1:1 and device and IP analysis in one check |
| ID document only | $0.15 | When you already hold biometrics elsewhere |
| Passive liveness | $0.10 | Active liveness is $0.15 if your risk model wants a challenge |
| Face match 1:1 | $0.05 | Selfie against the document portrait |
| AML screening | $0.20 | 1,300+ sanctions and PEP lists, one check per person |
| Ongoing AML monitoring | $0.07 per person per year | Re-screening after onboarding, which UK files usually need |
| Proof of address | $0.20 | Only when the file calls for an address document |
| Passport chip reading over NFC | $0.15 | Add-on to a document check; confirm availability for the document you accept |
| Phone verification, UK SMS | From $0.0783 per code | Carrier price plus the Didit fee; WhatsApp from $0.0599 |
| White label flow | $0.10 | Your brand and domain instead of the hosted Didit screens |
| Business verification (KYB) | From $2.00 per company | Registry data priced by country and data tier |
| Workflow orchestrator, MCP server, reusable KYC | Free | Included on every plan |
Automatic decisions need no human. When a session is In Review, the console exposes the reviewer and review-clock fields: assignee, waiting_since and sla_due_at; the reviewer's change is written to status_override with the original automatic_status, and reviews lists the manual-review activity. Your API keeps returning the current status throughout, so your onboarding screen should treat In Review as a third path, not as an error. The Investigator agent, available from the Growth plan, can review and follow up cases as part of the case-management workflow.
Worked cost example
Take a UK payments firm onboarding 5,000 customers a month on the Growth plan, running a full ID check plus an AML screening on each one, and monitoring every onboarded customer for a year.
- List price per onboarding: $0.33 KYC + $0.20 AML = $0.53. For 5,000 customers: 5,000 x $0.53 = $2,650.00.
- Growth price, at 4% off every Didit price: KYC $0.3168, AML $0.192, so $0.5088 per onboarding. For 5,000 customers: 5,000 x $0.5088 = $2,544.00.
- Monthly plan credit on Growth is $115.00, so the top-up balance pays $2,544.00 - $115.00 = $2,429.00 for the month.
- Plan fee: $99.00 a month, or $1,128.00 a year paid up front.
- Ongoing AML monitoring for the same 5,000 people: 5,000 x $0.0672 (Growth price for $0.07) = $336.00 a year.
Total first month on Growth: $99.00 plan fee + $2,429.00 from top-ups = $2,528.00, plus $336.00 a year for monitoring. On Scale, at 10% off, the same 5,000 onboards cost 5,000 x ($0.297 + $0.18) = $2,385.00 and the $350.00 monthly credit leaves $2,035.00 to pay. Run your own numbers in the estimator on the pricing page.
Sources
- Didit quick start: account, workflow, session, webhook and decision walkthrough.
- Didit API authentication: host map, key format, programmatic registration and failure modes.
- Create session API: request fields, callback rules and session expiration.
- Retrieve session decision API: top-level keys, feature arrays and error codes.
- Didit webhooks: signature headers, event types, envelope and retry behaviour.
- Didit pricing in the docs: plans, credit, top-ups and billed lines.
- Didit pricing page: list prices, plan comparison and the cost estimator, read November 26, 2026.
- Didit Identity Verification product page, read November 26, 2026.
- Didit MCP server and integration prompt: agent routes into the API.
- Didit site index for AI agents and docs index.
- The Money Laundering, Terrorist Financing and Transfer of Funds (Information on the Payer) Regulations 2017, legislation.gov.uk, read November 26, 2026.
- Financial Conduct Authority on gov.uk, read November 26, 2026.
- FATF, international standards reference, read November 26, 2026.
Next step: create a free organization at business.didit.me, copy the sandbox key, and run the four calls above against a test session. There is no sales call, and the sandbox keeps working when your credit runs out.
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 an identity verification API for UK fintech?
It is a REST interface that runs KYC and AML checks on your behalf and returns a decision your backend can act on. On Didit you create a workflow once, then create a session per customer and read the result from a signed webhook or from the decision endpoint. The customer sees a hosted flow; your code sees JSON.
How much does a UK KYC and AML check cost on Didit?
A full ID check is $0.33 and an AML screening is $0.20, so $0.53 per check at list price. On Growth, at 4% off, that is $0.3168 + $0.192 = $0.5088 per check, and on Scale, at 10% off, $0.297 + $0.18 = $0.477. You pay per completed check from prepaid credit, and sandbox testing is free.
Does Didit verify UK identity documents?
Didit covers documents from 220+ countries and territories across 14,000+ document types, with the verification flow available in 54 languages and document recognition in 130+ languages. Passport chip reading over NFC is available as a $0.15 add-on. Published prices do not establish production availability for a specific document or method, so confirm the document type you need on the product page and in the docs before you commit.
How does Didit handle AML screening for UK AML rules?
AML screening runs at $0.20 per check against 1,300+ sanctions and PEP lists, with ongoing monitoring at $0.07 per person per year. Results land in the aml_screenings array of the decision, and each hit can be reviewed in the console. That gives you the screening evidence and the re-screening trail a UK file needs.
Is the Didit sandbox free, and how much can I test?
Yes. Sandbox testing is free and unlimited on every plan. Sandbox keys start with sk_test_ and every check is mocked, and you can arm a named sandbox scenario on a session to reproduce a specific outcome such as an AML hit.
What happens when a verification goes to In Review?
The decision returns the status In Review instead of Approved or Declined, and the session waits in the Business Console with an assignee and a review clock. Whatever the reviewer decides is recorded in status_override, with the original automatic status kept beside it. Your API keeps returning the current status, so treat In Review as a pending state in your own onboarding logic.
How do I verify Didit webhooks safely?
Verify the X-Signature-V2 header, an HMAC-SHA256 over the sorted canonical JSON body, using the destination secret_shared_key. Check that X-Timestamp is within 300 seconds, compare signatures in constant time, and accept the -Previous header during a secret rotation. De-duplicate on event_id and answer 2xx within 5 seconds; failures are retried twice, after about 1 and 4 minutes, then dropped.
Can I use the same API for KYB as well as KYC?
Yes. The session endpoint is shared, and the workflow type decides whether a user session or a business session is created, so branch on session_kind in the decision. Business verification starts at $2.00 per company by country and data tier, and each officer or beneficial owner takes a linked full ID check at $0.33 plus person AML at $0.20.
Can a coding agent build the integration for me?
Yes. The integration prompt takes an agent from account to live decision, including webhook signature verification and decision parsing. The Didit MCP server is hosted at mcp.didit.me/mcp with OAuth sign-in and costs nothing on any plan.
Which UK digital identity methods does Didit price?
OneID is published at $2.75 per completed verification and GOV.UK Wallet is listed for the UK, both marked coming soon, so neither is available in production yet. Google Wallet verification, at $0.10 per verification, is available in the UK today. A coming-soon method may already show a published list price before it ships.
Does the API replace my compliance team?
No. The API runs checks and returns evidence; your firm still owns the customer risk assessment, the decision to onboard, and the record keeping that the FCA expects. The API can reduce manual handling for cases that meet your automatic decision rules, so your reviewers spend their time on the hits and the In Review queue.
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


