AI Fraud and Deepfakes: 6 Steps for Identity Security in 2026
Run a $0.33 full check (ID $0.15, passive liveness $0.10, face match $0.05, device and IP $0.03) and send borderline deepfake matches to human review instead of auto-approving them.

Contents
In this guide
Jump to the part you need.
This guide fits product and risk teams who need to detect AI-generated faces, documents and personas at account opening, and who want those checks wired into one API. A full check lists at $0.33: ID document $0.15, passive liveness $0.10, face match $0.05 and device and IP $0.03. That price uses passive liveness; active 3D liveness is a separately priced variant at $0.15. The caveat: no detector stops every deepfake, so you also need a review path for the borderline results.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
| Step | What runs | List price | Who decides |
|---|---|---|---|
| 1. Set the risk tier | Choice of passive, 3D flash or 3D action liveness | No cost | You, per flow |
| 2. Build the workflow | ID_VERIFICATION, LIVENESS, FACE_MATCH | Workflow Orchestrator is free | You, in the console or API |
| 3. Create the session | Session orchestrator, hosted flow or SDK | Billed per completed check | The Didit engine |
| 4. Capture the selfie | Liveness detection | $0.10 passive, $0.15 active | The liveness model |
| 5. Read the decision | liveness_checks[], face_matches[], warnings[] | No separate cost | Your policy code |
| 6. Escalate the borderline | Face Search 1:N, blocklist, device and IP | $0.05 per face search, $0.03 device and IP | You, with human review |
Start free in the sandbox at business.didit.me, no sales call, and if you build with an AI assistant connect it to the Didit MCP server. Current list prices and plan discounts live on the pricing page.
The outcome: what AI impersonation detection has to return
AI impersonation detection is the part of a verification flow that answers one question: is the person in front of the camera the same human as the document they presented, and are they physically present right now. A useful answer is not a single yes or no. You want three outputs per session: a liveness verdict, a face match score from 0 to 100, and a set of risk warnings your code can act on.
The method we recommend is one session-based workflow with three features on it, ID_VERIFICATION, LIVENESS and FACE_MATCH, plus Face Search 1:N and device and IP analysis for your higher-risk flows. You configure it once, and the same workflow can be used with the documented session API and Web or Mobile SDK.
A camera feed and a document image are easy to generate or replay, so the checks are combined: liveness proves a real person is present, face match ties that person to the document portrait, and document authentication tests whether the ID itself is genuine.
AI fraud detection for ID verification: where each check sits
AI fraud does not arrive through one door, so it does not leave through one check. Four layers do the work, and each one fails in a different way.
- The document. Generative tools rebuild identity documents pixel by pixel. Didit ID Verification reads 14,000+ document types across 220+ countries, parses the MRZ and barcodes, and raises warnings such as
DOCUMENT_LIVENESS_FAILED,INVALID_MRZ,INCONSISTENT_DATA,FRAUD_RISK_FROM_OCRandDUPLICATED_DOCUMENT. - The person. Liveness detection confirms a real human is in front of the camera, not a printed photo, a screen replay, a mask or a deepfake. Our liveness docs state 99.9% accuracy with a false acceptance rate under 0.1%.
- The link between the two. Face Match 1:1 compares the live selfie to the portrait on the document and returns a similarity score. The threshold is yours to set.
- The history. Face Search 1:N checks the same face against your approved users, your face lists and your blocklist, which is how one fraudster opening a sixth account gets caught.
Every session also carries 200+ real-time fraud signals and runs at sub-2-second p99 inference, so the fraud layer does not become the slowest step in onboarding.
Prerequisites
- A Didit organization. Sign up at business.didit.me. Sandbox testing is free and unlimited.
- An API key from the Business Console, sent as the
x-api-keyheader. - A workflow with the
ID_VERIFICATION,LIVENESSandFACE_MATCHfeatures. You can build it in the console or withPOST /v3/workflows/. - Images under 5 MB in jpg, jpeg, png, tiff or webp. PDFs are not accepted by the face endpoints, and document images must show all four corners uncropped.
- A way to receive the result:
GET /v3/session/{sessionId}/decision/, or thesession.status.updatedwebhook.
Six steps to add AI fraud and deepfake detection to account opening
Step 1. Set the risk tier for each flow
Liveness method is a workflow setting, not a global switch. Low-risk onboarding, such as a free account with no payout, can run passive liveness at $0.10 and keep drop-off low. Account recovery, payout changes and high-value transfers deserve 3D action liveness at $0.15, where the user follows a randomized action and the system projects light patterns to confirm the face is three dimensional.
The setting is face_liveness_method with the values PASSIVE, ACTIVE_3D and FLASHING. Use one workflow per risk tier rather than one workflow for everything.
Step 2. Build the workflow
Add ID_VERIFICATION, then LIVENESS, then FACE_MATCH to the same workflow. Face Match needs the document portrait from ID Verification as its reference and the live selfie from Liveness as its input, so the order matters. Set face_match_max_attempts between 1 and 3; the default is 3, which gives one initial attempt plus two guided retries before the computed status is applied.
Step 3. Create the session and hand the user to it
Create the session with the workflow ID, your own user reference and a callback, then open session.url for the user or mount the Web or Mobile SDK.
curl -X POST 'https://verification.didit.me/v3/session/' \
-H 'x-api-key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"workflow_id": "YOUR_WORKFLOW_ID",
"vendor_data": "user-123",
"callback": "https://yourapp.com/post-kyc"
}'
That call is the session route: one workflow runs several checks and returns one decision. The standalone endpoints shown later are the opposite: one call, one check, billed per call. Keep the two routes separate in your code and in your billing estimates.
Nothing is billed until a check finishes with a result.
Step 4. Capture the selfie with the liveness method you chose
In the hosted flow the user reaches the liveness selfie, and the workflow decides which method runs. The user sees the capture step for the method the workflow selects: a single selfie for passive liveness, or the guided action and light-pattern step for 3D action or flashing liveness.

