Dataset
Financial transaction datasets of payment records for AI training
A financial transaction dataset is a payment-level log from the party that processed the payments: each attempt with its amount, currency, method, merchant category and authorization response, then the capture, settlement and any refund, chargeback or fraud report that followed. SourceX sources these records to a buyer's spec from established merchants, payment service providers and fintech platforms, with stable pseudonymous payer and merchant keys in place of card numbers and account details. Each dataset is de-identified and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- Payment-level logs with every authorization attempt, its response, the money movement after it and the confirmed outcome
- Typical systems
- Stripe, Adyen, Braintree, Checkout.com, Worldpay, Authorize.net, in-house gateways and fraud tools
- Typical history
- Specified by the buyer; outcome labels take months to mature, so the most recent period is the least reliable
- Modality
- Structured payment, attempt, settlement and dispute tables with an event timeline per payment
- Delivery formats
- Agreed per order; typically Parquet or JSONL per entity with shared keys, plus the response-code and reason-code lists
- Preparation
- Card numbers and bank details removed; payers and merchants replaced with keyed pseudonyms; amounts, times and locations coarsened as agreed
- Licensing
- Rights reviewed with the holder, whose privacy notice and processor and card scheme agreements your counsel should also read; permitted use set in the license
- Availability
- Sourced to your spec; supply is not guaranteed, and consumer-level payer data gets the closest review
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| payment_id | string | Pseudonymous key for one intended payment, shared by all of its attempts, captures, refunds and disputes. |
| payer_key | string | Keyed pseudonym for the payer, derived from the customer account or card fingerprint, so repeat behavior links without a card number. |
| merchant_key | string | Pseudonym for the merchant or sub-merchant, needed in platform and marketplace logs. |
| merchant_category | object | Merchant category code and the holder's own business-model tag, such as subscription, marketplace or digital goods. |
| amount | object | Amount in minor units with the presentment currency and, where they differ, the settlement currency and rate. |
| method | object | Card funding type, issuer country, wallet and token type, or the bank-debit or transfer scheme used. |
| channel | enum | E-commerce, in-app, card-present, mail or phone order, or merchant-initiated recurring charge. |
| risk | object | The risk score, the rules that fired and any manual review decision as they stood when the payment was made. |
| attempts | array | Every authorization attempt in order, each with its time and the parameters that changed since the previous one. |
| attempts[].route | string | Pseudonymous key for the acquirer or processor connection that carried the attempt, so fallbacks can be told from plain retries. |
| attempts[].response | object | Network response code and processor decline reason, with the address check, security-code check and 3-D Secure results. |
| settlement | object | Captured and settled amounts with dates, and the interchange, scheme and processor fees where the holder receives them. |
| post_events | array | Reversals, refunds, issuer fraud reports and disputes, each dated, with its reason code and the stage it reached. |
| outcome_labels | object | Confirmed outcomes such as fraud, dispute won or lost and recovered decline, with their sources and the date they were last updated. |
Field names from the table above; values are masked placeholders.
Example record
{
"payment_id": "pay_7f3a91c2",
"payer_key": "payer_c41d08",
"merchant_key": "mrc_0e52",
"merchant_category": { "mcc": "5411", "model": "ecommerce_grocery_delivery" },
"amount": { "value_minor": 8450, "currency": "USD", "settlement_currency": "USD" },
"method": { "type": "card", "funding": "debit", "issuer_country": "US", "wallet": null, "token_type": "network_token" },
"channel": "ecommerce",
"risk": { "score": 31, "rules_fired": ["new_device"], "review": null },
"attempts": [
{ "n": 1, "t": "2024-03-11T18:02:41Z", "route": "acq_a",
"response": { "status": "declined", "network_code": "05", "reason": "do_not_honor",
"avs": "match", "cvc": "match", "three_ds": "not_attempted" } },
{ "n": 2, "t": "2024-03-11T18:03:19Z", "route": "acq_b", "retry_of": 1, "changed": ["route", "three_ds"],
"response": { "status": "approved", "network_code": "00", "three_ds": "frictionless" } }
],
"settlement": { "captured_minor": 8450, "captured_at": "2024-03-12T15:20:00Z", "settled_on": "2024-03-13",
"fees_minor": { "interchange": 61, "scheme": 11, "processor": 30 } },
"post_events": [
{ "type": "refund", "t": "2024-03-20T09:14:00Z", "amount_minor": 2000, "reason": "item_damaged" }
],
"outcome_labels": { "fraud": "none_reported", "dispute": "none", "decline_recovered": true,
"sources": ["issuer_fraud_reports", "dispute_feed"], "labels_as_of": "2024-09-30" }
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Train fraud models on confirmed outcomes
Fraud reports, dispute results and review decisions tied to each payment give labels with a known source and date, not a single unexplained flag.
Reduce false declines
Refused attempts followed by an approved retry and a clean history show which refusals turned away good customers.
Model retries and routing
Sequences of decline code, wait, changed parameter and result let a model learn when a retry is worth sending and over which connection.
Train payment operations agents
An agent that explains why a payment failed or where a refund stands needs the timeline of attempts, captures and reversals, not the final status.
Build evaluation sets with held-out outcomes
Payments whose later dispute or fraud report is withheld make test items for risk scoring from the evidence at authorization.
Use-case guides: Finance and accounting agents, Enterprise and computer-use agents, Private evaluation sets
What makes this data valuable
Labels with a source
Each fraud or dispute label says where it came from: issuer report, dispute, manual review or customer claim.
Matured outcomes
The cut-off leaves time for disputes to arrive, and each label carries the date it became known.
Declines kept
Refused and abandoned attempts are present with their response codes, not only successful charges.
Attempts linked
Retries share a payment key and state what changed between attempts.
Stable payer keys
A payer keeps one pseudonym across methods and time, so velocity and history features can be built.
Decision-time risk fields
Scores and rule hits are stored as they were at authorization, not recomputed later.
Value drivers
Financial transaction
Confirmed outcomes are what public fraud sets lack
Much published fraud research trains on the same few public sets. One widely used card set publishes principal components in place of nearly all its original features, so nothing can be learned about merchants or methods. Another is produced by a simulator of mobile money transfers. A third, released for a competition, holds real online payments with the meaning of most columns masked. In each, the label is a fraud flag that does not separate an issuer's report from a dispute or an analyst's decision, or say when the outcome became known.
A processor's own log holds several different outcomes. An issuer fraud report is a message the card issuer sends through the card network to flag a payment it suspects is fraudulent, often before any dispute exists. Stripe exposes these as early fraud warnings. A dispute adds a reason code and, after the merchant responds, a won or lost result. A manual review records what an analyst concluded at the time. A refund issued after a fraud claim never becomes a dispute at all. The opposite error is recorded too: a payment blocked or refused, then approved minutes later for a customer who never caused a loss.
Three properties of these labels decide what a model can learn. They mature slowly, because a dispute can be filed months after the purchase, so the latest months of any extract look cleaner than they are. They exist only for approved payments, since a declined payment has no later outcome, which biases a model trained on labeled rows. And a fraud-coded dispute does not prove a stolen card, because cardholders also dispute purchases they made. Ask for every label with its source and the date it was known, not a merged flag.
Collapsing the authorization lifecycle removes retries and routing
The payments table in a finance report has one row per successful charge. Behind that row is a string of messages. An authorization request goes to the issuer and comes back approved or refused with a response code. A refused request may be sent again after a wait, with cardholder authentication added, or through a second acquirer. An approval is a hold, not money: it is captured later, in full, in part or across several shipments, or it is voided or left to expire. Settlement follows with fees and currency conversion, and a refund or dispute can reopen the payment much later.
Gateways store this shape directly. Stripe keeps one payment intent and creates a charge object for each attempt to move money, and Adyen's capture, refund and cancellation webhooks each carry the reference of the original payment. Response codes separate refusals that may succeed later, such as insufficient funds, from ones that will not, such as a closed account, while issuers use do not honor as a catch-all that explains little. Card networks also limit how many times a refused payment may be resubmitted, and a decline can carry a network advice code, which Mastercard calls a merchant advice code, saying whether a retry is permitted.
An extract built from the reporting layer usually drops this: failed attempts are filtered out, retries are merged into the successful charge and the route is not recorded. Retry timing, routing and decline recovery cannot be modeled from what remains, and a fraud model loses the card-testing bursts that show up only as runs of small refusals. Ask whether the source is the gateway's event or webhook log or a summarized table, and whether settlement dates follow the processor's cut-off or UTC.
What to check before licensing
- Scan a sample for payment credentials before anything else. There should be no full card numbers, security codes, magnetic-stripe or PIN data, bank account numbers or reusable gateway tokens.
- Ask how payer keys were made. A plain hash of a card number can be reversed by trying every possible number, so look for a keyed hash or a random identifier whose key stays with the holder.
- Have counsel review the holder's privacy notice and its processor, acquirer and card scheme agreements for limits on secondary use of transaction data, with the closest look at consumer-level payer records.
- Test re-identification risk on a sample. Exact amounts, timestamps to the second, card BIN, postal code and merchant together can single out a person, so agree which of them are coarsened.
- Ask for the label definitions: what counts as confirmed fraud, which dispute reason codes are included, how refunds issued on a fraud claim are marked, and when each label was last updated.
- Check label maturity by plotting the fraud and dispute rate by month. A drop in the final months usually means disputes had not arrived when the extract was cut.
- Compare the count of refused attempts with approved ones and confirm retries are linked. An extract with no declines came from a reporting table, not the gateway log.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
How is this different from public fraud detection datasets?
A processor log keeps the original fields and several separately sourced outcomes, which the usual public sets do not. Those sets are simulated or have their features transformed or masked, and each offers one fraud flag. A licensed processor log can be scoped to keep merchant category, method, response codes and the separate fraud report, dispute and review outcomes, where the holder recorded them.
Does the data include card numbers?
No. Card numbers, security codes and bank account details are removed or replaced before delivery, and funding type, issuer country and sometimes the BIN are usually enough for modeling. No de-identification method is perfect, so verify it on a sample. Gateway logs can hold stray card data in free-text and metadata fields, so ask how those fields were screened.
Are declined and retried payments included?
They can be, if you ask for the attempt-level log. Many holders keep declines only in the gateway's event history, and reporting tables often show successful charges alone. Specify that every attempt appears with its response code, time, route and a link to its payment, and ask from what date the holder kept that detail.
How are fraud and chargeback labels defined?
Each holder defines them its own way, so ask for the definitions with the data. Typical sources are issuer fraud reports, disputes with a fraud reason code, manual review decisions and refunds made after a fraud claim. A dispute result of won or lost says whether the merchant's evidence was accepted, which is not the same as whether fraud occurred.
Which payment methods are covered?
It depends on the holder. Card payments are the most common and usually the best labeled. Bank debits, transfers, wallets and installment products appear where the holder accepts them, each with its own failure records, such as a bank debit returned days after submission with a return reason code. State the methods and countries you need.
Can we license consumer-level transaction data?
Sometimes, after the closest review of any payments data. Records tied to an individual payer are personal data in many jurisdictions and may fall under financial privacy rules, and processor and card scheme agreements can restrict secondary use. Your counsel should confirm the holder's notice and contracts permit it. Merchant-level or aggregated extracts raise fewer questions and suit some tasks.
Related datasets
- ERP transaction histories across modules
One company's ERP documents across modules, with flow links, change logs, master data and the data dictionary
- Accounting and reconciliation workflows
Coded transactions, reconciliations and close records with reviewer corrections and approvals
- Treasury cash positions and cash forecasts
Daily bank balances, cash forecasts as issued, later actual flows and the treasury actions taken
- Chargeback and payment dispute cases
Dispute cases from claim to final ruling, with the order record, the submitted evidence files and each stage's decision
- Subscription billing and churn histories
Per-subscriber lifecycle records from a billing system: plan changes, invoices, payment attempts, dunning steps, cancellations and returns
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 25 November 2026.