Document Verification API in France: Step-by-Step Guide (2026)
A document verification API for France returns Approved, Declined or In Review per document. Didit charges $0.15 for the document step in a workflow and $0.20 for the standalone ID verification API.

Contents
In this guide
Jump to the part you need.
A document verification API for France returns a decision on a French ID card, passport, residence permit or driving licence from one call. Didit charges $0.15 for the document step inside a workflow and $0.20 for the standalone ID verification API. The caveat to plan for: a readable but fraudulent document answers HTTP 200 with status Declined, so you read the status and the warnings, never the HTTP code alone.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
| Item | What you get |
|---|---|
| Outcome | Approved, Declined or In Review per document, plus the extracted holder record, the parsed MRZ and a warnings list |
| Recommended method | A workflow session through POST /v3/session/ for user-facing flows; the standalone POST /v3/id-verification/ when you already hold the images |
| Document step price | $0.15 inside a workflow, $0.20 through the standalone ID verification API |
| Full KYC check | $0.33: document $0.15, passive liveness $0.10, face match $0.05, device and IP $0.03 |
| Coverage | 220+ countries and territories, 14,000+ document types, 130+ document-recognition languages, 54 flow languages |
| Speed | Sub-2-second p99 inference |
| Sandbox | Sandbox testing is free and unlimited on every plan. |
| Billing | Per completed check from prepaid credit; eligible organizations using a work email and a company domain get $10 of credit a month on Free |
Start free in the sandbox at business.didit.me (no sales call), and if you build with an AI assistant, connect Didit through Didit MCP. The product documentation is at ID Verification and every price line is on didit.me/pricing.
What you are building, and the method we recommend
The outcome is a per-document decision you can act on: Approved, Declined or In Review, plus the extracted holder fields, the parsed MRZ, any decoded barcodes and a warnings array that explains every issue the check found. For a French user base that decision has to answer three questions. Is the document a known official design, so a fabricated card fails. Do the visual zone, the MRZ and the barcode agree with each other. Is the physical document in front of the camera rather than a screen replay, a printed copy or a manipulated portrait.
We recommend a workflow session for anything a real person walks through, and the standalone API for server-to-server calls. The session route gives you the hosted capture screen, the automatic detection that crops the document for you, and the other checks in the same decision: liveness, face match, device and IP. The standalone route takes one or two images you already hold and answers in a single call, which is what you want for back-office re-checks, document re-submission or a batch you are testing.
What advanced document verification technology checks
- Document classification, so you never declare the country or the document type. A front image that does not match a known official design with high confidence returns
COULD_NOT_DETECT_DOCUMENT_TYPEand declines. - OCR of the visual zone, MRZ decoding and barcode decoding, then cross-checks of dates, number formats and MRZ check digits.
- Comparison of the visual zone against the MRZ, which is where an altered card usually shows itself.
- Document liveness when
perform_document_livenessis on, screening the images for screen replays, printed copies and portrait manipulation.
The France-specific parts
Didit lists GDPR, SOC 2 Type 2 and ISO/IEC 27001:2022 among its attestations. Confirm your own lawful basis, retention and access controls with qualified counsel. The GDPR text is the reference for consent, minimisation and retention.
France has one limit worth knowing before you promise a no-document flow. Keep document verification and non-document lookup apart. Document verification inspects the document itself. Non-document lookup matches typed details against a third-party file and returns the data_match assurance tier. In most countries the authoritative source for non-document verification is a government register. France is not one of them: the record Didit can reach there is a credit-bureau, financial-services, utility or residential-records file. That proves the details matched a record. It claims nothing about a document, so keep document capture as the default for France. FranceConnect and the EUDI Wallet, which covers France, are listed as coming soon and are not available in production yet. The detail is on non-document ID verification.
Prerequisites
- A Didit organization. Sign up at business.didit.me, or register programmatically with
POST https://apx.didit.me/auth/v2/programmatic/register/thenPOST https://apx.didit.me/auth/v2/programmatic/verify-email/with the 6-character code, and saveresponse.sandbox_application.api_keyfor testing. - A workflow with the
ID_VERIFICATIONfeature (OCRis the legacy enum) if you take the session route. - Document images that are uncropped with all four corners visible, in tiff, jpg, jpeg, png, webp or pdf, at 5 MB maximum per file. Do not pre-crop: the service detects, aligns and crops the document itself.
- A webhook destination on an HTTPS URL that answers within 5 seconds.
- Credit for live calls. The sandbox is free, and a live call is only paid from credit once it finishes with a result. The $10 monthly Free-plan credit is available to eligible organizations using a work email and a company domain.
Build it in seven steps
Step 1: Create the workflow
A workflow is the ordered set of checks. Create it in the console under Workflows, or with one call. Keep the returned 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": "France KYC",
"workflow_type": "kyc",
"features": [
{"feature": "OCR"},
{"feature": "LIVENESS", "config": {"face_liveness_method": "PASSIVE"}},
{"feature": "FACE_MATCH"},
{"feature": "AML"}
]
}'
Step 2: Create the session
Bind the session to your own user with vendor_data, set language to fr, and list the document codes you expect so a mismatch surfaces as a decision warning.
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.fr/kyc/return",
"language": "fr",
"expected_details": {"id_country": "FRA", "expected_document_types": ["ID", "P", "DL", "RP"]}
}'
The response carries session_id, url and session_token. Field definitions are on Create Session.

