Financial Transaction Fraud Scores
This dataset provides detailed, structured records of bank transactions, each annotated with a synthetic fraud risk score and binary fraud label. It includes transaction, account, merchant, and contextual information, making it ideal for training and evaluating fraud detection and risk assessment models. The dataset supports feature engineering for advanced analytics and machine learning applications in financial security.
Sample rows
preview · 8 of 200 rows · all 19 columns| transaction_idstring | transaction_typestring | fraud_scorefloat | is_internationalboolean | merchant_category_codestring | account_idstring | transaction_datetimedatetime | transaction_amountfloat | currencystring | merchant_idstring | merchant_namestring | location_citystring | location_statestring | location_countrystring | channelstring | is_fraudboolean | device_idstring | customer_ageinteger | customer_genderstring |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TXN1000001 | purchase | 0.05 | false | 5732 | ACC001 | 2021-07-11T10:34:17Z | 52.47 | USD | MRC7192 | Best Electronics | San Francisco | CA | US | POS | false | DEV_SF1001 | 29 | male |
| TXN1000002 | purchase | 0.09 | false | 5814 | ACC002 | 2023-02-19T17:12:49Z | 18.25 | USD | MRC7811 | Urban Coffee | Boston | MA | US | POS | false | DEV_BOS203 | 22 | female |
| TXN1000003 | purchase | 0.13 | false | 5411 | ACC003 | 2022-08-03T22:56:21Z | 97.5 | EUR | MRC3620 | Supermarkt Berlin | Berlin | BE | DE | POS | false | DEV_DEB14 | 34 | female |
| TXN1000004 | transfer | 0.19 | true | blank | ACC004 | 2020-12-31T16:44:00Z | 25000 | CHF | blank | blank | Zurich | ZH | CH | online | false | DEV_ZH0982 | 56 | male |
| TXN1000005 | refund | 0.06 | false | 5942 | ACC005 | 2024-01-15T08:25:12Z | 75 | GBP | MRC4821 | BookWorld UK | London | LDN | GB | online | false | DEV_LON7 | 41 | female |
| TXN1000006 | deposit | 0.01 | false | blank | ACC006 | 2022-03-27T13:02:55Z | 4000 | USD | blank | blank | Chicago | IL | US | branch | false | blank | 65 | male |
| TXN1000007 | purchase | 0.1 | true | 5411 | ACC007 | 2023-11-21T19:31:45Z | 120.4 | JPY | MRC3785 | Tokyo Market | Tokyo | 13 | JP | POS | false | DEV_TYO18 | 36 | male |
| TXN1000008 | withdrawal | 0.08 | false | blank | ACC008 | 2022-05-15T07:12:31Z | 500 | USD | blank | blank | Miami | FL | US | ATM | false | blank | 53 | female |
| TXN1000009 | fee | 0.07 | false | 6011 | ACC009 | 2023-06-08T14:18:25Z | 220.15 | USD | MRCF001 | Bank Fee US | New York | NY | US | ATM | false | blank | 44 | male |
| TXN1000010 | payment | 0.11 | false | 5942 | ACC001 | 2024-04-23T09:53:22Z | 15.99 | USD | MRC7428 | Amazon US | Seattle | WA | US | online | false | DEV_SEA215 | 29 | male |
| TXN1000011 | purchase | 0.14 | false | 5941 | ACC010 | 2021-09-14T23:07:09Z | 110.5 | AUD | MRC9136 | Sydney Bikes | Sydney | NSW | AU | POS | false | DEV_SYD10 | 27 | female |
| TXN1000012 | fee | 0.04 | false | 6012 | ACC011 | 2020-05-19T20:59:45Z | 0 | USD | MRCF002 | Monthly Fee | Los Angeles | CA | US | ATM | false | blank | 38 | other |
| TXN1000013 | purchase | 0.09 | true | 5651 | ACC012 | 2022-12-24T11:11:11Z | 125 | EUR | MRC1820 | Paris Fashion | Paris | IDF | FR | POS | false | DEV_PAR12 | 24 | female |
| TXN1000014 | purchase | 0.07 | false | 5411 | ACC013 | 2021-10-02T18:45:13Z | 85.99 | INR | MRC9011 | Mumbai Mall | Mumbai | MH | IN | mobile | false | DEV_MUM2 | 19 | female |
| TXN1000015 | transfer | 0.27 | true | blank | ACC014 | 2022-09-29T06:48:00Z | 250000 | USD | blank | blank | New York | NY | US | online | true | DEV_NYTR1 | 62 | male |
| TXN1000016 | payment | 0.1 | false | 5815 | ACC015 | 2023-03-30T16:19:45Z | 42 | USD | MRC4923 | Spotify | San Jose | CA | US | online | false | DEV_SJ92 | 35 | female |
| TXN1000017 | purchase | 0.08 | false | 5411 | ACC016 | 2022-01-17T12:01:01Z | 64.8 | GBP | MRC5821 | Tesco UK | Manchester | ENG | GB | POS | false | DEV_MAN3 | 21 | female |
| TXN1000018 | withdrawal | 0.11 | false | blank | ACC017 | 2023-07-13T21:37:44Z | 300 | USD | blank | blank | Austin | TX | US | ATM | false | blank | 46 | male |
| TXN1000019 | fee | 0.03 | true | 6012 | ACC018 | 2021-12-10T03:42:12Z | 0 | USD | MRCF003 | Foreign Fee | Miami | FL | US | ATM | false | blank | 57 | female |
| TXN1000020 | purchase | 0.07 | true | 5812 | ACC019 | 2022-04-06T05:49:30Z | 23.45 | CNY | MRC1042 | Shanghai Eats | Shanghai | SH | CN | POS | false | DEV_SHA3 | 26 | male |
What the 200 rows show
from the 200-row sampleTransfer (transaction type) stands out: mean fraud_
- 24%is_
international = true - 0.08median fraud_
score - 4customer genders
- 5channels
- 9currencies
- 12location countries
Median 0.08, from 0.0 to 0.99.
- string 13
- integer 1
- float 2
- datetime 1
- boolean 2
Columns
19 columns in four groups| column | type | description | example |
|---|---|---|---|
| Text 13 columns | |||
transaction_id | string | Unique identifier for each bank transaction record.unique | TXN1000001 |
account_id | string | Unique identifier for the account involved in the transaction. | ACC001 |
currency | string | ISO 4217 currency code for the transaction (e.g., USD, EUR, GBP).9 currencies | USD |
transaction_type | string | Type of transaction (e.g., withdrawal, deposit, transfer, payment, purchase).8 values | purchase |
merchant_id | string | Unique identifier for the merchant or counterparty, if applicable.optional | MRC7192 |
merchant_name | string | Name of the merchant or counterparty, if available.optional | Best Electronics |
merchant_category_code | string | Merchant category code (MCC) indicating the type of merchant.optional | 5732 |
location_city | string | City where the transaction took place, if available.optional | San Francisco |
location_state | string | State or province where the transaction took place, if available.optional | CA |
location_country | string | Country where the transaction took place, if available.12 countries · optional | US |
channel | string | Channel through which the transaction was initiated (e.g., online, ATM, POS, mobile, branch).6 values | POS |
device_id | string | Identifier for the device used to initiate the transaction, if available.optional | DEV_SF1001 |
customer_gender | string | Gender of the account holder, if available.male · female · other · unknown · optional | male |
| Numbers 3 columns | |||
transaction_amount | float | Monetary amount of the transaction in the account's currency.0 or more | 52.47 |
fraud_score | float | Synthetic fraud risk score for the transaction, typically ranging from 0.0 (no risk) to 1.0 (high risk).0 to 1 | 0.05 |
customer_age | integer | Age of the account holder at the time of transaction, if available.0 or more · optional | 29 |
| Dates and times 1 column | |||
transaction_datetime | datetime | Date and time when the transaction occurred. | 2021-07-11T10:34:17Z |
| True or false 2 columns | |||
is_international | boolean | Indicates if the transaction is international (true) or domestic (false). | false |
is_fraud | boolean | Label indicating whether the transaction is fraudulent (true) or not (false). | false |
Use it for
A finance dashboard
The is_
international rate, fraud_ score by transaction_ type and a breakdown of merchant_ category_ code. Excel, Power BI or Tableau. Why do the 24 transfer rows have a mean fraud_
score of 0.28? A root-cause class exercise
Hand out the rows and one question. The answer is in the data, not in the brief.
- Transactions200TXN10000010.05purchaseTXN10000040.19transferTXN10000070.1purchase
A software demo
Believable transactions with account_
id, transaction_ datetime and transaction_ amount to fill a screen in front of a buyer.
blueprint · financial-transaction-fraud-scores
Behind this dataset
Same schema. As many rows as you need.
These 200 rows came out of a blueprint — 19 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 has unique account and merchant IDs
- Fraudulent transactions represent 2% of dataset
- High-value transactions occur less frequently
- Transaction geography provided at city level
1 credit per row. New accounts start with 25 free credits.
- Exports
- CSV, JSON, JSONL, Parquet, SQL, Excel, TSV, XML
- Licence
- yours to use, including commercially
- API slug
- financial-transaction-fraud-scores