If you already hold a selfie and want a one-shot verdict, call the standalone Passive Liveness API instead. It is server to server, passive only, and priced per call.
curl -X POST 'https://verification.didit.me/v3/passive-liveness/' \
-H 'x-api-key: YOUR_API_KEY' \
-F 'user_image=@./selfie.jpg' \
-F 'save_api_request=true' \
-F 'vendor_data=user-123'
Set save_api_request=true and the submitted face is also screened against your blocklist and face index for duplicates. Set it to false to skip enrolment. In a workflow, passive liveness is $0.10; the standalone /v3/passive-liveness/ line is $0.10 per call. Full detail sits in the liveness docs.

Step 5. Read the decision, not just the status
Fetch GET /v3/session/{sessionId}/decision/ and read the arrays. The session status is a summary; the warnings are the evidence, and they are what your policy code should branch on.
| Array or object | What it holds | What you do with it |
|---|---|---|
id_verifications[] | Document fields, MRZ, portrait and document warnings | Stop the flow on terminal document warnings |
liveness_checks[] | One entry per liveness node, with status, method, score and warnings | Reject presentation attacks, retry capture failures |
face_matches[] | Similarity score from 0 to 100 and the face match warnings | Apply your own threshold above the default |
face_search | Singular object with total matches and match sources | Merge, block or review duplicate and blocklisted faces |
ip_analyses[] | Geo, ASN, VPN, proxy, Tor flags and device fingerprint matches | Add friction only when the network or device is suspicious |
Status values are Not Started, In Progress, Approved, In Review, Declined, Abandoned and Kyc Expired.
Step 6. Escalate the borderline results instead of guessing
Duplicate detection and network signals catch the fraud that passes every appearance check. Face Search runs automatically during the liveness step of a full session, and you can also call it directly with search_type set to most_similar for deduplication or blocklisted_or_approved for blocklist screening. Device and IP analysis runs inside every session and needs no separate call.
Write the escalation rule before you go live, and make it explicit in code.
| Session status | Product action | Guardrail |
|---|---|---|
Approved | Create the account and grant the requested access | Only when no POSSIBLE_ warning is present |
Declined | Do not create the account; log the warning and close the session | Do not retry outside the session flow |
In Review | Hold the account and route it to a human queue | Never auto-approve |
On Growth and Scale, the Investigator agent can handle that review and follow-up. The decision stays with your policy.

