P2P Lending Identity Verification: A Complete Guide
Run a Didit KYC workflow on every borrower and lender: ID document, liveness, face match and device and IP at $0.33, AML at $0.20, then re-screen the book at $0.07 per person a year.

Contents
In this guide
Jump to the part you need.
Use this guide if you run a peer-to-peer lending platform and onboard borrowers and lenders yourself. A full KYC check on Didit costs $0.33 and AML screening costs $0.20, so KYC plus AML is $0.53 per person at list price. The caveat: verification does not replace your credit policy, and AML, address and ongoing monitoring requirements depend on your jurisdiction and risk tier. Every session returned In Review still needs a person to decide it.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
| Part of the flow | Didit module | List price | What comes back in the decision |
|---|---|---|---|
| Borrower or lender KYC | ID document verification, passive liveness, face match 1:1, device and IP analysis | $0.33 per completed check | id_verifications[], liveness_checks[], face_matches[], ip_analyses[] |
| Sanctions and PEPs | AML screening against 1,300+ lists | $0.20 per check | aml_screenings[] |
| KYC plus AML on one session | Both of the above | $0.53 per person | One decision, one status |
| Address check above a loan threshold | Proof of address | $0.20 per check | poa_verifications[] |
| Contact ownership | Email verification, phone verification | $0.02 for email; phone is the carrier price plus $0.02 | email_verifications[], phone_verifications[] |
| Re-screening after onboarding | Ongoing AML monitoring | $0.07 per person a year | Updated AML results |
Start free in the sandbox at business.didit.me and there is no sales call. If you build with an AI assistant, connect Didit through the MCP server. Full plan details and the cost estimator are on the pricing page.
Why P2P lending identity verification is harder than a bank's onboarding
A P2P marketplace onboards two sides at once. The borrower submits a loan application with a name, a date of birth and a bank account, and the platform has to confirm that the document, the selfie and the account belong to the same person. The lender opens an account to fund loans, so the platform also has to check source of funds and screen the person against sanctions and PEP lists. Most marketplaces take applicants from several countries from the first month, which means documents in several languages, addresses that no single domestic database covers, and a due-diligence policy that has to hold up in every market served. A marketplace does the same work with less history, faster growth and two populations to check instead of one.
- Distributed risk. Losses land on lenders first, so a fraudulent borrower is a trust problem for the platform, not only a credit loss.
- Two populations. Borrowers need identity and intent checks. Lenders need identity plus source of funds and sanctions checks. KYC and KYB use the same unified session endpoint, but they require separate workflow configurations and separate policies.
- Volume that moves. Marketing pushes and loan seasons change daily application counts, and manual review does not absorb a spike.
- Cross-border applicants from day one. Didit covers 220+ countries and 14,000+ document types, which helps when applicants come from many markets.
- Fraud that arrives organised. Synthetic identities, account takeover and mule accounts are run by people who test onboarding flows for weaknesses and repeat what works.
Regulation adds the second layer. Whether a P2P lending platform is an obliged entity depends on its jurisdiction and activities. Confirm the applicable customer-due-diligence duties with counsel. FATF Recommendation 10 sets the international expectation for identifying customers and keeping their data current. EU member states implement customer due diligence through Directive (EU) 2015/849; check whether and how it applies to your platform.

