Skip to main content

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.

AI Fraud and Deepfakes: 6 Steps for Identity Security in 2026

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.

Six steps from an empty project to a live check that resists AI-generated faces and documents
StepWhat runsList priceWho decides
1. Set the risk tierChoice of passive, 3D flash or 3D action livenessNo costYou, per flow
2. Build the workflowID_VERIFICATION, LIVENESS, FACE_MATCHWorkflow Orchestrator is freeYou, in the console or API
3. Create the sessionSession orchestrator, hosted flow or SDKBilled per completed checkThe Didit engine
4. Capture the selfieLiveness detection$0.10 passive, $0.15 activeThe liveness model
5. Read the decisionliveness_checks[], face_matches[], warnings[]No separate costYour policy code
6. Escalate the borderlineFace Search 1:N, blocklist, device and IP$0.05 per face search, $0.03 device and IPYou, 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_OCR and DUPLICATED_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-key header.
  • A workflow with the ID_VERIFICATION, LIVENESS and FACE_MATCH features. You can build it in the console or with POST /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 the session.status.updated webhook.

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.

A user face scan in progress during a Didit verification flow
The liveness step in a live Didit flow: one face, one frame of guidance, then a verdict.

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.

The liveness result panel for a session in the Didit Business Console
The liveness result for one session in the Didit Business Console, with its method, score and warnings.

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.

Where each check reports in the session decision
Array or objectWhat it holdsWhat you do with it
id_verifications[]Document fields, MRZ, portrait and document warningsStop the flow on terminal document warnings
liveness_checks[]One entry per liveness node, with status, method, score and warningsReject presentation attacks, retry capture failures
face_matches[]Similarity score from 0 to 100 and the face match warningsApply your own threshold above the default
face_searchSingular object with total matches and match sourcesMerge, block or review duplicate and blocklisted faces
ip_analyses[]Geo, ASN, VPN, proxy, Tor flags and device fingerprint matchesAdd 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.

Decision policy example for account opening
Session statusProduct actionGuardrail
ApprovedCreate the account and grant the requested accessOnly when no POSSIBLE_ warning is present
DeclinedDo not create the account; log the warning and close the sessionDo not retry outside the session flow
In ReviewHold the account and route it to a human queueNever auto-approve

On Growth and Scale, the Investigator agent can handle that review and follow-up. The decision stays with your policy.

A session overview showing the warnings raised during one verification
A session overview in the Didit Business Console, with the warnings that triggered review.

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_ATTACK and LOW_LIVENESS_SCORE: a presentation attack is suspected. Do not approve.
  • NO_FACE_DETECTED and MULTIPLE_FACES_DETECTED: a capture problem. Ask for a retry with a single, well framed face.
  • FACE_IN_BLOCKLIST and POSSIBLE_FACE_IN_BLOCKLIST: a definitive hit, or a borderline one to route to review.
  • DUPLICATED_FACE and POSSIBLE_DUPLICATED_FACE: the same face already exists under another vendor_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

What each check takes, what it returns and what it costs at list price
CheckInputOutputList price
ID Verificationfront_image, plus back_image for dual-sided documentsid_verification with extracted fields, portrait and warnings$0.15 in a workflow, $0.20 standalone API
LivenessSession selfie, or user_image on the standalone callliveness_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:1user_image and ref_imageface_match with a score from 0 to 100$0.05
Face Search 1:Nuser_image and search_typeface_search with total matches and sources$0.05 per search
Device and IP AnalysisNone, collected inside the session by the SDKip_analyses[] with geo, VPN and device fingerprint matches$0.03

Failure cases and recovery

What breaks, why, and the documented recovery
SymptomCauseRecovery
HTTP 403Out of creditsTop up or check the balance, then retry the check
HTTP 400 on liveness or face matchMissing user_image, file over 5 MB, unsupported extension, PDF sent to a face endpointFix the payload and resend; the request was never billed as a completed check
Declined with LIVENESS_FACE_ATTACKPresentation attack detectedDo not approve; log the session and keep the face in your review queue
In Review with a document liveness warning that reports no usable scoreThe requested forgery check produced no scoreTreat the document as unchecked and route it to manual review
Face match keeps failing with LOW_FACE_MATCH_SIMILARITYReal mismatch, or poor lighting and framingThe user gets coaching and a retry up to face_match_max_attempts; after exhaustion the computed status applies
ip_analyses[] is emptyThe user blocked the fingerprinting scriptDecide in advance whether you fail closed or continue on soft signals only
VPN_DETECTED, PROXY_DETECTED, TOR_DETECTEDNetwork risk flagsApply your own rule: decline, review, or add an active liveness step

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 Declined as 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

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.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

About Didit

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.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • 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.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • 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.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.