Expected output
The standalone Passive Liveness call returns a request_id and a liveness object carrying status, method, score, user_image with entities and best_angle, warnings, face_quality and face_luminance. The status field carries one of the documented status values, and the warnings array carries the risk codes your policy code branches on.
The warnings you should expect to handle most often:
LIVENESS_FACE_ATTACKandLOW_LIVENESS_SCORE: a presentation attack is suspected. Do not approve.NO_FACE_DETECTEDandMULTIPLE_FACES_DETECTED: a capture problem. Ask for a retry with a single, well framed face.FACE_IN_BLOCKLISTandPOSSIBLE_FACE_IN_BLOCKLIST: a definitive hit, or a borderline one to route to review.DUPLICATED_FACEandPOSSIBLE_DUPLICATED_FACE: the same face already exists under anothervendor_data. Merge or block according to your policy.LOW_FACE_MATCH_SIMILARITY: the selfie and the document portrait do not match. Retry within the attempt budget, then apply the status.
Inputs and outputs
| Check | Input | Output | List price |
|---|---|---|---|
| ID Verification | front_image, plus back_image for dual-sided documents | id_verification with extracted fields, portrait and warnings | $0.15 in a workflow, $0.20 standalone API |
| Liveness | Session selfie, or user_image on the standalone call | liveness_checks[] or a liveness object with score and warnings | $0.10 passive in a workflow, $0.15 active, $0.10 standalone passive API |
| Face Match 1:1 | user_image and ref_image | face_match with a score from 0 to 100 | $0.05 |
| Face Search 1:N | user_image and search_type | face_search with total matches and sources | $0.05 per search |
| Device and IP Analysis | None, collected inside the session by the SDK | ip_analyses[] with geo, VPN and device fingerprint matches | $0.03 |
Failure cases and recovery
| Symptom | Cause | Recovery |
|---|---|---|
| HTTP 403 | Out of credits | Top up or check the balance, then retry the check |
| HTTP 400 on liveness or face match | Missing user_image, file over 5 MB, unsupported extension, PDF sent to a face endpoint | Fix the payload and resend; the request was never billed as a completed check |
Declined with LIVENESS_FACE_ATTACK | Presentation attack detected | Do not approve; log the session and keep the face in your review queue |
| In Review with a document liveness warning that reports no usable score | The requested forgery check produced no score | Treat the document as unchecked and route it to manual review |
Face match keeps failing with LOW_FACE_MATCH_SIMILARITY | Real mismatch, or poor lighting and framing | The user gets coaching and a retry up to face_match_max_attempts; after exhaustion the computed status applies |
ip_analyses[] is empty | The user blocked the fingerprinting script | Decide in advance whether you fail closed or continue on soft signals only |
VPN_DETECTED, PROXY_DETECTED, TOR_DETECTED | Network risk flags | Apply your own rule: decline, review, or add an active liveness step |
Paid steps and review boundaries
You pay per completed check from prepaid credit, and the sandbox never bills. The steps that cost money are the ones that produce a result: ID Verification, liveness, face match, face search and device and IP. Reading a decision and receiving a webhook cost nothing.
- List prices are $0.33 for a full check with passive liveness, $0.15 for ID document only, $0.10 for passive liveness, $0.15 for active liveness, $0.05 for face match, $0.05 for face search and $0.03 for device and IP.
- Plans change the price, not the check. Growth is $99 a month and takes 4% off every Didit price; Scale is $299 a month and takes 10% off; Enterprise is an annual contract from $15,000 a year.
- The Free plan gives $10 of credit a month to organizations that sign up with a work email, which buys about 30 full checks at list price.
- Never auto-approve
In Review. That status exists because the system could not reach a safe decision. - Never auto-approve a
POSSIBLE_warning. Borderline blocklist, duplicate face and location mismatch warnings are for a person to judge. - Treat
Declinedas terminal. Retries belong in the session flow, not in a post-hoc workaround.
Worked cost example
Take 10,000 new accounts a month, each running a full check with a face search and active liveness on every session.
- Full check with active liveness: $0.15 ID + $0.15 active liveness + $0.05 face match + $0.03 device and IP = $0.38 per check.
- Add Face Search 1:N at $0.05: $0.38 + $0.05 = $0.43 per account.
- Monthly total at list price: 10,000 x $0.43 = $4,300.00.
- The same mix on Scale, with 10% off Didit prices: $0.135 + $0.135 + $0.045 + $0.027 = $0.342, plus $0.045 for the search = $0.387 per account, so 10,000 x $0.387 = $3,870.00. The $299 monthly plan fee is separate and comes with $350 of credit.
- If you keep passive liveness on your low-risk tiers instead, each of those checks drops by $0.05: 10,000 x $0.38 = $3,800.00.
Run your own numbers on the pricing page and check billing rules in the pricing docs.
Add Didit to Claude · Open Didit in ChatGPT · MCP setup for every client
Sources
- Didit liveness detection docs: methods, standalone call, status values and liveness warnings.
- Didit face match docs: similarity score, thresholds and retry behaviour.
- Didit face search docs: 1:N matching, match sources and blocklist semantics.
- Didit device and IP analysis docs: session behaviour, fingerprint signals and location warnings.
- Didit ID verification docs: document coverage, extraction and document warnings.
- Didit pricing docs: plans, credit rules and standalone API prices.
- Didit pricing page and pricing JSON: list prices read on November 26, 2026.
- Didit MCP server: connecting Didit to an AI assistant.
- Switching to Didit: moving an existing verification flow across.
Next step: open the sandbox at business.didit.me, create a workflow with ID verification, liveness and face match, and run your own spoofed selfie through it. No sales call needed.
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
Alberto Rosas
Co-founder and CEO

