Skip to main content

Technical

Behavioral Fraud Detection: Signals, Scores, Implementation

Didit collects device and IP signals during verification sessions, then scores transactions and events with rule score deltas and review or decline thresholds you can tune in test mode before anything declines in production.

Behavioral Fraud Detection: Signals, Scores, Implementation

Contents

In this guide

Jump to the part you need.

Behavioral fraud detection scores what a person does, not just what they claim to be. Didit scores device fingerprints, IP reputation, duplicate-device matches and activity velocity, then maps the result to approved, review or declined. It fits teams running KYC or transaction monitoring who want a repeatable decision instead of hand-written rules. Device and IP analysis costs $0.03 per check and sits inside the $0.33 full KYC. The caveat is tuning: a score only helps once thresholds match your traffic.

Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.

Where behavioral signals come from and what each published price covers
What you are scoringDidit surfacePublished price
Device fingerprint, IP reputation, duplicate-device matchingDevice and IP Analysis, collected in every verification session$0.03 per check, already inside the $0.33 full KYC
Rule scoring, thresholds and alerts on money movementTransaction MonitoringPlan allowance of monitored transactions, then $0.001 per transaction
Non-monetary activity: logins, sign-ups, bonuses, disputesEvent ingestion, opt-inNo separately published event price; the same rule engine scores it
Wallet risk on a transferWallet Screening inside Transaction Monitoring$0.15 per screening
Sanctions and PEPAML Screening$0.20 per check
Bot and brute-force protection at sign-inAuthentication bot protection policiesFirst 50,000 active users a month free, then $0.02 per active user a month

Start free in the sandbox at business.didit.me with no sales call; sandbox testing is free and unlimited. Developers who want rules and thresholds configured from an editor can connect Didit to an AI assistant through the Didit MCP server. The product behind this guide is Transaction Monitoring, and every unit price quoted here is on didit.me/pricing.

What behavioral fraud detection produces

Monitoring produces a decision record with three parts. A score, an integer that summarizes risk. A status, which for transactions and events is one of APPROVED, IN_REVIEW or DECLINED. And evidence, the rules that fired, so a reviewer can see why.

Verification sessions report a different status set. Each ip_analyses[] entry carries Not Started, In Progress, Approved, In Review, Declined, Abandoned or Kyc Expired. That enum describes how far the verification step got, not how risky the person is.

Two surfaces produce the record. A session produces device and IP warnings under ip_analyses[], with codes such as VPN_DETECTED or DUPLICATED_DEVICE. A transaction or event produces a numeric score plus a rule_runs[] array. Read them in that order: session signals add device, network and location context to verification risk decisions, and the monitoring engine scores activity against your configured rules.

The problem this solves is the false positive cost of hard thresholds. A rule that declines every transfer over $10,000 catches real fraud and every legitimate large payment. Layered score deltas let several moderate signals agree before anything is blocked. The risk scoring documentation covers the full model.

Prerequisites

  • A Didit organization and an application, with an API key.
  • A workflow created in the Business Console, so you have a workflow_id.
  • Sandbox access for testing. Sandbox testing is free and unlimited on every plan.
  • Event monitoring turned on if you plan to score logins and other non-monetary activity. It is opt-in.
  • A decision about what you will do with each status before you turn anything on.

The signals behind the score

Session signals: device and network

The verification client sends a privacy-safe fingerprint payload covering a persistent device ID, a composite hash, a signal vector and platform context such as browser, OS, hardware, canvas, locale and timezone. Didit enriches the connection with IP geolocation, VPN, proxy, Tor, data-center and private-network detection, plus expected-IP and blocklist checks you configure. The Device and IP Analysis overview lists every field.

Didit Device and IP Analysis view showing geolocation, device fingerprinting, device intelligence and VPN detection
One session view: geolocation, device fingerprint, device intelligence and VPN detection side by side.

Duplicate matching is the part that catches fraud rings. Didit compares the current session against previous sessions from other users: duplicate IP, duplicate device fingerprint, and recovered device, which uses the fingerprint signal vector with high-confidence gates. Exact matches use the persistent identifier. Recovered matches are deliberately conservative so unrelated users do not get merged.

Diagram of Didit Device and IP Analysis cross-checking IP address, device fingerprint and declared location
How the cross-check runs: fingerprint and IP are captured in band, then compared with earlier sessions before the decision is written.

Warnings land in the LOCATION bucket. The catalogue includes VPN_DETECTED, PROXY_DETECTED, TOR_DETECTED, DATACENTER_IP, HIGH_RISK_COUNTRY, LOCATION_MISMATCH_WITH_DOCUMENT, DUPLICATED_DEVICE, POSSIBLE_DUPLICATED_DEVICE, IMPOSSIBLE_TRAVEL, DEVICE_FINGERPRINT_BLOCKLISTED, DEVICE_LINKED_TO_LIVENESS_ATTACK and DEVICE_MODEL_INCONSISTENT. The warnings page documents each one.