Step 3: Send the user to the session
Redirect to url, open it in one of the SDKs, or embed it. Didit appends ?verificationSessionId={session_id}&status={status} to your callback when the user finishes. A callback on an http or https origin must sit on one of the application's allowed domains, otherwise creation fails with 400.
Step 4: Register the webhook destination
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.fr/didit/webhook",
"subscribed_events": ["status.updated", "data.updated", "user.status.updated", "user.data.updated"],
"webhook_version": "v3"
}'
Save the returned secret_shared_key as your webhook secret. Verify the X-Signature-V2 header, which is an HMAC-SHA256 of the canonical JSON, de-duplicate on event_id, and answer within 5 seconds.
Step 5: Fetch the decision
The webhook tells you the session finished. Read the decision with GET https://verification.didit.me/v3/session/{session_id}/decision/. V3 returns plural arrays: id_verifications[] holds one entry per document collected in the workflow. Never assume the singular V2 field names.
Step 6: Or call the standalone API with images you already hold
This is the whole call, straight from the standalone ID verification documentation.
curl -X POST 'https://verification.didit.me/v3/id-verification/' \
-H 'x-api-key: YOUR_API_KEY' \
-F 'front_image=@./id_front.jpg' \
-F 'back_image=@./id_back.jpg' \
-F 'perform_document_liveness=true' \
-F 'minimum_age=18' \
-F 'expiration_date_not_detected_action=DECLINE' \
-F 'invalid_mrz_action=DECLINE' \
-F 'inconsistent_data_action=DECLINE' \
-F 'preferred_characters=latin' \
-F 'save_api_request=true' \
-F 'vendor_data=user-123'
Step 7: Branch in your own code on the status, not the HTTP code
Branch on status, not the HTTP code. Approved continues, Declined stops with the first terminal warning, and In Review goes to a human queue and is never auto-approved. The full status enum is Not Started, In Progress, Approved, In Review, Declined, Abandoned and Kyc Expired.
Expected output
A successful standalone call returns the extracted record and the decision together. This is the documented shape.
{
"request_id": "a real session id when save_api_request is true",
"id_verification": {
"status": "Approved",
"full_name": "...",
"document_type": "...",
"document_number": "...",
"date_of_birth": "...",
"expiration_date": "...",
"parsed_address": "...",
"mrz": "...",
"barcodes": [],
"portrait_image": "https://<media-host>/ocr/portrait.jpg",
"front_document_image": "https://<media-host>/ocr/front.jpg",
"back_document_image": "https://<media-host>/ocr/back.jpg",
"warnings": []
}
}

