Financial Transaction Fraud Patterns
This dataset provides detailed records of financial transactions, labeled as either legitimate or fraudulent, with comprehensive contextual information such as account, merchant, location, device, and channel data. It is designed to support the development and evaluation of fraud detection algorithms, enabling advanced pattern analysis and risk assessment in financial services. The inclusion of both fraudulent and legitimate cases makes it ideal for supervised machine learning and anomaly detection research.
Sample rows
preview · 8 of 200 rows · all 22 columns| transaction_idstring | transaction_typestring | amountfloat | is_fraudboolean | merchant_categorystring | account_idstring | transaction_datetimedatetime | currencystring | merchant_idstring | merchant_namestring | location_street_addressstring | location_citystring | location_statestring | location_postal_codestring | location_countrystring | channelstring | fraud_typestring | fraud_reported_datetimedatetime | device_idstring | ip_addressstring | user_agentstring | notesstring |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TXN000001 | purchase | 57.42 | false | groceries | ACC102345 | 2022-01-12T15:28:09Z | USD | MRC1201 | WholeMart Market | 1723 Main St | Dallas | TX | 75201 | US | in-person | blank | blank | blank | blank | blank | blank |
| TXN000002 | purchase | 120.5 | false | restaurants | ACC203456 | 2022-03-09T13:54:22Z | EUR | MRC1032 | La Vie Boulangerie | 19 Rue de la Paix | Paris | IDF | 75002 | FR | in-person | blank | blank | blank | blank | blank | Lunch with client |
| TXN000003 | purchase | 45.99 | false | electronics | ACC304567 | 2022-05-22T19:10:47Z | USD | MRC1510 | BestBuy Electronics | 950 Market St | San Francisco | CA | 94102 | US | in-person | blank | blank | blank | blank | blank | blank |
| TXN000004 | purchase | 220.75 | false | books | ACC405678 | 2022-06-01T08:46:31Z | AUD | MRC2071 | Bookworm Library | 33 George St | Sydney | NSW | 2000 | AU | in-person | blank | blank | blank | blank | blank | Paid by card |
| TXN000005 | purchase | 89.1 | false | groceries | ACC506789 | 2022-07-14T20:19:25Z | CAD | MRC3201 | FreshMart | 2310 King St W | Toronto | ON | M5V3E9 | CA | in-person | blank | blank | blank | blank | blank | Evening grocery run |
| TXN000006 | purchase | 17.3 | false | pharmacy | ACC607890 | 2022-09-18T16:03:58Z | JPY | MRC4132 | Tokyo Pharmacy | 8 Chome-2 Ginza | Tokyo | TKY | 1040061 | JP | in-person | blank | blank | blank | blank | blank | blank |
| TXN000007 | purchase | 135.25 | false | restaurants | ACC708901 | 2022-10-03T12:48:11Z | USD | MRC1870 | GreenLeaf Restaurant | 4127 Oak Ave | Chicago | IL | 60603 | US | in-person | blank | blank | blank | blank | blank | Birthday dinner |
| TXN000008 | purchase | 39.87 | false | pharmacy | ACC809012 | 2022-12-10T10:22:34Z | USD | MRC2112 | Pharma Health | 678 Health Blvd | Miami | FL | 33101 | US | in-person | blank | blank | blank | blank | blank | Prescription pickup |
| TXN000009 | purchase | 76.6 | false | restaurants | ACC910123 | 2023-01-08T09:04:15Z | USD | MRC3902 | QuickEats | 440 Baker St | Seattle | WA | 98101 | US | in-person | blank | blank | blank | blank | blank | blank |
| TXN000010 | purchase | 153.2 | false | books | ACC112134 | 2023-01-23T14:33:21Z | USD | MRC1784 | PageTurner Books | 1250 Liberty Ave | Pittsburgh | PA | 15222 | US | in-person | blank | blank | blank | blank | blank | Gift purchase |
| TXN000011 | purchase | 289.99 | false | electronics | ACC223245 | 2023-02-13T07:50:34Z | GBP | MRC2105 | London Electronics | 850 Regent St | London | LND | W1B3AB | GB | in-person | blank | blank | blank | blank | blank | blank |
| TXN000012 | purchase | 80 | false | books | ACC334356 | 2023-03-26T18:17:44Z | USD | MRC1347 | Read&Go | 29 Center Rd | Boston | MA | 02108 | US | in-person | blank | blank | blank | blank | blank | blank |
| TXN000013 | purchase | 39.5 | false | groceries | ACC445467 | 2023-04-02T11:31:17Z | SEK | MRC2331 | Stockholm Grocer | 17 Drottninggatan | Stockholm | STO | 11151 | SE | in-person | blank | blank | blank | blank | blank | Weekend shopping |
| TXN000014 | refund | 14.99 | false | electronics | ACC556578 | 2023-05-10T20:41:55Z | USD | MRC1510 | BestBuy Electronics | blank | blank | blank | blank | blank | online | blank | blank | WEB-43221 | 198.51.100.22 | Mozilla/5.0 (Windows NT 10.0) | Return processed online |
| TXN000015 | purchase | 310.65 | false | electronics | ACC667689 | 2023-06-14T06:19:12Z | EUR | MRC2904 | MediaZone | blank | blank | blank | blank | blank | online | blank | blank | WEB-18901 | 203.0.113.33 | Mozilla/5.0 (Macintosh; Intel Mac OS X) | Online order |
| TXN000016 | purchase | 59.95 | false | travel | ACC778790 | 2023-07-25T13:12:55Z | USD | MRC3025 | TravelNow | blank | blank | blank | blank | blank | online | blank | blank | WEB-98102 | 192.0.2.19 | Mozilla/5.0 (Windows NT 10.0; Win64; x64) | Hotel booking |
| TXN000017 | refund | 27 | false | pharmacy | ACC889801 | 2023-08-08T21:44:30Z | USD | MRC2112 | Pharma Health | blank | blank | blank | blank | blank | mobile | blank | blank | MOB-AB9831 | 2606:4700:4700::1111 | PharmaHealthApp/2.1.1 (iOS) | Mobile return |
| TXN000018 | purchase | 420 | true | restaurants | ACC990912 | 2023-08-19T17:35:41Z | USD | MRC1032 | La Vie Boulangerie | blank | blank | blank | blank | blank | online | account takeover | 2023-08-22T13:00:00Z | WEB-83412 | 203.0.113.44 | Mozilla/5.0 (Linux; Android 12) | Suspicious high-value order |
| TXN000019 | purchase | 249.99 | false | electronics | ACC102023 | 2023-10-01T10:15:16Z | GBP | MRC2105 | London Electronics | blank | blank | blank | blank | blank | online | blank | blank | WEB-22112 | 185.44.12.3 | Mozilla/5.0 (Windows NT 10.0; WOW64) | blank |
| TXN000020 | purchase | 91.2 | false | books | ACC203134 | 2023-10-18T16:26:13Z | USD | MRC1710 | Bookworm Library | blank | blank | blank | blank | blank | mobile | blank | blank | MOB-77663 | 198.51.100.45 | BookwormApp/1.4.0 Android | Mobile book order |
What the 200 rows show
from the 200-row sampleTransfer (transaction type) stands out: 17 of its 29 rows have is_
- 11%is_
fraud = true - 81.0median amount
- 4fraud types
- 6channels
- 9currencies
- 10location countries
Median 81.0, from 0.0 to 1,000,000,000.
- string 18
- float 1
- datetime 2
- boolean 1
Columns
22 columns in four groups| column | type | description | example |
|---|---|---|---|
| Text 18 columns | |||
transaction_id | string | Unique identifier for each financial transactionunique | TXN000001 |
account_id | string | Unique identifier for the account involved in the transaction | ACC102345 |
currency | string | ISO 4217 currency code used in the transaction (e.g., USD, EUR)9 currencies | USD |
transaction_type | string | Type of transaction (e.g., withdrawal, deposit, transfer, payment, purchase)7 values | purchase |
merchant_id | string | Unique identifier for the merchant or recipient (if applicable)optional | MRC1201 |
merchant_name | string | Name of the merchant or recipient (if applicable)optional | WholeMart Market |
merchant_category | string | Category of the merchant (e.g., groceries, electronics, travel, services)8 categories · optional | groceries |
location_street_address | string | Street address where the transaction took place (if available)optional | 1723 Main St |
location_city | string | City where the transaction took place (if available)optional | Dallas |
location_state | string | State or province where the transaction took place (if available)optional | TX |
location_postal_code | string | Postal code of the transaction location (if available)optional | 75201 |
location_country | string | Country where the transaction took place (if available, ISO 3166-1 alpha-2 code)10 countries · optional | US |
channel | string | Channel through which the transaction was initiated (e.g., online, in-person, mobile, ATM)6 values | in-person |
fraud_type | string | Type of fraud detected (if applicable, e.g., card theft, account takeover, phishing)4 types · optional | account takeover |
device_id | string | Unique identifier for the device used to initiate the transaction (if available)optional | WEB-43221 |
ip_address | string | IP address from which the transaction was initiated (if available)optional | 198.51.100.22 |
user_agent | string | User agent string of the device/browser used (if available)optional | MobileBankApp/3.2 |
notes | string | Additional notes or comments about the transaction or fraud caseoptional | Lunch with client |
| Numbers 1 column | |||
amount | float | Monetary amount of the transaction0 or more | 57.42 |
| Dates and times 2 columns | |||
transaction_datetime | datetime | Date and time when the transaction occurred | 2022-01-12T15:28:09Z |
fraud_reported_datetime | datetime | Date and time when the fraud was reported (if applicable)optional | 2023-08-22T13:00:00Z |
| True or false 1 column | |||
is_fraud | boolean | Indicates whether the transaction is fraudulent (true) or legitimate (false) | false |
Use it for
A finance dashboard
The is_
fraud rate, amount by transaction_ type and a breakdown of merchant_ category. Excel, Power BI or Tableau. Why do 21 of 200 rows have is_
fraud = true? A root-cause class exercise
Hand out the rows and one question. The answer is in the data, not in the brief.
- Transactions200TXN00000157.42purchaseTXN000018420purchaseTXN000030335000transfer
A software demo
Believable transactions with account_
id, transaction_ datetime and amount to fill a screen in front of a buyer.
blueprint · financial-transaction-fraud-patterns
Behind this dataset
Same schema. As many rows as you need.
These 200 rows came out of a blueprint — 22 columns with generation rules behind each one. Open it in Data Factory to retune a column, add your own, wire in foreign keys, and run it at the size you actually need.
- Each transaction labeled as fraudulent or legitimate.
- Includes transaction amount and merchant type.
- Timestamp and anonymized account ID required.
- Multiple fraud types annotated.
1 credit per row. Preview 20 rows free. Buy rows for the full run.
- Exports
- CSV, JSON, JSONL, Parquet, SQL, Excel, TSV, XML
- Licence
- yours to use, including commercially
- API slug
- financial-transaction-fraud-patterns