Dataset
Stripe payment and billing datasets for AI training
A Stripe dataset is an export of one merchant's Stripe account: customers, payment intents and their charge attempts with outcome and decline detail, refunds, disputes with submitted evidence, balance transactions that state gross, fee and net, payouts, and for subscription businesses the products, prices, subscriptions and invoices. SourceX sources it to a buyer's spec from established businesses that take payments through Stripe. Each dataset is de-identified, including customer and card details, and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- One merchant account's payment intents and charge attempts with outcomes, refunds, disputes, balance transactions with fees, payouts and, where used, subscriptions and invoices
- Typical systems
- Stripe Payments with Radar outcomes, Stripe Billing subscriptions and invoices, and the account's stored webhook events, Sigma queries or Data Pipeline tables
- Typical history
- Objects usually reach back to the account's start; the API serves Events for 30 days, so older change history needs the merchant's stored webhooks. Specify the years and object types you need
- Modality
- Structured JSON objects with short description, reason and message strings
- Delivery formats
- JSONL per payment intent or per object type as the API returns it, or Sigma and Data Pipeline tables as CSV or Parquet, with the API version stated
- Preparation
- Customer emails, names, addresses and IPs removed or pseudonymized; last4 and expiry removed; fingerprints re-tokenized; metadata reviewed key by key; dispute evidence redacted
- Licensing
- Scoped per Stripe account, object types, payment methods and date range; permitted use agreed per license
- Availability
- Sourced to your spec; event history depends on what the merchant stored, and supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| account_ref | string | A token for the merchant's Stripe account, with its country, default currency and the API version the export was rendered in. |
| payment_intent | object | PaymentIntent: ID token, amount, currency, status, capture_method, created time and cancellation_reason. |
| charges | array | Every Charge under the PaymentIntent in created order: status, paid, captured, amount_captured, amount_refunded, failure_code and failure_message. |
| charges[].outcome | object | Charge.outcome: type, network_status, reason (the Stripe decline code on issuer declines), network_decline_code, seller_message and risk_level, with risk_score only on accounts with Radar for Fraud Teams. |
| charges[].payment_method_details | object | Card brand, funding, country, wallet, checks and three_d_secure from the Charge, with last4 and expiry removed. |
| card_fingerprint_token | string | A re-tokenized form of the card fingerprint on the Charge, stable for one card number within the account. |
| customer_token | string | One pseudonym for the Customer object across payments, invoices and subscriptions, with its created date. |
| refunds | array | Refund objects for the Charge: amount, reason, status, failure_reason and created time. |
| disputes | array | Dispute objects: reason, status, amount, evidence_details with due_by and submission_count, and redacted evidence text. |
| balance_transactions | array | BalanceTransaction rows for each money movement: type, reporting_category, amount, fee, net, fee_details, created and available_on. |
| payout | object | The Payout the funds were swept into: amount, arrival_date, status, the automatic flag and reconciliation_status. |
| invoice | object | The Invoice behind the payment where Billing is used: billing_reason, status, attempt_count, status_transitions and lines with Price, quantity, period and proration. |
| subscription | object | The Subscription in its current state: status, items with Product and Price, current period, cancel_at_period_end, canceled_at and cancellation_details. |
| events | array | Event objects the merchant stored: type, created, api_version, the data.object snapshot and previous_attributes. |
Field names from the table above; values are masked placeholders.
Example record
{
"account_ref": "acct_tok_19e2",
"payment_intent": {
"id": "pi_tok_7Hq2",
"amount": 4900,
"currency": "usd",
"status": "succeeded",
"created": 1714557602
},
"charges": [
{
"id": "ch_tok_a1",
"created": 1714557603,
"status": "failed",
"paid": false,
"failure_code": "card_declined",
"outcome": {
"type": "issuer_declined",
"network_status": "declined_by_network",
"reason": "insufficient_funds",
"risk_level": "normal"
},
"payment_method_details": {
"brand": "visa",
"funding": "debit",
"country": "US"
}
},
{
"id": "ch_tok_a2",
"created": 1714816804,
"status": "succeeded",
"paid": true,
"amount_captured": 4900,
"outcome": {
"type": "authorized",
"network_status": "approved_by_network",
"risk_level": "normal"
}
}
],
"card_fingerprint_token": "fp_tok_c81d",
"customer_token": "cus_tok_44b0",
"refunds": [],
"disputes": [],
"balance_transactions": [
{
"type": "charge",
"reporting_category": "charge",
"amount": 4900,
"fee": 165,
"net": 4735,
"fee_details": [
{
"type": "stripe_fee",
"amount": 165
}
],
"available_on": 1714953600
}
],
"payout": {
"id": "po_tok_5c",
"amount": 311840,
"arrival_date": 1715040000,
"automatic": true,
"status": "paid",
"reconciliation_status": "completed"
},
"invoice": {
"billing_reason": "subscription_cycle",
"status": "paid",
"attempt_count": 2,
"lines": [
{
"price": "price_tok_pro_monthly",
"quantity": 1,
"amount": 4900,
"proration": false,
"period": {
"start": 1714521600,
"end": 1717200000
}
}
]
},
"subscription": {
"status": "active",
"cancel_at_period_end": false
}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Recover failed payments
Failed Charges with decline reasons, followed by the retries that worked or did not, train retry timing and dunning models.
Reconcile deposits to orders
Payouts broken into balance transactions with fees are worked examples for cash reconciliation agents.
Predict and answer disputes
Dispute reasons, submitted evidence and won or lost statuses show which responses succeed for which reason.
Model subscription revenue and churn
Invoices, prorations and cancellation details give billed amounts by period and the reason a customer left.
Evaluate billing support agents
A customer's payments, invoices and refunds are ground truth for questions such as why a card was charged twice.
Use-case guides: Finance and accounting agents, Customer support agents, Enterprise and computer-use agents, Private evaluation sets
What makes this data valuable
All attempts kept
Every Charge under a PaymentIntent is present, failed ones included.
Outcome detail intact
Failed Charges keep failure_code and the outcome object, not only a failed flag.
Payouts reconcile
For standard automatic payouts, the net of the listed balance transactions equals the payout amount, and amount minus fee equals net.
Stored events available
Webhook Events cover the period, with previous_attributes and API version.
Metadata reviewed
Each metadata key is listed with what was done to it.
Test data excluded
Objects with livemode false are removed.
Value drivers
Stripe dataset
One account holds the chain from checkout attempt to bank deposit
Stripe models a purchase as a PaymentIntent and each try to complete it as a Charge. A customer whose first card is refused and second card works leaves one PaymentIntent with two Charges. The failed one keeps a failure_code, a failure_message and an outcome object saying whether the issuer declined it, Stripe blocked it or the request was invalid, with a network_status, a risk_level and a reason, which on an issuer decline is Stripe's decline code, such as expired_card. Its payment_method_details hold card brand, funding, country, the CVC and postal code checks and the 3D Secure result. Accounts that predate PaymentIntents also hold Charges created directly, so attempt grouping can change partway through one merchant's history.
Money is tracked in a separate object. Each Charge that succeeded, and each Refund, Dispute and Payout, points to a BalanceTransaction that states amount, fee and net, itemizes the fee in fee_details and gives a reporting_category and an available_on date. An opened dispute withdraws the disputed amount and a dispute fee as a balance transaction, and a win adds another that returns the amount. Fee refunds vary by country and contract. The balance transactions swept into a Payout can be listed, so a bank deposit decomposes into its charges, refunds and fees. Two limits apply. Only standard automatic payouts support that listing (reconciliation_status reads not_applicable on the rest), and the fee is what Stripe charged, so ask whether the pricing plan shows card network costs separately.
A Subscription generates an Invoice each period, Stripe creates a PaymentIntent when the Invoice is finalized, and each collection attempt is a Charge, so a renewal that failed twice and then recovered is one invoice with three charges. The path from Invoice to PaymentIntent differs by API version. Invoice lines name the Price, quantity, period and whether the line is a proration, and status_transitions date when the invoice was finalized, paid or voided. A PaymentIntent created directly through the API carries an amount, a description and whatever the merchant wrote into metadata, so what was sold may not be in the account at all.
The API returns each object as it is now, and the Event stream expires
A Stripe API export is a set of current objects. A Subscription shows today's status, items and period, and a Dispute its latest status and the evidence last submitted. Each change did produce an Event, such as customer.subscription.updated or charge.dispute.closed, holding a snapshot of the object and the previous_attributes that changed, but Stripe's API serves an Event for only 30 days. Older step-by-step history exists only where the merchant stored the webhook payloads it received. Ask for that store's date range and whether it holds snapshot events, not thin notifications. Stored events can repeat, arrive out of order, and keep the API version in force when created, so one store can hold several object shapes.
Some history survives without events, because Stripe appends more than it overwrites. Charges, Refunds, Invoices and BalanceTransactions persist with created timestamps, so a subscription's price and quantity by period can be rebuilt from invoice lines, and its payment failures from charges. What cannot be rebuilt is a change that left no invoice or charge: a trial extension, a cancellation scheduled and then withdrawn, or time in paused status, which generates no invoices. Of its own past, the Subscription keeps start, trial and cancellation timestamps, cancellation_details and, in some API versions, more status detail.
Stripe returns brand, last4, expiry, funding, country and a fingerprint, never the card number. The fingerprint is the same for one card number across customers within an account, which exposes card testing and repeat disputers, and makes it an identifier to re-tokenize. For wallet payments it may identify the tokenized number, not the card. Personal data sits in billing_details, receipt_email, shipping, the Customer, descriptions, metadata keys the merchant invented, and dispute evidence, a file on one named customer. To test a sample, sum several automatic payouts' listed balance transactions against the payout amounts, confirm failed Charges are present, and list every metadata key. Amounts are integers in the currency's smallest unit, and objects with livemode false are test data.
What to check before licensing
- Have the data owner and your counsel check the Stripe services agreement and Stripe's terms on API use and exported data before the extract is assembled.
- Confirm that the account owner's customer-facing privacy terms allow this use of its customers' payment records.
- Confirm that customer emails, names, addresses, phone numbers and IP addresses are removed or pseudonymized in Customer, billing_details, shipping, receipt_email and description fields.
- Ask for a list of every metadata key on each object type and what was done with it, since merchants store order numbers, user IDs and emails there.
- Check that last4 and expiry are removed, that fingerprints are re-tokenized, and that dispute evidence text and files are redacted or excluded.
- For several payouts whose reconciliation_status is completed, sum the net of the listed balance transactions against the Payout amount, and check that amount minus fee equals net.
- Ask whether stored webhook Events exist, for which dates and API versions, and whether failed Charges and test mode objects are in the extract.
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
Does a Stripe dataset include declined payments?
Yes, when it is taken from the API objects. A failed attempt is a stored Charge with a failure_code, a failure_message and an outcome that tells an issuer decline from a block by Stripe. Exports filtered to successful payments leave them out, and attempts the merchant's own checkout stopped before calling Stripe were never recorded there.
How far back does subscription and dispute history go?
Objects go back to the account's first transaction, but the step-by-step record does not. Stripe's API serves the Events that logged each change for 30 days, so older transitions exist only if the merchant stored its webhook events. Invoices and charges still show what was billed and paid each period.
What card data does a Stripe export contain?
Only descriptors, never the card number or CVC. A Charge shows the brand, last four digits, expiry month and year, funding type, issuing country, wallet type and a fingerprint that identifies the card number within that account. Last four, expiry and fingerprint should be removed or re-tokenized before delivery, since together they can single out a cardholder.
Can fees and payouts be reconciled to individual payments?
Yes, through BalanceTransaction. Each charge that succeeded, and each refund and dispute, has a balance transaction stating amount, fee and net, and for standard automatic payouts the balance transactions in each Payout can be listed. Manual and instant payouts are not itemized that way. Ask which pricing plan applied, since that decides how much fee detail exists.
Are Stripe Connect platform accounts in scope?
They can be, but scope them separately. A platform's account also holds connected accounts, application fees and transfers, and payments may sit on the connected account, not the platform. Who can license those records depends on the platform's agreements with its sellers. Say in your request whether you need a direct merchant account, a platform, or both.
Is SourceX affiliated with Stripe?
Stripe is named to identify the system the records come from. That does not imply a partnership with or endorsement by Stripe. The records belong to the business that runs Stripe, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.
Related datasets
- Payment and card transaction records
Payment-level logs with every authorization attempt, its response, the money movement after it and the confirmed outcome
- Subscription billing and churn histories
Per-subscriber lifecycle records from a billing system: plan changes, invoices, payment attempts, dunning steps, cancellations and returns
- 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
- Adyen payment and settlement records
Payments with authorization results, the modification and dispute events tied to each, and settlement rows per payment with interchange, scheme fees, markup and commission
- Chargebee subscription billing records
A Chargebee site's subscriptions, catalog, invoices with dunning attempts, credit notes, gateway transactions, coupons, quotes and events
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 26 November 2026.