Inputs
| Field | Required | What it does |
|---|---|---|
front_image | Yes | Uncropped photo with all four corners visible, 5 MB maximum |
back_image | Yes for two-sided documents | A French ID card or driving licence is two-sided and needs it |
perform_document_liveness | No, default true | Screens the images for screen replays, printed copies and portrait manipulation |
invalid_mrz_action, inconsistent_data_action, expiration_date_not_detected_action | No | Set to DECLINE or NO_ACTION per request; these three risk groups are configurable |
minimum_age | No | Adds MIN_AGE_NOT_REACHED when the holder is younger |
preferred_characters | No | Character set hint for the extracted text |
save_api_request | No, default true | Persists an API-type session in the console, makes request_id a real session id and emits status.updated |
vendor_data | No | Your stable identifier for the person |
Outputs
| Field | What it holds |
|---|---|
status | Approved, Declined or In Review for the document |
full_name, date_of_birth, document_number, expiration_date | The extracted holder fields |
document_type | The design Didit classified, not one you declared |
parsed_address | The address as read, when the document carries one |
mrz, barcodes | The decoded machine-readable zone and any barcodes |
portrait_image, front_document_image, back_document_image | Short-lived media URLs to the cropped images |
warnings | Every issue found, with a risk code and a long description you can show a user |
Failure cases and recovery
| Response | Meaning | Recovery |
|---|---|---|
400 COULD_NOT_RECOGNIZE_DOCUMENT | The document could not be processed at all | Ask for a new capture, uncropped, all four corners visible, no pre-crop |
| 400 on multipart validation | Missing back_image on a two-sided document, a file over 5 MB, or an unsupported extension | Validate size, extension and side count on your client before you call |
| 403 not enough credits | The balance cannot cover the call, and it is refused before any image processing | Top up, or turn on auto top-up; the sandbox keeps working without credit |
200 Declined with DOCUMENT_EXPIRED, SCREEN_CAPTURE_DETECTED, PRINTED_COPY_DETECTED, PORTRAIT_MANIPULATION_DETECTED, PUBLIC_DOCUMENT_IMAGE_DETECTED or SPECIMEN_DOCUMENT_DETECTED | A fraud or hard-failure risk | Stop the flow, show the first warning's long description, log the session id |
200 Declined with NAME_NOT_DETECTED, DATE_OF_BIRTH_NOT_DETECTED or DOCUMENT_NUMBER_NOT_DETECTED | An extraction failure, which also declines | Your implementation choice: allow one retry with a better capture, then route to manual review |
200 In Review with DOCUMENT_LIVENESS_NOT_COMPUTED | The forgery check returned no usable score, so the document is unchecked | Send it to manual review. A check that did not run is not evidence that the document is genuine |
200 In Review for another reason | The result is not a pass | Manual review queue, never auto-approve |
200 with INVALID_MRZ, INCONSISTENT_DATA or EXPIRATION_DATE_NOT_DETECTED | A configurable risk group that currently does not decline | Set the matching action field to DECLINE if you want that risk to stop the flow |
| Webhook not answered in 5 seconds, or answered 5xx or 404 | Delivery failed | Didit retries twice, after about 1 and 4 minutes, then drops it. Resend from the destination's delivery log |
Warnings such as POSSIBLE_DUPLICATED_USER are informational and never decline on their own. Read id_verification.status and id_verification.warnings on every response, including the 200s.
Paid steps and review boundaries
Only a call that returns 200 consumes a credit. A 400 or a 403 is not charged. The standalone ID verification API is $0.20 per check. Inside a workflow the document step is $0.15, and the checks you add around it are priced separately: passive liveness $0.10, active liveness $0.15, face match 1:1 $0.05, device and IP analysis $0.03, AML screening $0.20, proof of address $0.20, NFC passport chip reading $0.15, Document AI $0.20. The $0.15 workflow document step and the $0.20 standalone API call are separate billing routes: the session bills the step inside the workflow, while the standalone call bills the API line.
The review boundary is a product decision, so make it explicit in your code. In Review is never an approval, and a missing liveness score is not a pass. Growth includes the Investigator agent for reviews and follow-ups, if you want Didit to take that queue. Everything else in the console, including the workflow orchestrator, the SDKs and the MCP server, is free.

