Pay-Per-Use KYC API: Flexible Identity Verification
Didit bills per completed check: a full KYC check is $0.33. Create one workflow, start a session per person with POST /v3/session/, then read the decision by webhook or from the decision endpoint.

Contents
In this guide
Jump to the part you need.
Didit is a pay-per-use KYC API: you create a workflow once, open a session per person, and pay only for checks that finish with a result. A full KYC check costs $0.33 at list price and sandbox testing is free and unlimited on every plan, so a developer can ship without a sales call. The caveat is that monthly plan credit expires at the end of the plan month, and some database lookups and retries are billable.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
| Item | Published price (USD) | What it covers |
|---|---|---|
| Full KYC check | $0.33 per completed check | ID document $0.15, passive liveness $0.10, face match 1:1 $0.05, device and IP analysis $0.03 |
| ID document check, as one step | $0.15 per check | Document read as one step of a session |
| AML screening | $0.20 per check | Screening a person against 1,300+ lists |
| Ongoing AML monitoring | $0.07 per person per year | Daily re-screening of a person you already checked |
| Proof of address | $0.20 per check | Address document review |
| Free plan | $0 a month, $10 of credit a month | List prices, top-ups when the credit runs out |
| Growth and Scale plans | $99 and $299 a month | 4% and 10% off every Didit price, $115 and $350 of credit a month |
| Enterprise | From $15,000 a year | Annual contract, usage beyond credit invoiced as overage |
| Sandbox | Free and unlimited on every plan | Every check mocked; sandbox testing is free and unlimited on every plan |
Start free in the sandbox at business.didit.me, no sales call. For developers, connect Didit to an AI assistant through the Didit MCP server, hosted at https://mcp.didit.me/mcp. Every unit price is on didit.me/pricing, and the full price book is also published as pricing as JSON.
What you build, and the method we recommend
A pay-per-use KYC API needs three things and no more: a published workflow that lists the checks, a session created for each person you verify, and a decision you read from a webhook or from the decision endpoint. We recommend the sessions route, POST https://verification.didit.me/v3/session/, for most teams, because the workflow decides what runs, the hosted flow collects the document and the selfie, and one call returns every result in one V3 decision.
Two more price lines matter when you plan a workflow. The ID document check is listed on its own at $0.15, and the $0.33 full KYC check is that line plus passive liveness at $0.10, face match 1:1 at $0.05 and device and IP analysis at $0.03. If you only need a watchlist screen, add AML to the workflow and the same session returns aml_screenings[] in the decision. Everything runs on one API key, one credit balance and one set of invoices. The lines are listed in Didit pricing in the docs.
Cost follows the workflow, so decide the checks before you ship. A standard KYC workflow (ID document, passive liveness, face match 1:1, device and IP) is the $0.33 full KYC line. Adding AML takes the same session to $0.53 per person at list price, on the same API key and in the same session. Didit runs checks in 220+ countries, holds SOC 2 Type 2 and ISO/IEC 27001:2022 certification, and 4,000+ companies use Didit.
Prerequisites
- A Didit organization. Sign up at business.didit.me with a work email, which is how the Free plan credit is granted.
- An API key. In the console open Developers, then API keys. New keys start with
sk_test_for a sandbox application andsk_live_for a live application, followed by 43 URL-safe characters; keys created before this format have no prefix and keep working, so never validate a key by its prefix. Keep the key server-side, never in a browser or mobile bundle. - A published workflow, so you have a
workflow_idto send. A KYC workflow creates user sessions and a KYB workflow creates business sessions; there is no separate KYB endpoint. - An HTTPS endpoint that answers a webhook within 5 seconds, if you want decisions pushed to you. Polling the decision endpoint alone also works.
- Optionally, a callback URL on one of your application's allowed domains. A callback outside those domains fails session creation with 400.
Step by step: from API key to a decision
Step 1: Get the API key
The console path is fastest. Sign in, pick the Application in the top dropdown, open Developers then API keys, and copy the Primary key or create a key with access to only what the service needs. If you prefer not to open the console, two calls do the same job: POST https://apx.didit.me/auth/v2/programmatic/register/ emails a 6-character code, and POST https://apx.didit.me/auth/v2/programmatic/verify-email/ returns both keys inline as sandbox_application.api_key and application.api_key. The register call rejects reserved test domains such as @example.com with email_undeliverable. Full detail, including the key format and the older keys without a prefix, is on the API authentication page.
Step 2: Create the workflow once
The workflow is the contract between your code and the checks. It keeps a stable UUID, so create it once per product and reuse it. This call builds a standard KYC flow with AML:
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"}
]
}'
Persist workflow.id. The same workflow can be built by hand in the console under Workflows, New workflow, starting from a template or from an empty flow. The quick start walks the console route end to end.
Step 3: Create a session, the KYC API call that starts verification
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"}'
Send vendor_data as your own stable identifier for the person. It binds the session to a user entity and is used for duplicate detection across sessions. The callback is where the hosted flow sends the person when they finish, with ?verificationSessionId={session_id}&status={status} appended to the URL.
Step 4: Send the person to the hosted flow
The create response contains session_id, url and session_token. Redirect the browser to url, or open it inside an SDK or an iframe. Language defaults to browser detection; pass language as an ISO 639-1 code when you want to force one.