What the flow must cover
Three obligations shape every P2P onboarding build, and each maps to a documented Didit step.
- Customer identification. Capture a government document, confirm it is genuine, extract its fields, and match a live selfie to the portrait. On Didit this is the full ID check at $0.33, returning ID document, liveness, face match and device and IP results in a single decision.
- Customer due diligence. Screen the person against sanctions and PEP lists before the first loan funds. AML screening is $0.20 per check and returns
aml_screenings[]with hits you can review in the console. Proof of address at $0.20, plus email and phone checks, cover the extra signals larger loans need. - Ongoing monitoring. Re-screen the existing book rather than only the new applicants. Ongoing AML monitoring is $0.07 per person a year; it re-screens people and can surface updated results.
Prerequisites
- A Didit organization at business.didit.me. Sign up with a work email and the Free plan gives $10 of credit a month.
- An API key from the Business Console. Sandbox testing is free and unlimited on every plan, so you can build the whole flow before spending a cent.
- A published workflow with the checks you want, created in the console or through
POST /v3/workflows/. - An HTTPS endpoint that accepts POST requests and answers in under 5 seconds. That is your webhook receiver.
- Your own stable identifier for each borrower and lender, sent as
vendor_data. - A callback URL on a domain you have allowed for the application, otherwise session creation fails with a 400.
- A written loan-tier policy: which loan amounts trigger proof of address, and what sends an applicant to manual review.
The recommended method: one workflow, one session per person, decision by webhook
Build a single KYC workflow that runs ID document verification, passive liveness, face match and AML screening. Create one session per applicant, send the person to the hosted flow, and let the webhook tell your system the outcome. Keep the decision endpoint as a fallback for sessions where the webhook is late or missed. Re-screen the existing book on a separate annual line instead of re-running full KYC every year.
Step by step
- Create the organization and copy the API key. Sign in at business.didit.me, create the organization, then open API keys and copy the sandbox key first. Nothing you do in the sandbox touches live money, and sandbox testing is free and unlimited on every plan.
- Create the workflow with the checks you need. The docs list
ID_VERIFICATIONas the canonical name for the document step andOCRas the legacy enum, which the quick start snippet below uses. Persistworkflow.idwhen it returns.curl -X POST https://verification.didit.me/v3/workflows/ -H "x-api-key: $DIDIT_API_KEY" -H "Content-Type: application/json" -d '{"workflow_label": "P2P borrower KYC", "workflow_type": "kyc", "features": [{"feature": "OCR"}, {"feature": "LIVENESS", "config": {"face_liveness_method": "PASSIVE"}}, {"feature": "FACE_MATCH"}, {"feature": "AML"}]}' - Register the webhook destination and save the secret. Subscribe to the session events. The response returns
secret_shared_key, which you store asDIDIT_WEBHOOK_SECRET. You can fetch it again fromGET /v3/webhook/destinations/{destination_uuid}/.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"}' - Create one session per applicant. Use your borrower or lender ID as
vendor_data. If you already hold the person's name and date of birth from the loan application, send them inexpected_detailsso a mismatch surfaces as a decision warning instead of passing silently.
The response containscurl -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": "borrower-42", "callback": "https://myapp.com/kyc/return", "language": "en", "expected_details": {"first_name": "Ana", "last_name": "Ruiz", "date_of_birth": "1991-04-12"}}'session_id,urlandsession_token. - Send the applicant to the returned URL. Open
urlin the browser, or mount a Didit SDK if the flow lives inside your own app. Setsession_expiration_timewhen a loan application should expire faster than the workflow default; the accepted range is 3600 to 2419200 seconds. One session per person, never one shared link per campaign.
What the applicant sees when the session URL opens: document scanning before liveness and the face match.
- Verify the webhook and apply the decision. Read the raw request body before parsing JSON. Check that
X-Timestampis within 300 seconds of now, recompute the HMAC-SHA256 signature with your destination secret, and compare in constant time againstX-Signature-V2and, when present,X-Signature-V2-Previous. De-duplicate onevent_id, answer 2xx inside 5 seconds, and update your database from thestatusfield. The status strings are case-sensitive;Kyc Expireduses a single capital K. - Read the full decision when you need the detail. The webhook envelope carries the decision only for Approved, Declined, In Review and Abandoned. For everything else, and as a fallback, call the decision endpoint. Branch on
session_kindfirst, because the same endpoint serves user and business sessions.const decision = await (await fetch(url, { headers: { "x-api-key": API_KEY } })).json(); switch (decision.session_kind) { case "user": return handleUserDecision(decision); case "business": return handleBusinessDecision(decision); } - Map status to your lending policy. Approved goes to the credit engine. Declined stops the application and shows the applicant the first terminal warning, for example an expired document. In Review goes to a human queue and is never auto-approved. Expired or Abandoned means a new session, not a retry on the old link.
- Re-screen the existing book. Ongoing AML monitoring at $0.07 per person a year re-screens the customers you already onboarded against watchlists. Subscribe to the user events so a change in entity status reaches your system the same way a new session does.
Decision policy for borrowers and lenders
Didit returns the status; your policy decides what happens next. A starting policy for a P2P marketplace:
| Population | Automated approval | Automated decline or stop | Manual review |
|---|---|---|---|
| Borrower | Status Approved, no AML hit, and the requested loan is inside your standard tier. | Terminal document warning, failed document liveness, or failed face match. | Any AML hit, a PEP match, a same-face duplicate, or status In Review. |
| Lender | Status Approved, no sanctions or PEP hit, and source-of-funds evidence is complete. | Sanctions hit: stop and escalate under your sanctions policy. | PEP hit, high-risk jurisdiction, a first deposit above your threshold, or status In Review. |
Do not auto-approve an In Review session. If you want a first pass on manual cases, the Investigator Agent is included on Growth and Scale.
Expected output
A finished session returns one decision object. The top level carries session_id, session_kind, status, vendor_data, created_at, expires_at, decision_trace and linked_records. Feature results sit in plural arrays, always plural, and a feature that did not run is absent or null rather than a placeholder. For a P2P KYC session you read id_verifications[] for the document fields and warnings, liveness_checks[] for the presentation attack result, face_matches[] for the selfie-to-document score, aml_screenings[] for list hits, and ip_analyses[] for the device and IP signals. linked_records shows a same-face match or earlier verifications for the same identity, which is where most duplicate-account cases surface.
Failure cases and recovery
| Symptom | Cause | Recovery |
|---|---|---|
403 You don't have enough credits... | Insufficient credit balance | Top up between $50 and $20,000, or check the plan credit landed for the month. Sandbox stays free. |
| 401 on verification.didit.me | Wrong, revoked or expired API key | Copy the key again from the console and deploy it. |
| 400 on session creation | Invalid workflow_id | Use the UUID returned by POST /v3/workflows/, not the workflow label. |
400 callback must be on one of the application's allowed domains | The callback origin is not allowed | Add the origin to allowed domains, or use a custom URL scheme for an app deep link. |
| Webhook never arrives | Handler answered 5xx or 404, or took longer than 5 seconds | Didit retries twice, after about 1 and 4 minutes, then drops the delivery. Resend from the destination's delivery log and fix the handler. |
Declined with a terminal warning | Expired document, failed document liveness, unreadable document | Show the first warning's long description to the applicant and stop the flow. Do not loop them through the same document. |
In Review with DOCUMENT_LIVENESS_NOT_COMPUTED | The forgery check produced no usable score | Treat the document as unchecked and route it to manual review. |
| 404 on the decision endpoint | Wrong session ID, or the session belongs to another application | Check the ID you stored at creation and the API key's application. |
Expired or Abandoned | Link timed out or the applicant left | Create a new session for the same vendor_data. Duplicate detection still compares the person against earlier sessions. |
Inputs and outputs
| Field or result | Direction | What it is |
|---|---|---|
workflow_id | You send | UUID of the published workflow |
vendor_data | You send | Your stable borrower or lender ID, echoed back on every webhook |
callback | You send | Where the hosted flow returns the person after completion |
expected_details | You send | Name, date of birth and nationality you already hold; mismatches surface as decision warnings |
session_expiration_time | You send | Link lifetime in seconds, 3600 to 2419200 |
session_id, url, session_token | Didit returns | The session and the hosted link for the applicant |
status | Didit returns | Approved, Declined, In Review, In Progress, Not Started, Expired, Abandoned, Kyc Expired, Resubmitted, Awaiting User |
id_verifications[] | Didit returns | Document type, extracted fields, portrait, warnings |
liveness_checks[] | Didit returns | Presentation attack result for the selfie |
face_matches[] | Didit returns | Score comparing selfie to document portrait |
aml_screenings[] | Didit returns | Hits and scores against sanctions and PEP lists |
linked_records | Didit returns | Same face, earlier verifications and network summaries, or null |
What you pay for, and where a human must decide
- All prices in this guide are published list prices. Plan discounts and monthly credit change the payable amount.
- You pay per completed check from prepaid credit. A check that finishes with a result is billed. Plan credit is added monthly and does not roll over; top-ups last 12 months.
- Free is $0 a month with $10 of credit for organizations that sign up with a work email. Growth is $99 a month with $115 of credit and 4% off every price. Scale is $299 a month with $350 of credit and 10% off every price. Enterprise starts at $15,000 a year.
- Free on every plan: the workflow orchestrator, the SDKs, reusable KYC and the MCP server. Sandbox testing is free and unlimited on every plan.
- The review boundary is the status field. Didit returns Approved, Declined or In Review. In Review means your team decides. The Investigator Agent helps with reviews and follow-ups and is included on Growth and Scale. Never let an automated job turn In Review into an approval.
- Bring your own screening provider if you already run one and want it inside Didit. Talk to us about that route rather than assuming a list price.
Worked cost example
A marketplace onboarded 2,300 people a month, 2,000 borrowers and 300 lenders, and 500 of them sit above the loan amount that triggers a proof of address. At list prices:
- KYC: 2,300 × $0.33 = $759.00
- AML screening: 2,300 × $0.20 = $460.00
- Proof of address: 500 × $0.20 = $100.00
- Month total: $759.00 + $460.00 + $100.00 = $1,319.00
- Ongoing AML monitoring on an existing book of 12,000 customers: 12,000 × $0.07 = $840.00 a year. $0.07 is a per person per year price, so $840.00 is the annual monitoring cost. The $70.00 a month in the all-in line below is that annual cost divided by 12, a monthly allocation rather than the billing cadence
- All in for the month: $1,319.00 + $70.00 = $1,389.00
The same month on the Scale plan, with 10% off every Didit price: KYC 2,300 × $0.297 = $683.10, AML 2,300 × $0.18 = $414.00, proof of address 500 × $0.18 = $90.00. Total: $683.10 + $414.00 + $90.00 = $1,187.10 before the $350 of monthly credit the plan includes.
Sources
- Didit quick start
- Didit Create Session API
- Didit Retrieve Session API
- Didit webhooks documentation
- Didit pricing documentation
- Didit pricing page and cost estimator
- Didit pricing as JSON
- Didit ID verification overview
- Didit liveness detection overview
- Didit MCP server
- Switching identity providers to Didit
- FATF Recommendation 10, International Standards on Combating Money Laundering and the Financing of Terrorism and Proliferation, read November 26, 2026
- Directive (EU) 2015/849 on the prevention of the use of the financial system for the purposes of money laundering or terrorist financing, read November 26, 2026
Next step: open business.didit.me, create a workflow with document, liveness, face match and AML, and run your first borrower through the sandbox. 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 KYC checks does a P2P lending platform need?
A P2P lending platform needs three groups of checks: identification through a government document plus a live selfie; due diligence through sanctions and PEP screening, with proof of address and contact checks when the loan size warrants it; and ongoing monitoring of the existing book. On Didit the identification group is the $0.33 full ID check and the screening group is the $0.20 AML check. Add proof of address at $0.20 when your policy requires it. Requirements depend on your jurisdiction and risk tier.
How much does identity verification cost per borrower?
KYC plus AML is $0.53 per person at Didit list price, made of $0.33 for the full ID check and $0.20 for AML screening. Adding proof of address takes it to $0.73 for that applicant. On the Scale plan the same pair costs $0.477, and ongoing monitoring after onboarding is $0.07 per person a year. Published prices are list prices; your plan discount and monthly credit change what you pay.
Why is P2P lending identity verification different from a bank's?
A marketplace carries two populations, borrowers and lenders, on volume that swings with marketing, across many countries, with no long customer history to check against. Losses land on lenders first, so a fraudulent onboarded borrower damages trust as well as capital. That is why the flow has to be automated, layered and audited rather than handled case by case.
How do I stop synthetic identity fraud on a P2P lending platform?
Layer the checks rather than trusting one. Verify document authenticity before reading its data, run passive liveness on the selfie, match the selfie to the document portrait, compare device and IP signals, screen the identity against watchlists, and look for a face that already appeared on another account. Didit returns that last signal in linked_records as a same-face summary.
Can Didit verify businesses as well as people?
Yes. The same session endpoint creates business verification sessions when the workflow is a KYB workflow, and business verification starts at $2.00 per company from registry data. Owners and officers take a linked full ID check plus person AML, billed per person. That covers institutional lenders and corporate borrowers on one integration.
What happens when a Didit verification returns In Review?
The session is neither approved nor declined, and a person on your team must decide. Route it to your manual review queue, never auto-approve it, and treat any document returned with the DOCUMENT_LIVENESS_NOT_COMPUTED warning as unchecked. The Investigator Agent can help with reviews and follow-ups and is included on Growth and Scale.
How fast is a Didit check?
Inference runs at sub-2-second p99. Your webhook handler must answer within 5 seconds or Didit retries the delivery twice, after about 1 and 4 minutes, then drops it. The decision can always be fetched again from GET /v3/session/{session_id}/decision/.
Does Didit re-screen customers after onboarding?
Yes. Ongoing AML monitoring re-screens verified people against watchlists at $0.07 per person a year, and entity status changes arrive as webhook events. That is how a P2P platform keeps diligence current on a book it onboarded months ago without re-running full KYC.
How do I test a P2P verification flow without a sales call?
Sign up at business.didit.me with a work email. The Free plan gives $10 of credit a month. Sandbox testing is free and unlimited on every plan. You can build the workflow, run a session and receive a real webhook before any contract exists.
Is Didit suitable for a regulated lender?
Didit holds SOC 2 Type 2 and ISO/IEC 27001:2022 certification, and it serves 4,000+ companies across 220+ countries. Didit describes its infrastructure as GDPR-native; your organisation remains responsible for its own legal basis, notices, retention and other obligations. Your own regulator still decides what your due diligence policy must contain, so pair the technical flow with a written policy.
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


