TL;DR: credit card fraud detection for merchants
- The problem: Merchants have to decide, in the few hundred milliseconds of an authorisation, whether the person paying is the real cardholder, across stolen-card checkouts, card testing, account takeover and friendly fraud, without declining good customers.
- How CloakTrace helps: It reads the device and actor across four layers, resolves the same physical device across cleared storage and browsers, and returns risk with evidence in under a millisecond, feeding your own approve, decline or review decision.
- The decision: Stack card-network checks, velocity and ML with a device and actor layer that links many seemingly-unrelated attempts to one device and operator, shrinking the uncertain middle.
Short on time? See CloakTrace's payment fraud detection. It adds the device and actor layer your checkout decision is missing.
What is credit card fraud detection?
Credit card fraud detection, for a merchant or platform, is the practice of scoring each transaction in real time to decide whether the person paying is the legitimate cardholder before you accept the charge. It combines checks the card networks provide (address and security-code verification, 3-D Secure), transaction signals you compute yourself (velocity, amount, history), machine-learning risk scores, and device and behavioral signals about the browser and the person at the keyboard. The goal is not a single yes or no; it is a risk assessment made in the few hundred milliseconds you have at authorisation, so you approve good customers, decline clear fraud, and route the uncertain middle to review or a step-up challenge.
This is the merchant side of the problem. Consumers get fraud alerts and card monitoring from their bank; that is a separate world. If you run a checkout, a subscription flow or a marketplace, your job is different: catch the fraudulent order before it ships or the account is drained, without adding so much friction that real buyers abandon. Get it wrong in one direction and you eat chargebacks and lost goods. Get it wrong in the other and you decline paying customers and train them to shop elsewhere. Good detection is the balance between those two costs.
The fraud patterns merchants face
Credit card fraud is not one thing. Four patterns cover most of what a detection system has to catch, and each leaves a different trace.
- Stolen-card checkouts (card-not-present fraud). Someone uses stolen card details to buy online. There is no physical card to inspect, so all you have is the data in the request and the environment it came from. This is the core of card-not-present fraud, the dominant category for online merchants.
- Card testing and enumeration. Fraudsters validate stolen or guessed card numbers by firing many small authorisations to see which approve, often against a low-value product or a donation form. A sudden burst of tiny, failing payments is the tell. See card testing attacks for the full pattern and defence.
- Account takeover (ATO). A real customer account is compromised, then the stored card is used. Because the account and its history look legitimate, ATO defeats checks that trust the account. What changes is the device, location and behaviour behind the login.
- Friendly and chargeback fraud. The real cardholder buys, receives the goods, then disputes the charge to get their money back. There is nothing wrong with the checkout, so you cannot screen it out up front; you fight it later with evidence. See chargeback and friendly fraud.
A detection system that only knows one of these patterns leaks the others. A velocity rule that catches card testing does nothing for a single clean-looking stolen-card order, and neither touches the friendly-fraud dispute that arrives three weeks later.
The signals and methods
Detection works by stacking signals, because no single check is decisive on its own. These are the ones that matter, and what each is actually good at.
Card-network checks: AVS, CVV and 3DS
AVS (Address Verification Service) compares the billing address entered with the one on file at the issuer. CVV confirms the person has the printed security code. 3-D Secure (Visa Secure, Mastercard Identity Check) shifts liability to the issuer and can challenge the shopper with a one-time code. These are useful and, for 3DS, can move chargeback liability off you, but they are coarse: AVS and CVV are frequently defeated because stolen full-card records include the address, and heavy 3DS challenges add friction that costs conversions. Treat them as inputs, not the whole answer.
Transaction and velocity signals
Velocity is how often something repeats: cards per device, orders per card, attempts per IP, failures per minute. It is the single most effective signal against card testing and scripted abuse. Alongside it sit amount, time of day, shipping-billing mismatch, new-versus-returning customer, and the order's history. These are cheap to compute and catch bulk attacks, but a patient fraudster placing one careful order slips under every threshold.
Machine-learning risk scoring
ML models learn from labelled outcomes (which past orders turned out fraudulent) and score new transactions on hundreds of features at once. They catch combinations a human rule-writer would never encode. Their limits are the training data: they lag genuinely new attack shapes, and a pure score without evidence is hard to trust or explain to a reviewer or an auditor.
Device fingerprinting and behavioral signals
Device fingerprinting identifies the browser and device behind the order, so a repeat offender who changes card and email is still recognisable. Behavioral signals read how the person types, moves and navigates, separating a human from a script. Both are powerful, and both have a well-known limit: a browser-scoped fingerprint reads the same actor in two browsers, or after cleared storage, as two different visitors, and simple hashes break the moment a fraudster tweaks their setup. That limit is exactly where a device and actor intelligence layer earns its place, which we come to below.
How detection works in real time
All of this has to happen inside one authorisation. The practical flow at checkout looks like this:
- The shopper submits payment. A device and behavioral script has already been gathering signals on the page.
- Your system assembles the request: card checks (AVS, CVV), transaction features, velocity counters, device and actor signals.
- Those feed a risk score, from your gateway (for example Stripe Radar), your own model, or an added detection layer, usually within a few hundred milliseconds.
- You decide: approve the clean majority, decline clear fraud, or send the uncertain middle to step-up (3DS challenge) or manual review.
- Outcomes and later chargebacks feed back as labels, so the models and rules improve.
The hard part is the uncertain middle. Push everything there to 3DS or review and you add friction and cost; wave it through and you take losses. Better signals shrink that middle by resolving more sessions confidently, which is where the device and actor layer adds the most value. If you are building this into your own stack, most of these signals are available through a fraud detection API you call at authorisation.
See how CloakTrace resolves the device and classifies the actor behind each transaction, feeding your own approve, decline or review decision.
The device and actor intelligence layer
Most detection stacks are strong on identity and transaction data and weak on the machine and the actor. That gap is where modern card fraud lives: a stolen full-card record passes AVS and CVV, a fresh email carries clean reputation, and a real browser under automation looks human to a rules engine. What ties many seemingly-unrelated attempts together is not the identity, which the fraudster rotates, but the device and the actor operating it.
CloakTrace is the layer that reads that. One script gathers hundreds of signals across four layers, browser, device, network and behavior, and resolves the same physical device across different browsers and even after cookies and storage are cleared. That resolution is a similarity judgement (around 0.97), not a hash a fraudster can reset, so the machine behind ten "different" card-testing attempts or a run of stolen-card orders still resolves to one device. It also classifies the actor, not just "is this a bot" but what kind: human, automated bot, browser automation, fraud operator or AI agent, returned as a probability distribution with the evidence behind it.
Two capabilities matter most for card fraud. The relationship graph returns the accounts, cards and IP addresses already linked to a device, so a checkout that looks isolated is revealed as the fourth card tried on a device tied to prior abuse. Unsupervised discovery surfaces clusters of linked attempts before anyone writes a rule for them, which is how you catch a new card-testing ring engineered to look like unrelated ordinary shoppers. All of it returns in under a millisecond from a global CDN, with data residency selectable per team across the US and EU, and no per-second rate limit, so a sale-day burst or a card-testing storm is scored rather than throttled.
CloakTrace does not run KYC or AML and does no identity or email enrichment; it complements the identity and compliance tools that do. It also does not own your decision the way a managed approve-decline service does. It returns device identity, actor classification, risk and evidence as JSON in the same request, and your application decides what to accept, decline or review. For the full picture of how this applies to payments, see CloakTrace's payment fraud detection use case.
Where CloakTrace fits
CloakTrace is the device and actor layer for this problem. It resolves the same physical device across browsers and cleared storage, classifies whether a human, an automation framework or an AI agent is operating the session, and returns the accounts, cards and IPs already linked to that device, in under a millisecond. Your application keeps the decision.
Where it does not fit:
- It does not own the approve or decline decision, run a managed fraud team or offer chargeback guarantees. A full fraud platform covers those, and CloakTrace supplies the device and actor layer such platforms use.
- It does not do KYC or AML and does no identity enrichment, so it cannot tell you whether the person behind a device is who they claim to be.
- It covers web, WebView and React Native today. A fully native iOS and Android SDK is on the roadmap.
Sources and methodology
This explainer describes merchant-side credit card fraud detection from public card-network and industry practice as of 2026: the standard fraud patterns (card-not-present, card testing and enumeration, account takeover, friendly and chargeback fraud), the common signal families (AVS and CVV, 3-D Secure, velocity and transaction features, machine-learning scoring, device fingerprinting and behavioral analysis), and the real-time authorisation flow of approve, decline, step-up and review. CloakTrace descriptions reflect its published capabilities: four-layer signal collection, a self-learning agent tuned to the use case, cross-browser device resolution at roughly 0.97 similarity, actor classification as a distribution, a relationship graph, unsupervised cluster discovery, sub-millisecond responses, and US or EU data residency per team. CloakTrace does not perform KYC or AML. Card-network rules, thresholds and liability shifts vary by network and acquirer; verify current details with your processor.
Ask an AI
Don’t just take our word for it
Ask your assistant how CloakTrace compares for fraud, bot and AI-agent detection.