Step 5: Register a 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.com/api/webhooks/didit",
"subscribed_events": ["status.updated", "data.updated", "user.status.updated", "user.data.updated"],
"webhook_version": "v3"
}'
Save the returned secret_shared_key as an environment variable; GET /v3/webhook/destinations/{destination_uuid}/ returns it again if you lose it. There is no wildcard, so list every event family you want to receive. Details are on the webhooks page.
Step 6: Verify the signature and apply the decision
Read the raw body before you parse JSON. Recompute the HMAC-SHA256 of the canonical JSON with your destination secret, compare it in constant time against X-Signature-V2 and, when present, X-Signature-V2-Previous, and reject anything whose X-Timestamp is more than 300 seconds away from now. De-duplicate on event_id, answer 2xx within 5 seconds, and apply the status. The decision object is present only for Approved, Declined, In Review and Abandoned events.
Step 7: Fall back to the decision endpoint
curl https://verification.didit.me/v3/session/{SESSION_ID}/decision/ \
-H "x-api-key: $DIDIT_API_KEY"
This is the recovery route when a delivery is missed, and the truth you reconcile against. The endpoint resolves user and business sessions, so branch on session_kind. Feature data is always in plural arrays such as id_verifications[], liveness_checks[], face_matches[] and aml_screenings[]; a feature that did not run is absent or null, never a placeholder. The full schema is on the retrieve session page.
Expected output
Session creation returns session_id, url and session_token. The decision then carries a status that is one of these exact, case-sensitive values: Approved, Declined, In Review, In Progress, Not Started, Expired, Abandoned, Kyc Expired, Resubmitted, Awaiting User. Note the single capital K in Kyc Expired. The same response carries session_kind (user or business), vendor_data, created_at, expires_at, reviews[], status_override and decision_trace, which records whether a person or the system decided.
In the sandbox every check is mocked, so approved and declined outcomes are reproducible on demand. Sandbox testing is free and unlimited on every plan, so you can iterate on a workflow without watching a quota; the live plan credit is only spent on live checks.
Inputs and outputs
| Field | Direction | Required | What it does |
|---|---|---|---|
workflow_id | Input | Yes | Stable workflow UUID; its type decides KYC or KYB. |
vendor_data | Input | No, strongly recommended | Your identifier for the person; binds the session to a user entity and drives duplicate detection. |
callback | Input | No | Return URL; http and https must sit on an allowed domain, custom app schemes are always accepted. |
callback_method | Input | No | initiator, completer or both; use both if the return sometimes fails. |
language | Input | No | ISO 639-1 code for the hosted UI. |
expected_details | Input | No | Name, date of birth, nationality, document types; mismatches surface as decision warnings. |
tags, metadata | Input | No | Up to 10 tags for console filtering; metadata is echoed back and never shown to the person. |
session_id, url, session_token | Output | n/a | What you get on create; the URL is the hosted flow. |
status | Output | n/a | The decision, as one of the exact strings listed above. |
session_kind | Output | n/a | user or business; always branch on it. |
decision_trace | Output | n/a | How the status was reached, with decided_by set to manual, automatic or investigator. |
Failure cases and recovery
| Symptom | Cause | Recovery |
|---|---|---|
| 403 with "You do not have permission to perform this action." on verification.didit.me | No x-api-key header, a scoped key without access to the resource, or a call from an address outside the key's IP list | Use a key that holds that access; manage keys under Developers, API keys |
| 401 | Key wrong, malformed, revoked or expired | Re-fetch the key with the login and organization endpoints, then retry |
403 with application_deleted | The key's application was deleted | Do not retry; issue a key from an application that exists |
400 on workflow_id | Invalid or deleted workflow | List workflows and use a current UUID |
400 on callback | Callback not on one of the application's allowed domains | Move the callback to an allowed origin, or use an app deep link |
400 email_undeliverable on programmatic register | Reserved test domain, or an address that cannot receive mail | Register with a real inbox |
| 403 on apx.didit.me | JWT missing or expired | Log in again for a fresh access token |
| 429 | Rate limit | Read the wait field in seconds and back off before retrying |
| 404 on the decision route | Session does not exist or belongs to another application | Check the key and the session_id |
| Webhook never arrives | Handler took more than 5 seconds, or answered 5xx or 404 | Didit retries twice, about 1 and 4 minutes later, then drops the delivery; resend from the destination's delivery log or read the decision endpoint |
Rate limits apply per API key; the rate limiting page lists the headers and the backoff rule.
Adding AML screening to the same KYC API
Add {"feature": "AML"} to the workflow's features list and the same session returns aml_screenings[] in the decision. AML screening is $0.20 per check against 1,300+ lists, and ongoing monitoring of a cleared person is $0.07 per person per year. Because it is a step inside the workflow you already run, you use the same API key and the same session, and the result arrives in the same decision. The price line and the AML step are documented in Didit pricing in the docs.

