Microtransaction Fraud Scenarios
This dataset provides detailed synthetic microtransaction logs, capturing both legitimate and fraudulent activities with realistic attack scenarios. It includes user, transaction, device, location, and fraud scenario fields, making it ideal for developing, benchmarking, and validating fraud detection models in financial microtransaction environments.
Sample rows
preview · 8 of 201 rows · all 19 columns| transaction_idstring | fraud_scenariostring | previous_fraud_count_30dinteger | is_fraudboolean | location_countrystring | user_idstring | timestampdatetime | transaction_typestring | amountfloat | currencystring | device_idstring | ip_addressstring | location_citystring | payment_methodstring | merchant_idstring | item_idstring | item_categorystring | user_account_age_daysinteger | previous_transactions_count_24hinteger |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TxA1-12cd3EFG | none | 0 | false | US | user_1002 | 2023-10-17T14:08:55Z | purchase | 47.29 | USD | dev_abc12345 | 98.112.56.21 | San Francisco | credit_card | merchant_1055 | item_4082 | electronics | 95 | 2 |
| TxB2-9fGh4JKL | none | 0 | false | DE | user_1018 | 2024-03-22T11:27:34Z | deposit | 32450.75 | EUR | dev_xyz9012 | 83.172.120.11 | Berlin | bank_transfer | merchant_2081 | blank | blank | 820 | 1 |
| TxC3-7kLm6OPQ | card_testing | 3 | true | IN | user_1050 | 2024-05-15T17:19:06Z | purchase | 8.99 | INR | dev_ind3456 | 14.192.16.101 | Delhi | prepaid | merchant_3044 | item_5564 | digital_content | 6 | 25 |
| TxD4-1mbn2RST | none | 0 | false | US | user_1027 | 2023-07-02T19:44:10Z | withdrawal | 5100 | USD | dev_usc9991 | 65.244.128.77 | Las Vegas | bank_transfer | merchant_1099 | blank | blank | 1435 | 0 |
| TxE5-3qPr8UVW | none | 0 | false | blank | user_1008 | 2022-12-09T09:03:22Z | transfer | 650 | CAD | blank | blank | blank | bank_transfer | blank | blank | blank | 233 | 1 |
| TxF6-0xYz1ABC | none | 0 | false | GB | user_1004 | 2023-05-18T15:35:20Z | purchase | 105.5 | GBP | dev_gb1234 | 192.168.98.11 | London | paypal | merchant_3011 | item_6677 | apparel | 60 | 2 |
| TxG7-5vBw2DEF | bot_activity | 17 | true | US | user_1059 | 2024-04-11T13:18:01Z | purchase | 0.01 | USD | dev_bot9981 | 0.0.0.0 | Miami | credit_card | merchant_9981 | item_test01 | test_item | 2 | 99 |
| TxH8-6wCr7GHI | none | 0 | false | CH | user_1032 | 2022-09-26T12:46:43Z | deposit | 1100 | CHF | blank | blank | Zurich | crypto | merchant_crypto01 | blank | crypto_asset | 725 | 0 |
| TxI9-4sDs9JKL | none | 0 | false | US | user_1020 | 2023-11-03T16:22:17Z | refund | 47.29 | USD | dev_refund12 | 102.16.8.254 | San Francisco | credit_card | merchant_1055 | item_4082 | electronics | 95 | 3 |
| TxJ10-8tEv6MNO | none | 0 | false | FR | user_1042 | 2024-01-23T22:13:12Z | purchase | 15.99 | EUR | dev_france01 | 185.34.21.55 | Paris | credit_card | merchant_2022 | item_3322 | books | 40 | 1 |
| TxK11-2vFw8PQR | card_testing | 7 | true | AU | user_1061 | 2024-05-21T10:41:29Z | purchase | 5 | AUD | dev_au9123 | 203.4.66.21 | Sydney | prepaid | merchant_9856 | item_9945 | digital_content | 9 | 22 |
| TxL12-3uGx2STU | none | 0 | false | US | user_1006 | 2023-03-15T08:24:53Z | deposit | 8800 | USD | dev_usa9812 | 66.23.144.199 | New York | bank_transfer | merchant_2012 | blank | blank | 1678 | 0 |
| TxM13-6wHy7VWX | none | 0 | false | blank | user_1045 | 2023-08-13T18:37:09Z | transfer | 400 | EUR | blank | blank | blank | bank_transfer | blank | blank | blank | 67 | 0 |
| TxN14-9vJz4YZA | none | 0 | false | GB | user_1009 | 2024-03-04T09:17:32Z | purchase | 62 | GBP | dev_london22 | 88.192.11.22 | London | paypal | merchant_3032 | item_7099 | books | 121 | 2 |
| TxO15-2bKx5BCD | bot_activity | 9 | true | IN | user_1051 | 2024-04-30T21:31:20Z | purchase | 0.99 | INR | dev_bot1011 | 0.0.0.0 | Mumbai | credit_card | merchant_1001 | item_test02 | test_item | 3 | 41 |
| TxP16-1cLy8EFG | none | 0 | false | US | user_1062 | 2024-05-03T06:28:40Z | purchase | 599 | USD | dev_usa8999 | 172.44.2.188 | New York | credit_card | merchant_4001 | item_5543 | electronics | 344 | 1 |
| TxQ17-5eMz3HIJ | none | 0 | false | CH | user_1031 | 2023-01-28T16:10:33Z | deposit | 1200 | CHF | blank | blank | Zurich | crypto | merchant_crypto02 | blank | crypto_asset | 1245 | 0 |
| TxR18-4uNw2KLM | none | 0 | false | JP | user_1015 | 2022-11-12T07:55:10Z | withdrawal | 7550 | JPY | dev_jpn2001 | 118.10.45.191 | Tokyo | bank_transfer | merchant_9102 | blank | blank | 1940 | 1 |
| TxS19-9rPx7NOP | none | 0 | false | US | user_1054 | 2024-02-19T11:51:16Z | purchase | 17.5 | USD | dev_usa8811 | 72.55.211.110 | Miami | paypal | merchant_5129 | item_4612 | books | 56 | 1 |
| TxT20-6fQw5QRS | card_testing | 15 | true | US | user_1057 | 2024-03-16T09:55:01Z | purchase | 4.99 | USD | dev_test109 | 0.0.0.0 | New York | credit_card | merchant_9982 | item_test03 | test_item | 1 | 71 |
What the 201 rows show
from the 201-row sampleNone (fraud scenario) stands out: mean previous_
- 20%is_
fraud = true - 0median previous_
fraud_ count_ 30d - 5transaction types
- 6payment methods
- 6item categories
- 9currencies
Median 0, from 0 to 17.
- string 13
- integer 3
- float 1
- datetime 1
- boolean 1
Columns
19 columns in four groups| column | type | description | example |
|---|---|---|---|
| Text 13 columns | |||
transaction_id | string | Unique identifier for each microtransaction eventunique | TxA1-12cd3EFG |
user_id | string | Unique identifier for the user performing the transaction | user_1002 |
transaction_type | string | Type of microtransaction (e.g., purchase, transfer, withdrawal, deposit)purchase · transfer · withdrawal · deposit · refund | purchase |
currency | string | ISO 4217 currency code for the transaction (e.g., USD, EUR)9 currencies | USD |
device_id | string | Identifier for the device used to perform the transactionoptional | dev_abc12345 |
ip_address | string | IP address from which the transaction was initiatedoptional | 98.112.56.21 |
location_country | string | Country where the transaction originated10 countries · optional | US |
location_city | string | City where the transaction originatedoptional | San Francisco |
payment_method | string | Payment method used for the transaction6 values | credit_card |
fraud_scenario | string | Type of fraud scenario detected (e.g., account_takeover, card_testing, bot_activity, none)5 values · optional | none |
merchant_id | string | Unique identifier for the merchant or service provideroptional | merchant_1055 |
item_id | string | Identifier for the item or service purchased (if applicable)optional | item_4082 |
item_category | string | Category of the item or service purchased6 categories · optional | electronics |
| Numbers 4 columns | |||
amount | float | Monetary value of the transaction0 or more | 47.29 |
user_account_age_days | integer | Age of the user's account in days at the time of transaction0 or more · optional | 95 |
previous_transactions_count_24h | integer | Number of previous transactions by the user in the past 24 hours0 or more · optional | 2 |
previous_fraud_count_30d | integer | Number of fraudulent transactions by the user in the past 30 days0 or more · optional | 0 |
| Dates and times 1 column | |||
timestamp | datetime | Date and time when the transaction occurred (UTC) | 2023-10-17T14:08:55Z |
| True or false 1 column | |||
is_fraud | boolean | Indicates if the transaction is fraudulent (true) or legitimate (false) | false |
Use it for
A finance dashboard
The is_
fraud rate, previous_ fraud_ count_ 30d by fraud_ scenario and a breakdown of location_ country. Excel, Power BI or Tableau. Why do the 160 none rows have a mean previous_
fraud_ count_ 30d of 0.03? A root-cause class exercise
Hand out the rows and one question. The answer is in the data, not in the brief.
- Transactions201TxA1-12cd3EFG0noneTxC3-7kLm6OPQ3card_tes…TxG7-5vBw2DEF17bot_acti…
A software demo
Believable transactions with user_
id, timestamp and transaction_ type to fill a screen in front of a buyer.
blueprint · microtransaction-fraud-scenarios
Behind this dataset
Same schema. As many rows as you need.
These 201 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.
- Transaction timestamps randomized
- Fraud labels applied with patterns
- Merchant categories diversified
- Transaction values range from cents to hundreds
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
- microtransaction-fraud-scenarios