Finance Credit Card Spend Analysis

This dataset provides granular credit card transaction records, including customer demographics, card details, merchant information, and transaction metadata. It is ideal for banks and fintechs seeking to analyze spending patterns, segment customers, and model risk, enabling data-driven product design and market research.

  • last updated 20 Aug 2025
  • by GoMask
The brief that made it

Credit card spend pattern analysis for product development

Sample rows

preview · 8 of 200 rows · all 22 columns
transaction_idstringcustomer_income_bracketstringcustomer_ageintegeris_internationalbooleanmerchant_categorystringcustomer_idstringcard_idstringtransaction_datetimedatetimetransaction_amountfloatmerchant_namestringmerchant_citystringmerchant_statestringmerchant_countrystringtransaction_typestringcard_typestringcustomer_genderstringcustomer_segmentstringtransaction_currencystringcard_issuer_bankstringtransaction_statusstringcustomer_postal_codestringcustomer_countrystring
TXN000001low22falsegroceriesCUST0001CARD00012024-06-01T09:42:18120.5FreshMarketNew YorkNYUSApurchaseVisafemalestudentUSDChasecompleted10013USA
TXN000002medium27truediningCUST0002CARD00022024-06-01T16:37:04350UrbanBistroLondonLDNGBRpurchaseMasterCardmalestandardGBPBarclayscompletedW1D4FAUSA
TXN000003medium33falseretailCUST0003CARD00032024-06-02T10:10:2945.75QuickMartChicagoILUSApurchaseVisafemalestandardUSDBank of Americacompleted60611USA
TXN000004medium33falseretailCUST0004CARD00042024-06-02T18:25:47-65.3QuickMartChicagoILUSArefundVisafemalestandardUSDBank of Americacompleted60611USA
TXN000005high51truetravelCUST0005CARD00052024-06-03T11:55:032500FlyHighAirDubaiDUAREpurchaseAmexmalepremiumAEDEmiratesNBDcompleted10123USA
TXN000006medium40truegroceriesCUST0006CARD00062024-06-03T12:44:21510.2GreenGrocerBerlinBEDEUpurchaseMasterCardfemalestandardEURDeutscheBankcompleted10178USA
TXN000007medium26truediningCUST0007CARD00072024-06-04T09:16:2286CafeParisParisIDFFRApurchaseVisaotherstudentEURBNPParibascompleted75006USA
TXN000008low21falseretailCUST0008CARD00082024-06-04T13:27:1244.99UrbanThreadsTorontoONCANpurchaseVisafemalestudentCADRoyalBankcompletedM5V3C6CAN

What the 200 rows show

from the 200-row sample

High (customer income bracket) stands out: mean customer_age is 68.0, against 31.7 for the rest.

  • 57%is_international = true
  • 36median customer_age
  • 3card types
  • 3customer segments
  • 3transaction statuses
  • 4transaction types
Mean customer_age by customer_income_bracket200 rows
0408021.3low34 rows34.6medium115 rows68.0high48 rows40.0unknown3 rows
customer_age200 rows, in bands of 20
0551109106552163060120customer_age →

Median 36, from 18 to 120.

merchant_category198 rows with a value · 2 left blank
  1. groceries48
  2. retail36
  3. dining21
  4. travel19
  5. entertainment14
  6. healthcare14
  7. electronics13
  8. automotive11
  9. jewelry10
  10. utilities10
22 columns by typefrom the column list below
  • string 18
  • integer 1
  • float 1
  • datetime 1
  • boolean 1

Columns

22 columns in four groups
blueprint · 22 columns
columntypedescriptionexample
Text 18 columns
transaction_idstringUnique identifier for each credit card transactionuniqueTXN000001
customer_idstringUnique identifier for the customer making the transactionCUST0001
card_idstringUnique identifier for the credit card usedCARD0001
merchant_categorystringCategory of the merchant (e.g., groceries, travel, dining)12 categoriesgroceries
merchant_namestringName of the merchant where the transaction occurredoptionalFreshMarket
merchant_citystringCity where the merchant is locatedoptionalNew York
merchant_statestringState or region where the merchant is locatedoptionalNY
merchant_countrystringCountry where the merchant is located11 countries · optionalUSA
transaction_typestringType of transaction (e.g., purchase, cash advance, refund)purchase · cash_advance · refund · paymentpurchase
card_typestringType of credit card used (e.g., Visa, MasterCard, Amex)3 typesVisa
customer_genderstringGender of the customermale · female · other · prefer_not_to_say · optionalfemale
customer_income_bracketstringIncome bracket of the customer (e.g., low, medium, high)low · medium · high · unknown · optionallow
customer_segmentstringSegment classification of the customer (e.g., premium, standard, student)3 segments · optionalstudent
transaction_currencystringCurrency code used in the transaction (e.g., USD, EUR)9 currenciesUSD
card_issuer_bankstringName of the bank or institution that issued the credit cardoptionalChase
transaction_statusstringStatus of the transaction (e.g., completed, pending, declined)completed · pending · declined · reversedcompleted
customer_postal_codestringPostal code of the customer's primary addressoptional10013
customer_countrystringCountry of the customer's primary address7 countries · optionalUSA
Numbers 2 columns
transaction_amountfloatTotal amount spent in the transaction0.01 or more120.5
customer_ageintegerAge of the customer at the time of transaction18 to 120 · optional22
Dates and times 1 column
transaction_datetimedatetimeDate and time when the transaction occurred2024-06-01T09:42:18
True or false 1 column
is_internationalbooleanIndicates if the transaction was made outside the cardholder's home countryoptionalfalse

Use it for

  • is internation…57%115 of 200 rowsmean customer age by …21.3low34.6medi…68.0high40.0unkn…

    A finance dashboard

    The is_international rate, customer_age by customer_income_bracket and a breakdown of merchant_category. Excel, Power BI or Tableau.

  • Why do the 48 high rows have a mean customer_age of 68.0?

    A root-cause class exercise

    Hand out the rows and one question. The answer is in the data, not in the brief.

  • A software demo

    Believable transactions with customer_id, card_id and transaction_datetime to fill a screen in front of a buyer.

Not quite right?

Make it yours.

Same 22 columns, your size and your rules. See 20 rows before you pay.

Preview 20 rows free

1,000 rows: $1.99 · 10,000: $12.99One-time. No subscription. All prices

This dataset200 rows22 columns
Yours1,000 rows22 columnsmerchant_city: UK only

blueprint · finance-credit-card-spend-analysis

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.

Rules it was built with
  • Classify spend by merchant category
  • Track monthly spend per customer
  • Identify high-value transaction clusters
  • Flag unusual spend spikes
Rows
Open the blueprint in Data Factory

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
finance-credit-card-spend-analysis

What should your data show?

Preview 20 rows free
No signup. No card.