What is billable, and where a human takes over
You pay for a check only when it finishes with a result. A session that is created and abandoned, or one that never starts, is not a completed check. Sandbox testing is free and unlimited on every plan, and every check in it is mocked. On Free, Growth and Scale, each check uses the plan's credit for the month first, then your oldest top-up. Top-ups run from $50 to $20,000, are added at face value and last 12 months. With auto top-up off, live checks stop when credit and top-ups run out, while the sandbox keeps working.
Some price-book lines are billed per call even when the answer is a no-match, and retries of those lookups are billable. The docs pricing page lists them, so read it before you wire a high-volume database validation into a workflow.
Human review begins when a decision lands In Review. The session then carries assignee, waiting_since and sla_due_at, and reviews[] fills as reviewers work. A manual change to the status is recorded in status_override next to the automatic status, so the audit trail survives. If you want that queue handled automatically, the Investigator agent, which runs reviews and follow-ups, is part of the Growth and Scale plans, and full case management with routing is part of Scale.

Worked cost example
Take 2,000 full KYC checks in one month, every check at the published unit price, and compare the plans. The arithmetic is written out so you can redo it with your own volume.
- List price: 2,000 x $0.33 = $660.00.
- Free plan: $660.00 minus $10.00 of monthly credit = $650.00 paid from a top-up. Plan fee $0 a month.
- Growth: $0.33 minus 4% = $0.3168 per check. 2,000 x $0.3168 = $633.60. $633.60 minus $115.00 of credit = $518.60 from a top-up. Add the $99 plan fee: $617.60 for the month.
- Scale: $0.33 minus 10% = $0.297 per check. 2,000 x $0.297 = $594.00. $594.00 minus $350.00 of credit = $244.00 from a top-up. Add the $299 plan fee: $543.00 for the month.
- Same volume with AML in the workflow: add 2,000 x $0.20 = $400.00. On Scale that is $594.00 + $400.00 = $994.00, minus $350.00 of credit, plus $299.00 = $943.00 for the month.
Credit is dollars, not a count, so a month that mixes full KYC, AML and proof of address spends the same credit. Monthly credit expires at the end of the plan month and does not roll over; top-ups stay usable for 12 months. From $15,000 a year, Enterprise is the sales-assisted route, and that is the only case that needs a sales conversation.