Session warnings are labels, not points. They do not add to a score on their own; your workflow or your strict-mode console rules decide what each one does, from an extra liveness step to a decline.

Activity signals: velocity, ratio and sequence

Once event monitoring is on, the same rule engine evaluates activity: failed login bursts, one device touching many accounts, deposit-then-withdraw patterns with almost no play, or the ordered path of failed logins, MFA change, payout address change and withdrawal. The event rules page documents the aggregation types, and the event ingestion page documents the envelope.

A detail that matters for false positives: a ratio with no denominator never matches. No deposits is not a ratio of zero, it is no evidence, and firing there would flag every brand-new user.

The formula

Transaction and event scoring is additive. Start at 0. Each matched rule adds its configured score_delta, typically 25 to 35. A record with no matches scores 0.

score = sum(score_delta of every matched rule)

Status mapping then runs in this order: if the decline threshold is below 500 and the score reaches it, DECLINED. Otherwise if the score reaches the review threshold, IN_REVIEW. Otherwise APPROVED. Individual rules can override the mapping with a direct change_status action.

Here is the documented example. Three rules fire with deltas of 30, 35 and 35, so the score is 100. With a review threshold of 60 and a decline threshold of 85 the transaction is DECLINED. With the defaults of 75 and 500 it is IN_REVIEW, because the default never declines on score.

Step-by-step implementation

  1. Decide where each decision sits. Gate onboarding on the session warnings collected during KYC. Score everything after onboarding through the monitoring engine. Session warnings and transaction or event scores are separate decision surfaces, and keeping them apart is what makes each one tunable.
  2. Collect your identifiers. Note the API key, the workflow_id, and the vendor_data value you already use as your user id. Transaction and event records resolve to the same user through that stable vendor_data. Device and IP matching does the opposite job: it compares sessions across different vendor_data values to find one device behind many accounts.
  3. Turn on only what you will read. Event monitoring lives in Transactions, then Settings, then Event monitoring. Until it is on, every write lane answers 403 with {"code": "event_monitoring_disabled"}. In the console you can also add strict-mode device and IP rules such as decline on VPN or review on duplicate device, but leave them off until you have seen your own traffic.
  4. Create the session. This is the runnable call. The SDK collects the fingerprint and IP in band, so there is no standalone IP analysis endpoint to call.
    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"
    }'
    Open the returned session.url for the user. The device fingerprint and IP are collected during the hosted flow.
  5. Send activity events. One envelope covers every category, and event_id is the idempotency key. occurred_at accepts up to 7 days in the past and 5 minutes in the future.
    curl -X POST https://verification.didit.me/v3/events/ \
      -H "x-api-key: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "event_id": "login-2026-08-31-000001",
        "event_category": "auth",
        "action_type": "login",
        "occurred_at": "2026-08-31T20:40:31.123Z",
        "time_zone": "UTC",
        "subject": { "entity_type": "individual", "vendor_data": "user_391" },
        "session": { "session_id": "web-session-abc", "sequence": 142 },
        "device_context": {
          "fingerprint": "didit-fp-v2:a8c1",
          "network_context": { "ip_address": "203.0.113.42" }
        },
        "payload": { "method": "password" }
      }'
  6. Write the rules. Install preset bundles from the rules library or build custom rules. This example fires when one subject fails three logins inside 30 minutes, adds 40 to the score and forces review regardless of the threshold.
    {
      "title": "Failed login burst",
      "scope": {
        "record_types": ["event"],
        "event_categories": ["security"]
      },
      "aggregation": [
        {
          "metric": "count",
          "operator": "gte",
          "value": 3,
          "window": "30m",
          "filters": {
            "subject_vendor_data": "__current__",
            "event.action_type": "login_failed"
          }
        }
      ],
      "actions": [
        { "type": "add_score", "value": 40 },
        { "type": "change_status", "value": "IN_REVIEW" }
      ]
    }
    Note the scope. Leave record_types out and the rule applies to transactions only, so it will never start matching logins by accident. Rules can be written in the console, through the Management API or from an AI assistant over MCP. The full field vocabulary is on the rules page.
  7. Set the thresholds. Review defaults to 75. Decline defaults to 500, which is also the maximum and means never decline by score. Lower the decline threshold only after you have measured your own match rates.
  8. Read the decision. For a session, call GET /v3/session/{sessionId}/decision/ or subscribe to session.status.updated. For a transaction or event, read score and rule_runs[] in the response, or open the Score tab on the transaction detail page in the console.