Worked cost example
Take a French payment app that onboards 5,000 users a month with a full KYC check, and separately re-checks 800 documents server to server through the standalone API.
- Full KYC: 5,000 checks at $0.33 = $1,650.00.
- Standalone document API: 800 calls at $0.20 = $160.00.
- Total at list price: $1,650.00 + $160.00 = $1,810.00 a month.
- On Scale, the 10% discount applies to every line: 5,000 at $0.297 = $1,485.00, and 800 at $0.18 = $144.00, so $1,485.00 + $144.00 = $1,629.00 for the checks. The $299 monthly plan fee comes with $350 of credit, which pays the first $350.00 of that $1,629.00.
Failed calls do not enter this arithmetic. A 403 leaves the balance untouched, and the check that replaces it is the one you pay for. If you are moving from another vendor, the migration path is described at didit.me/switch.
Sources
- Didit docs: ID Verification API, document OCR and authenticity
- Didit docs: ID Verification overview
- Didit docs: non-document ID verification lookup
- Didit docs: Create Session
- Didit docs: Quick Start
- Didit docs: identity verification pricing
- Didit docs: data models
- Didit pricing page
- Didit MCP server setup
- Didit Business Console
- Didit screenshots used in this article: document capture screen, document analysis screen, session document panel
- Regulation (EU) 2016/679, GDPR
- FATF, anti-money laundering standards
Next step: open the sandbox at business.didit.me, create one workflow with the document step, and run the curl call above against a test image. No sales call, and the sandbox charges nothing while you test.
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 a document verification API for France?
It is an API that takes one or two images of a French identity document, reads the data on it, checks whether the document is a genuine official design, and returns a decision. Didit returns Approved, Declined or In Review with the extracted holder fields and a warnings list, across 220+ countries and 14,000+ document types.
How much does it cost to verify a French document with an API?
$0.15 for the document step inside a Didit workflow, or $0.20 through the standalone ID verification API. A full KYC check that adds passive liveness, face match and device analysis is $0.33. The sandbox is free, and a Free organization that qualifies with a work email and a company domain gets $10 of credit a month.
Which French documents can the API verify?
Didit supports 14,000+ document types across 220+ countries and territories, including passports, driver's licenses, national ID cards and residence permits. Confirm the exact French document type in current coverage before launch. Two-sided documents need the back image as well as the front. You can pass expected document codes so a mismatch shows up as a decision warning.
Is Didit compliant with GDPR for French user data?
Didit's attestations list GDPR alongside SOC 2 Type 2, ISO/IEC 27001:2022 and AMLD6. GDPR still binds you as the controller for consent, minimisation and retention, so decide your retention window and record the lawful basis before you switch the flow on. The regulation text is at eur-lex.europa.eu.
Can Didit verify a French user without a document?
Only with a caveat. Most countries with non-document verification reach a government register, but in France the record Didit can reach is a credit-bureau, financial-services, utility or residential-records file, and the result is the data_match assurance tier. That proves the details matched a record and claims nothing about a document, so keep document capture as the default for France.
What happens when the document API returns HTTP 200 but the status is Declined?
The call succeeded and the document failed. Fraud and hard-failure warnings always decline, including an expired document, a screen capture, a printed copy, portrait manipulation, a public document image, a specimen and an extraction failure. Read id_verification.status and the first warning's long description, show it to the user and stop the flow.
How fast is AI document verification?
Didit runs sub-2-second p99 inference on the document check. Reported uptime over the last six months is 100%, against an availability target of 99.99%. Your own end-to-end time will also include the user's capture time in the session flow.
Does the verification flow work in French?
Yes. Set language to fr on the session and the hosted flow runs in French. Didit ships 54 capture and flow languages, and the console itself is available in 16 languages.
Should I use the session API or the standalone ID verification API for France?
Use the session API through POST /v3/session/ when a real user photographs their document, because you get the hosted capture, the other checks and one decision. Use the standalone POST /v3/id-verification/ when you already hold the images, for example a back-office re-check. The session route prices the document step at $0.15 and the standalone call at $0.20.
Can I test document verification for France for free?
Yes. Sandbox testing is free and unlimited on every plan. Nothing is charged while you test, so you can build the whole flow before you spend credit.
How do I connect the API to Claude, ChatGPT or another AI assistant?
Didit runs a hosted MCP server at https://mcp.didit.me/mcp with OAuth sign-in, and the MCP server itself is free on every plan. Setup for each client is documented at didit.me/developers/mcp. A coding agent can also follow the integration prompt to build the end-to-end flow for you.
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