Sources
- Didit pricing page and pricing as JSON, read November 26, 2026.
- Didit docs: identity verification pricing and billing rules, read November 26, 2026.
- Didit docs: quick start, read November 26, 2026.
- Didit docs: API authentication, read November 26, 2026.
- Didit docs: create session API, read November 26, 2026.
- Didit docs: retrieve session decision, read November 26, 2026.
- Didit docs: webhooks, HMAC signing and retries, read November 26, 2026.
- Didit docs: rate limiting and 429 backoff, read November 26, 2026.
- Didit blog: what changed in pricing on November 1, 2026, read November 26, 2026.
- Didit Business Console, read November 26, 2026.
Next step: open the sandbox at business.didit.me, create a workflow, and run one session with the sandbox key. It is free, there is no sales call, and reading one check end to end tells you more than a demo.
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 a pay-per-use KYC API?
A pay-per-use KYC API verifies a person when you call it and bills per completed check instead of a licence or a minimum commitment. On Didit a full KYC check is $0.33 at list price and covers the ID document, passive liveness, face match 1:1 and device and IP analysis in one session. You create the workflow once and pay only when a check finishes with a result.
How do I start an API KYC verification?
Create a workflow with POST https://verification.didit.me/v3/workflows/, then create a session with POST https://verification.didit.me/v3/session/ and pass the workflow_id. The response returns session_id, url and session_token; send the person to url and read the result from a webhook or from the decision endpoint.
What does a pay-per-use KYC API cost at Didit?
A full KYC check is $0.33 at list price, $0.3168 on Growth and $0.297 on Scale. AML screening is $0.20 per check, ongoing AML monitoring is $0.07 per person per year and proof of address is $0.20 per check. The Free plan gives $10 of credit a month to organizations that sign up with a work email, and paid plans add $115 and $350 of credit a month.
Is there a free KYC API to test with?
Yes. Sandbox testing is free and unlimited on every plan, and every check in the sandbox is mocked, so you can run approved and declined outcomes as often as you need. The Free plan's $10 of monthly credit buys about 30 full ID checks at $0.33 each, so you can also try live checks at low volume before you commit.
Do I need a sales call to get an API key?
No. Sign up at business.didit.me, open Developers then API keys, and copy the Primary key or create a scoped key. An organization can also be created with two API calls, register and verify email, which return a sandbox key and a live key inline. Sales is needed only for an Enterprise contract, which starts at $15,000 a year.
How much does the ID document step cost compared with a full KYC check?
The ID document check is $0.15 when it runs as a step inside a workflow. A full KYC check is $0.33 because the same session adds passive liveness, face match 1:1 and device and IP analysis. The full check costs more because it covers more: the document, the biometrics and the device and IP signals in one decision.
Can I add AML screening to the same KYC API call?
Yes. Add {"feature": "AML"} to the workflow's features list and the same session returns aml_screenings[]. AML screening is $0.20 per check against 1,300+ lists, and ongoing monitoring is $0.07 per person per year, so the same session returns the AML result alongside the other workflow results.
How do I receive the KYC decision, by webhook or by polling?
Both are documented and they complement each other. Register a webhook destination for status.updated and the decision is pushed to you; verify X-Signature-V2, answer within 5 seconds and de-duplicate on event_id. Use GET /v3/session/{session_id}/decision/ as the reconciliation route when a delivery is missed.
What happens if my webhook endpoint is down?
If the handler takes longer than 5 seconds or answers 5xx or 404, Didit retries twice, about 1 and 4 minutes later, then drops the delivery. Resend it from the destination's delivery log, or read the decision endpoint and apply the status from there. The verification itself is unaffected.
Does the same API handle KYB?
Yes. There is no separate KYB endpoint: a workflow with type kyc or kyb decides the session kind from the same POST /v3/session/ call, and the decision carries session_kind set to business with registry_checks and key_people_checks. Business verification is priced by country and data tier from $2.00 per company, with linked KYC and person AML billed per person.
What happens when a verification lands In Review?
The session stops being an automatic decision and moves to your review queue, with assignee, waiting_since and sla_due_at on the record. Reviewer activity appears in reviews[], and a manual status change is recorded in status_override alongside the automatic status, so you keep an audit trail. The Investigator agent, which runs reviews and follow-ups, is part of the Growth and Scale plans.
Do unused credits roll over?
Monthly plan credit does not roll over: it lands on the first day of the plan month and expires at the end of it. Top-ups are different, they are added at face value, cost between $50 and $20,000 each and last 12 months. Balance bought before November 1, 2026 never expires.
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