Questions
Frequently asked questions
What is AI impersonation detection?
AI impersonation detection is the set of checks that catch a person or an image generated by AI pretending to be someone else. In a Didit session it combines passive or active liveness, face match against the document portrait, and face search against your approved users and blocklist. Each check returns a status and a list of risk warnings your code can act on.
How does AI fraud detection work for ID verification?
The document is authenticated first, then the person holding it. Didit ID Verification extracts the fields with OCR and MRZ parsing and raises warnings such as DOCUMENT_LIVENESS_FAILED, INVALID_MRZ, INCONSISTENT_DATA and FRAUD_RISK_FROM_OCR. Liveness and face match then confirm that a live human matching the portrait is present, and the session decision joins all three results.
How do you detect AI-powered deepfakes at account opening?
Deepfakes fail where the flow asks for something a recorded or generated video cannot produce on demand. Active 3D liveness requests a randomized action and projects light patterns to build a depth map, and passive liveness scores a single selfie for artifacts and texture. Set face_liveness_method to ACTIVE_3D on high-risk flows and keep passive liveness for high-volume onboarding.
Is passive or active liveness better against deepfakes?
Active 3D liveness is harder to spoof because it needs a real-time response and a three-dimensional depth check, and it costs $0.15 per check. Passive liveness costs $0.10 and works from a single selfie with no user action, which suits lower-risk onboarding. Most teams keep passive liveness as the default and switch to 3D action for account recovery and high-value steps.
Can deepfake detection guarantee 100% accuracy?
No detector can promise that, because generation models keep changing. Our liveness docs state 99.9% accuracy with a false acceptance rate under 0.1%. The liveness documentation states iBeta Level 1 and Level 2 coverage. Treat one check as one signal and keep a human review path for borderline warnings.
How much does a full check with liveness cost?
A full check is $0.33 at list price: ID document $0.15, passive liveness $0.10, face match $0.05 and device and IP analysis $0.03. That bundle uses passive liveness; replacing it with active 3D liveness adds $0.05 per check. Face Search 1:N is $0.05 per search.
What happens when a check comes back In Review?
In Review means the system could not reach a safe automatic decision, for example a borderline face match or a possible blocklist hit. Do not approve the session in code, and route it to a manual queue instead. On Growth and Scale, the Investigator agent can handle that review and follow-up.
Which warnings mean I should never auto-approve a user?
Declined statuses carrying LIVENESS_FACE_ATTACK, LOW_LIVENESS_SCORE, FACE_IN_BLOCKLIST or LOW_FACE_MATCH_SIMILARITY after retries are terminal for that session. POSSIBLE_FACE_IN_BLOCKLIST, POSSIBLE_DUPLICATED_FACE, VPN_DETECTED and LOCATION_MISMATCH_WITH_DOCUMENT belong with a person. NO_FACE_DETECTED and MULTIPLE_FACES_DETECTED are capture problems, so ask the user to retry.
Can I check whether a face already exists in my user base?
Yes. Face Search 1:N compares a selfie against the faces enrolled through your previous sessions, your user profiles, your face lists and any retained biometric templates. Use search_type=blocklisted_or_approved for blocklist screening or most_similar for duplicate detection. It also runs automatically during the liveness step of a full session, at $0.05 per search.
Is there a free sandbox to test deepfake flows?
Yes. Sandbox testing is free and unlimited, so you can test spoofed and genuine selfies before you switch the same workflow to live traffic. Billing starts only when a production check finishes with a result.
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