Expected output

The event endpoint echoes its decision and the rules it evaluated.

{
  "event_uuid": "0f2b...",
  "event_id": "login-2026-08-31-000001",
  "status": "ACCEPTED",
  "score": 0,
  "rules_evaluated_count": 6,
  "rules_matched_count": 0,
  "correlation_pending": false,
  "retention_class": "standard",
  "expires_at": "2026-09-30T20:40:31.123Z",
  "idempotent_replay": false,
  "rule_matches": []
}

A transaction that crosses the review threshold returns the score with the contribution of each matched rule, which is what you show a reviewer.

{
  "txn_id": "tx-0002",
  "status": "IN_REVIEW",
  "score": 65,
  "rule_runs": [
    {
      "rule_title": "High-value outbound",
      "matched": true,
      "score_delta": 30,
      "action_summary": "score +30"
    },
    {
      "rule_title": "High-risk jurisdiction counterparty",
      "matched": true,
      "score_delta": 35,
      "status_target": "IN_REVIEW",
      "action_summary": "score +35; add_tag:high_risk_country"
    }
  ]
}

Inputs and outputs

What you send and what you get back
StepYou sendYou receive
Sessionworkflow_id, vendor_data, callbacksession.url, then a decision with ip_analyses[] carrying geo, ASN, VPN and Tor flags, fingerprint id, duplicate matches and warnings[]
Eventevent_id, event_category, action_type, occurred_at, subject.vendor_data, optional device_context and payloadstatus, score, rules_evaluated_count, rules_matched_count, rule_matches[]
TransactionTransaction body plus subject_vendor_data, subject_ip_country, amounts, directionscore, status, rule_runs[] with score_delta and action_summary per matched rule
Thresholdspreferred_review_score_threshold, preferred_decline_score_thresholdThe new status mapping, applied to new records only

Failure cases and recovery

  • ip_analyses[] is empty. The user blocked the SDK fingerprinting script, usually a privacy extension or content blocker. Decide in advance whether that fails closed or falls back to softer signals, and log which happened.
  • VPN_DETECTED, PROXY_DETECTED, TOR_DETECTED. Treat per policy: decline, review, or an extra liveness step. Many legitimate users share corporate VPNs, so a blanket decline will be noisy.
  • DUPLICATED_DEVICE. The same device previously enrolled under a different vendor_data. Merge accounts, block, or route to review. Do not auto-delete an account on this signal alone.
  • LOCATION_MISMATCH_WITH_DOCUMENT. The IP country does not match the document issuing country. Route to review; travel and expatriate users are common.
  • 403 event_monitoring_disabled. Event monitoring is off. Turn it on in Transactions, then Settings, then Event monitoring.
  • A rule never fires. Check scope.record_types first. A rule without it is transaction only. Then check mode: a rule in Test evaluates but contributes nothing.
  • A ratio rule never fires. There is no denominator in the window. That is intended behaviour, not a bug.
  • Score changes do not apply retroactively. Threshold edits apply to new transactions only; historical records keep their evaluation-time status.

Tuning false positives

Run every new rule in TEST mode first. It evaluates against live records, creates a TransactionRuleRun with is_test = true, and contributes nothing to score or status. You get selectivity numbers without risking a decline.

Then tune in this order. Adjust the review threshold to control queue volume, since that is the cheapest dial. Add or remove signals from a rule rather than changing many thresholds at once. Set the decline threshold below 500 only when a rule combination has proven itself in test. If a single rule absolutely must block, use change_status on that rule and leave the score alone.

Keep the review queue small enough that a human can actually read it. A queue nobody reads is a decline with extra steps.

Four things carry a published unit price in this design. Device and IP analysis at $0.03 per check, already inside the $0.33 full KYC. Transaction monitoring at $0.001 per transaction beyond the plan allowance, which is 1,000 monitored transactions a month on Free, 10,000 on Growth and 100,000 on Scale. Wallet screening at $0.15 per screening. AML screening at $0.20 per check. Event ingestion has no separately published event price; events are evaluated by the same rule engine, and event monitoring is opt-in.

Human review belongs on four things: any record in IN_REVIEW, any sanctions or PEP hit, any duplicate-device match that would merge or close an account, and any location mismatch that also carries a liveness warning. Everything below the review threshold can auto-approve. Nothing should auto-decline until a decline threshold has proven itself in test mode.

Worked cost example

