{"templateId":"markdown","sharedDataIds":{},"props":{"metadata":{"markdoc":{"tagList":["typography","box","badge"]},"redocly_category":"Articles","type":"markdown"},"seo":{"title":"Machine learning - the key to modern fraud detection","description":"Machine learning detects fraud more efficiently than ever - and that has everything to do with the data it learns from.","siteUrl":"https://docs.worldpay.com/access","image":"/access/assets/worldpay-logo-light.21b7daf79984773a9fcd7d4fbcb07ae5289dfffd6023c4c3dca720c7058e53dc.33f780a6.svg","keywords":"documentation, api, openapi, sdks, developer, payments, json, payouts, 3ds","jsonLd":{"@context":"https://schema.org","@type":"Organization","url":"https://docs.worldpay.com/access","name":"Worldpay"},"meta":[{"name":"google-site-verification","content":"zjziIKaP3ImsqsfhYnEBnq1R85UabiSwl7HTXuwtZuo"},{"name":"doc_product","content":"Access"},{"name":"doc_category","content":"Documentation"}],"llmstxt":{"hide":false,"sections":[{"title":"Payments API","description":"Payment orchestration API combining fraud assessment, 3ds authentication, SCA exemptions, Worldpay Token creation and a card or wallet based payment.","includeFiles":["products/payments/@20240601/**/*"],"excludeFiles":[]},{"title":"Payment Queries API","description":"Querying your payments data, based on a variety of parameters.","includeFiles":["products/payment-queries/@v1/**/*"],"excludeFiles":[]},{"title":"Card BIN Data API","description":"Provides detailed information about a card.","includeFiles":["products/card-bin/@v1/**/*"],"excludeFiles":[]},{"title":"3DS Authentication API","description":"Request 3DS authentication to protect against fraud, be SCA compliant and to shift liability using this standalone API.","includeFiles":["products/3ds/@v3/**/*"],"excludeFiles":[]},{"title":"FraudSight API","description":"Request a risk assessment and receive a response with an outcome (e.g. lowRisk) using this standalone API.","includeFiles":["products/fraudsight/@v1/**/*"],"excludeFiles":[]},{"title":"Checkout SDK","description":"Integrate using our clientside SDKs for both web and native devices. Benefit from SAQ-A/PCI-SSF compliance.","includeFiles":["products/checkout/web/@v2/**/*","products/checkout/ios/@v4/**/*","products/checkout/android/@v4/**/*","products/checkout/react-native/@v3/**/*","products/checkout/flutter/@v1/**/*"],"excludeFiles":[]},{"title":"Tokens API","description":"Minimizes the exposure of sensitive card details and increases the security of your customer's card details.","includeFiles":["products/tokens/@v3/**/*"],"excludeFiles":[]},{"title":"Card Payments API","description":"Request a card payment using this standalone API, requires separate requests for 3DS, Fraud assessment etc.","includeFiles":["products/card-payments/@v7/**/*"],"excludeFiles":[]},{"title":"Card Verifications API","description":"Verify your customer's card to maximize your authentication rates.","includeFiles":["products/card-verifications/@v6/**/*"],"excludeFiles":[]},{"title":"Account Payouts API","description":"Send funds to your customer's bank accounts and search for payouts using parameters.","includeFiles":["products/account-payouts/@20250101/**/*"],"excludeFiles":[]},{"title":"APMs","description":"Pay using eWallets, bank transfers, direct debits, local card schemes, Postpay and eInvoice/ Buy Now Pay Later.","includeFiles":["products/apms/@20240701/**/*"],"excludeFiles":[]},{"title":"Balance API","description":"Request your account details for a single account or all accounts under an entity.","includeFiles":["products/balance/@20250101/**/*"],"excludeFiles":[]},{"title":"Card Payouts API","description":"Send funds to your customer's cards.","includeFiles":["products/card-payouts/@v4/**/*"],"excludeFiles":[]},{"title":"Events (Webhooks)","description":"Receive status updates from Access Worldpay by setting up a webhook.","includeFiles":["products/events/@v1/**/*"],"excludeFiles":[]},{"title":"FX API","description":"Manage Foreign Exchange (FX) on your payments.","includeFiles":["products/fx/@v1/**/*"],"excludeFiles":[]},{"title":"Hosted Payment Pages (HPP) API","description":"Our low-code option to take payments securely at the lowest PCI compliance level - SAQ A.","includeFiles":["products/hosted-payment-pages/@v1/**/*"],"excludeFiles":[]},{"title":"Money Transfers API","description":"Money Transfer OCTs (Original Credit Transaction) allow funds to be pushed to an eligible card in 30 minutes or less.","includeFiles":["products/money-transfers/@v1/**/*"],"excludeFiles":[]},{"title":"Parties API","description":"Create parties, manage your payout instruments and beneficial owners and carry out identity verification checks.","includeFiles":["products/parties/@20250101/**/*"],"excludeFiles":[]},{"title":"SCA Exemptions API","description":"Maximize a frictionless checkout experience by using issuer data insights to apply exemptions.","includeFiles":["products/sca-exemptions/@v1/**/*"],"excludeFiles":[]},{"title":"Split Payments API","description":"Divide funds from a single payment amongst yourself and your parties/sellers.","includeFiles":["products/split-payments/@20250625/**/*"],"excludeFiles":[]},{"title":"Statements API","description":"Retrieve your account statement and see individual entries for all credits and debits.","includeFiles":["products/statements/@20250101/**/*"],"excludeFiles":[]},{"title":"Transfers API","description":"Transfer funds from source account to target account.","includeFiles":["products/transfers/@20250101/**/*"],"excludeFiles":[]},{"title":"Verified Tokens API","description":"Verified Tokens ensures that your customer's payment details are valid and CIT compliant when creating a token.","includeFiles":["products/verified-tokens/@v3/**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Typography","attributes":{"fontSize":"1.2em","as":"div"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/articles"},"children":["← Back to articles list"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"machine-learning---the-key-to-modern-fraud-detection","__idx":0},"children":["Machine learning - the key to modern fraud detection"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"machine-learning-detects-fraud-more-efficiently-than-ever---and-that-has-everything-to-do-with-the-data-it-learns-from","__idx":1},"children":["Machine learning detects fraud more efficiently than ever - and that has everything to do with the data it learns from."]},{"$$mdtype":"Tag","name":"Box","attributes":{"display":"inline-flex","gridTemplateColumns":["1fr 1fr","1fr 1fr 1fr","1fr 1fr 1fr"],"gridGap":"1rem","mt":"1rem","mb":"1rem"},"children":[{"$$mdtype":"Tag","name":"Badge","attributes":{"size":"small","fontWeight":"bold","color":"white","mt":"0rem","mb":"0.5rem","px":"1rem","py":"0.5rem","borderRadius":"6rem","bg":"var(--wp-colour-light-blue)"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Technical"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Written by ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["the Access Worldpay Team"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ","10 January 2022"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["There are good reasons why machine learning is supplanting traditional systems as the preferred way to detect payments fraud. In this article, we describe the types of learning that underpin FraudSight, Worldpay's fraud detection system, and explain how it benefits from our place in the payments universe."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Detecting fraud involves striking a balance. Hypothetically, a system could achieve total security by blocking all payments; the other extreme would let every payment through. Neither is practical - a balance is necessary."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["However, this also involves a balance of risks. On the one hand, detecting fraud while processing a payment request saves merchants the cost of chargebacks or lost goods, and reduces reputational risks. On the other hand, automated systems for real-time fraud detection always make some mistakes."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Some such errors are 'false positives' - genuine payments identified as fraudulent, then blocked. Other mistakes are 'false negatives' - fraudulent payments flagged as genuine. The mark of good fraud detection is to maximize the number of genuinely fraudulent ('true positive') payments while also minimizing the number of false positives and false negatives."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"the-human-touch","__idx":2},"children":["The human touch"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Initially, human teams established and operated fraud detection systems. These usually amounted to lots of complicated business rules, informed by cases of genuine fraud discovered after the fact. A fraud manager would examine the characteristics of a fraudulent payment and try to infer a rule to catch similar frauds in the future."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For example, a fraud team might notice that a fraudulent payment involved a mismatch between billing and delivery addresses. A new proposal to block similar mismatches would certainly prevent some future fraud, but would also likely carry the cost of creating many new false positives."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"enter-the-machines","__idx":3},"children":["Enter the machines"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The cost of manually maintaining complex sets of business rules has proved enormous, with the rules themselves often producing poor results. As a result, even though manual systems may be more familiar and appear more intuitive, they are increasingly being replaced by automated systems based on the complex algorithms of machine learning."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The principle remains the same, though: in place of business rules, machine learning identifies new logic that can detect as many true positives as possible, while minimizing the false positives. This logic is then fed into the machine learning model, leveraging its ability to process quantities of information far beyond the capabilities of even the best human teams. Using this information, the model trains itself to let good payments go through by differentiating between those that are typically fraudulent and those that are not."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"finding-the-line","__idx":4},"children":["Finding the line"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Worldpay's automated fraud-detection system, FraudSight, is underpinned by two main types of machine learning. The first is Supervised Learning, which determines whether a new transaction can be seen as typically fraudulent or typically genuine."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Imagine a graph populated with lots of red and green dots. Red dots represent fraudulent transactions; green dots are genuine ones."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/access/assets/machine-learning-graph.b6522b940bc674b446f000acc04bed14611813fa7d6168327d820f41c18aff82.2d9e4d95.png","alt":"Graph with red and green dots"},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If we know just two facts about any payment - the amount and time, say - then the graph is a simple X/Y chart and the line has just two dimensions. If we know a third fact, such as the age of the cardholder account, then the 'line' becomes a 3D plane."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In practice, FraudSight's Supervised Learning model ingests so many facts that the 'line' is a multi-dimensional hyperplane. Nevertheless, the model still works to identify the 'lines' that best distinguish genuine from fraudulent payments and then uses these lines to predict whether or not a new payment is genuine. Ultimately, its purpose is to say that 'we think this payment is fraud because it looks more like fraud than genuine payments'."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"spotting-the-anomalies","__idx":5},"children":["Spotting the anomalies"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The second process is Unsupervised Learning. Instead of trying to differentiate between genuine and fraudulent transactions, it models the distribution of the data and then identifies anomalies. By asking questions such as: “Is this payment normal for this customer?”, it aims to say that a payment looks like fraud because it seems anomalous."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Unsupervised Learning can also enrich FraudSight's Supervised Learning. For example, instead of simply using the currency amount of a given transaction, the model might first learn what a 'normal' payment amount is for that card, and measure the difference of each new payment to that norm to see how anomalous it is. Such a 'difference to normal' ratio can then become a new characteristic in the multi-factor Supervised Learning model."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"diversity-is-strength","__idx":6},"children":["Diversity is strength"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["What Supervised and Unsupervised Learning both require is data - the more, the better. Here, FraudSight's access to 40 billion transactions each year, including millions of confirmed fraudulent transactions, is a valuable asset."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Quantity of data matters; diversity matters more. Worldpay's role across the payments ecosystem provides FraudSight with an exceptionally wide field of vision. Specifically, Worldpay can access three complementary types of transaction data:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Gateway data"]},": rich in customer and merchant data but lacking in fraud outcomes."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Acquiring data"]},": rich in fraud and payments data, but lacking in customer and merchant data."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Issuer data"]},": rich in customer account-level data, but without device or holistic merchant level data."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["FraudSight also sees data from a wide variety of issuers, merchants and acquirers, as well as different payment devices and schemes. This breadth of data offers an unusually rich view across the entire payments system, making FraudSight uniquely effective at detecting and preventing fraud. In fact, analysis of earlier versions of the system show that it reduced fraud chargebacks for a large omnichannel merchant by 95%."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"how-it-works","__idx":7},"children":["How it works"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["FraudSight operates at three levels. The first is our real-time, instantaneous decision to accept or decline a payment. This decision is informed by a second level - a near-live process which is constantly recalculating different variables, such as the average spend over the last day or the maximum spend during the past week. These calculations mean that FraudSight's picture of the current payments landscape is always being updated."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The third layer is the build and update cycle, which underpins everything else. The cycle happens offline, at regular intervals, using a heavy compute platform and enormous datasets of transactions and fraud outcomes. Fundamentally, it analyzes the millions of data points and optimizes the information to find the 'line' separating the red and green dots."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"what-comes-next","__idx":8},"children":["What comes next?"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Access FraudSight is currently in pilot and will slowly go live over the next few months. It uses our Access Worldpay platform to offer merchants a fraud-detection system that is wrapped up into a single HTTP event, making it straightforward to integrate."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["We will publish an article that covers Access FraudSight in more detail in the near future - watch this space!"]}]},"headings":[{"value":"Machine learning - the key to modern fraud detection","id":"machine-learning---the-key-to-modern-fraud-detection","depth":1},{"value":"Machine learning detects fraud more efficiently than ever - and that has everything to do with the data it learns from.","id":"machine-learning-detects-fraud-more-efficiently-than-ever---and-that-has-everything-to-do-with-the-data-it-learns-from","depth":3},{"value":"The human touch","id":"the-human-touch","depth":2},{"value":"Enter the machines","id":"enter-the-machines","depth":2},{"value":"Finding the line","id":"finding-the-line","depth":2},{"value":"Spotting the anomalies","id":"spotting-the-anomalies","depth":2},{"value":"Diversity is strength","id":"diversity-is-strength","depth":2},{"value":"How it works","id":"how-it-works","depth":2},{"value":"What comes next?","id":"what-comes-next","depth":2}],"frontmatter":{"seo":{"title":"Machine learning - the key to modern fraud detection","description":"Machine learning detects fraud more efficiently than ever - and that has everything to do with the data it learns from."},"markdown":{"toc":{"hide":true}}},"lastModified":"2025-10-28T16:40:42.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/articles/machine-learning","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}