A Growth customer onboarding 10,000 users a month and monitoring 60,000 transactions. Gross usage at list prices first, then the Growth discount, then the monthly credit.

  • Full KYC: 10,000 x $0.33 = $3,300.00. Device and IP analysis at $0.03 is already inside that unit price.
  • AML screening on 400 of those users: 400 x $0.20 = $80.00.
  • Wallet screening on 300 transfers: 300 x $0.15 = $45.00.
  • Transaction monitoring: the Growth plan includes 10,000 monitored transactions a month, so 50,000 are billable at $0.001 = $50.00.
  • Gross discountable usage: 3,300.00 + 80.00 + 45.00 = $3,425.00, plus $50.00 of monitoring.
  • Growth discount on the $3,425.00: 3,425.00 x 4% = $137.00, so 3,425.00 - 137.00 = $3,288.00. Monitoring is $0.001 on every plan, so it stays at $50.00.
  • Discounted usage: 3,288.00 + 50.00 = $3,338.00.
  • Monthly plan credit applied: 3,338.00 - 115.00 = $3,223.00 due for usage.
  • Plus the Growth plan fee: 3,223.00 + 99.00 = $3,322.00 estimated total for the month.

Plan credit is added every month and does not roll over, so the $115 is subtracted once per plan month, not accumulated. The behavioral signals themselves add nothing to that bill. The fingerprint, the IP checks and the duplicate matching are part of the $0.33 check, which is why turning them on is a policy decision, not a budget one.

Sources

Next step: open the sandbox at business.didit.me, create one workflow, and run a session against your own traffic to see which device and IP warnings actually appear. No sales call is needed, and sandbox testing is free and unlimited.

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

How does behavioral fraud detection work?

It collects signals about how an account behaves, such as device fingerprint, IP reputation, duplicate-device matches, login velocity and transaction patterns, and turns them into a score. Rules add fixed score deltas when they match, and thresholds map the total to approved, in review or declined. The point is that several moderate signals must agree before anything is blocked.

What behavioral signals does Didit collect during verification?

Device and IP Analysis runs inside every session and collects a persistent device ID, a composite hash, a fingerprint signal vector, platform context, and IP geolocation with VPN, proxy, Tor and data-center detection. It also checks duplicate IP, duplicate device and recovered device against previous sessions from other users. The output appears under ip_analyses[] in the session decision.

What statuses can a verification session have?

Each ip_analyses[] entry on a session decision carries a status of Not Started, In Progress, Approved, In Review, Declined, Abandoned or Kyc Expired. Those statuses describe how far the verification step got, including abandonment and expiry, rather than a rule score. They are not the same enum as transaction and event statuses.

What statuses can a transaction or an event have?

Transactions and events use APPROVED, IN_REVIEW and DECLINED, and a rule can also set AWAITING_USER to hand the record back for remediation. The status comes from the score thresholds unless a rule sets it directly with a change_status action. A decline threshold of 500, the default and maximum, means scores never decline on their own.

How is the risk score calculated?

The score starts at 0 and each matched rule adds its configured score_delta, typically 25 to 35 points. A record with no matching rules scores 0. Status is then assigned from thresholds, unless a rule overrides the status directly with a change_status action.

What are the default review and decline thresholds?

The default review threshold is 75 and the default decline threshold is 500. Because 500 is also the maximum, the default never declines by score and sends everything above 75 to review. You lower the decline threshold yourself once you have tested the rule set.

How do I reduce false positives in fraud scoring?

Run rules in TEST mode first, where they evaluate against live records without affecting score or status. Then raise or lower the review threshold to control queue volume, and prefer adding signals to a rule over moving several thresholds at once. Set a decline threshold below 500 only after a rule combination has proven its selectivity in test.

What happens if a user blocks the fingerprinting script?

The ip_analyses[] array comes back empty. That is a policy decision for you: fail closed and require an extra step, or fall back to softer signals such as email and phone risk. Whichever you choose, log it so you can measure how often it happens.

Does device and IP analysis cost extra on top of KYC?

No. Device and IP Analysis is a $0.03 line inside the $0.33 full KYC check, which bundles ID document verification at $0.15, passive liveness at $0.10, face match at $0.05 and device and IP analysis at $0.03. Turning the signals on adds nothing to a KYC bill.

Can I test a rule before it declines real transactions?

Yes. A rule in TEST mode evaluates against live records but does not contribute to score or status, and the run is recorded with is_test = true. Switch it to ACTIVE when its selectivity looks right. Threshold changes apply to new records only.

What does a VPN flag mean for the decision?

VPN_DETECTED means the connection was detected as a VPN, and Didit also flags proxies, Tor and data-center IPs. It is a warning, not a verdict: many legitimate users sit behind corporate or consumer VPNs. Most teams route it to review or an extra liveness step rather than declining.

Is event monitoring on by default?

No. Event monitoring is opt-in and is turned on in Transactions, then Settings, then Event monitoring. Until it is on, every event write lane answers 403 with {"code": "event_monitoring_disabled"}, and nothing is stored or evaluated.

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.