Dataset
Subscription datasets of billing and churn histories for AI training
A subscription dataset is the lifecycle history a billing system keeps for each subscriber: plans and trials, upgrades, downgrades and pauses, renewals and invoices, failed payments with every retry, and cancellations with the stated reason and any save offer shown. SourceX sources these histories to a buyer's spec from established software, media and consumer subscription businesses, exported from the billing platform and the cancellation flow. Card and bank account numbers are removed before delivery, and each dataset is de-identified and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- Per-subscriber lifecycle records from a billing system: plan changes, invoices, payment attempts, dunning steps, cancellations and returns
- Typical systems
- Stripe Billing, Chargebee, Recurly, Zuora, Maxio, Paddle, App Store and Google Play subscription records, cancellation flow tools
- Typical history
- Specified by the buyer; ask for enough months that annual subscribers reach a renewal and returns after cancellation can be seen
- Modality
- Structured state and event records, with short free-text cancellation comments
- Delivery formats
- Agreed per order; typically JSONL per subscription, or Parquet tables for subscriptions, invoices, payment attempts and cancellation sessions
- Preparation
- Subscribers pseudonymized; card and bank account numbers removed; specify whether last four digits, expiry dates and card fingerprints are dropped too; comments screened
- Licensing
- One business's subscriber base per dataset; permitted use set in the license
- Availability
- Sourced to your spec; supply is not guaranteed, and some holders have billing history with no recorded cancellation flow
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| subscription_key | string | Pseudonymous subscription ID that invoices, payment attempts and cancellation sessions refer to. |
| subscriber | object | Pseudonymous customer key, stable across resubscriptions, with coarse attributes such as country, account type and signup month. |
| billing_channel | enum | Card, direct debit, invoice, app store or reseller, which decides who ran the retries and what the holder could see. |
| trial | object | Trial length, whether a payment method was on file, and whether the first paid invoice succeeded. |
| plan_changes | array | Dated changes of plan, quantity and billing interval, each marked upgrade, downgrade or interval switch. |
| status_history | array | Every status with its start date in the billing system's own vocabulary, such as trialing, active, past_due, paused and canceled. |
| invoices | array | One row per invoice with billing reason, period, amount, credits applied and final state: paid, void or uncollectible. |
| payment_attempts | array | Each charge attempt on an invoice with timestamp, result, the processor's decline code and whether it was a renewal or a retry. |
| dunning | object | Reminders sent, payment method updates, grace period and what the system did when retries ran out. |
| cancellation | object | Who initiated it, the path used, request and effective dates, the reason selected, the flow version and any comment. |
| save_offers | array | Each flow session's offer, the rule or experiment arm that assigned it, the response and the subscription's state when the offer ended. |
| churn_class | object | Voluntary, payment failure, dispute or staff action, with the field or rule the label was derived from. |
| return_events | array | Reactivations before the period ended and later resubscriptions, linked by subscriber key. |
Field names from the table above; values are masked placeholders.
Example record
{
"subscription_key": "sub_8c41e7",
"subscriber": {
"key": "cus_2f90b3",
"type": "consumer",
"country": "US"
},
"billing_channel": "direct_card",
"plan_changes": [
{
"at": "2022-03-19",
"plan": "standard_monthly",
"kind": "start"
},
{
"at": "2023-01-19",
"plan": "plus_monthly",
"kind": "upgrade",
"prorated": true
}
],
"status_history": [
{
"status": "active",
"from": "2022-03-19"
},
{
"status": "past_due",
"from": "2023-06-19"
},
{
"status": "active",
"from": "2023-06-27"
},
{
"status": "canceled",
"from": "2024-02-19"
}
],
"payment_attempts": [
{
"invoice": "inv_0612",
"at": "2023-06-19T08:02:11Z",
"result": "declined",
"decline_code": "insufficient_funds",
"trigger": "renewal"
},
{
"invoice": "inv_0612",
"at": "2023-06-22T08:02:40Z",
"result": "declined",
"decline_code": "insufficient_funds",
"trigger": "scheduled_retry"
},
{
"invoice": "inv_0612",
"at": "2023-06-27T14:31:05Z",
"result": "succeeded",
"trigger": "scheduled_retry"
}
],
"dunning": {
"reminders_sent": 2,
"payment_method_updated": false,
"result": "recovered"
},
"cancellation": {
"initiated_by": "subscriber",
"requested_at": "2024-02-11T09:15:30Z",
"path": "in_app_flow",
"reason_selected": "too_expensive",
"effective_at": "2024-02-19"
},
"save_offers": [
{
"session_at": "2023-11-02T19:44:10Z",
"reason_selected": "too_expensive",
"comment": "Only using it a couple of times a month now.",
"offer": "discount_50pct_3_cycles",
"assigned_by": "rule:reason=too_expensive",
"response": "accepted",
"offer_ended": "2024-02-19",
"state_at_offer_end": "canceled"
}
],
"churn_class": {
"label": "voluntary",
"derived_from": "cancellation.initiated_by"
}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Predict churn by type
Separate labels for chosen cancellation and unrecovered payment failure let a model learn each from its own signals.
Tune retry and dunning policy
Attempt-level records with decline codes and recovery results show which retry timing and reminders recovered which kinds of failure.
Train retention decisions
Sessions with reason, offer, response and later state show a support agent which offer to make, and when to let a subscriber go.
Forecast recurring revenue
Dated plan changes, pauses, recoveries and returns rebuild monthly movements: new, expansion, contraction, churn and reactivation.
Build point-in-time evaluations
Cut each history at a renewal date, ask whether a failed invoice was recovered or a subscriber was still paying after a save offer ended, and grade against what happened.
Use-case guides: Finance and accounting agents, Customer support agents, Enterprise and computer-use agents, Private evaluation sets
What makes this data valuable
Attempt-level payments
Every charge attempt is kept with its decline code, not only the invoice's final state.
Request and effective dates
The day the subscriber canceled and the day access ended are both recorded; on annual plans they can be months apart.
Raw statuses with settings
Statuses stay in the system's own words, with the dated setting for what happens when retries run out.
Sessions that did not cancel
Abandoned flows and accepted offers are included, not only completed cancellations.
Offer assignment on record
Each offer names the rule or experiment arm that chose it.
Stable subscriber keys
A person who returns under a new subscription ID keeps one key.
Record timeline
Subscription dataset
Churn is two events, and the retry log tells them apart
A churned flag merges at least two events. In one, the subscriber decides to leave: they open account settings, cancel, and usually keep access to the end of the period they paid for. In the other, a renewal charge is declined, retried and never recovered, and the billing system ends the subscription by rule. That subscriber may have decided nothing: the card expired, was reissued after fraud, or the balance was short that day. The first event is about the product and its price. The second is a payments problem with other causes and other fixes. A model trained on the merged flag learns a blend, and can read a card's expiry month as dissatisfaction.
The final status rarely separates them. In Stripe both can end as canceled; the difference is in cancellation_details.reason, which reads cancellation_requested, payment_failed or payment_disputed where it was populated, and otherwise in the invoice's payment attempts. Even then, cancellation_requested covers any explicit cancellation through the API or the Dashboard, so a subscriber's own click and a support agent's action share one value. What happens after the last retry is an account setting: cancel the subscription, mark it unpaid, leave it past_due or pause it. The same failure therefore produces different statuses at different companies, and at one company before and after the setting changed. Vocabulary differs too: Recurly uses canceled for a subscription that will not renew but runs to its renewal date, and expired once it has ended. Chargebee calls that first state non_renewing. App stores run the retries themselves. Apple's server notifications give an expiry a subtype that separates a subscriber who turned off renewal from a billing retry that ran out. Ask what the holder kept from each store beyond those states.
Dunning records settle most cases: each attempt with its time and decline code, each reminder, any payment method update and whether the invoice was finally paid. They also expose cases a two-way label hides. A recovered failure is not churn, although it leaves a past_due gap in the status history. A subscriber who cancels while already past due belongs to both groups. And some people let a card fail on purpose instead of canceling, which no billing record can prove. Ask for the holder's classification rule and the raw attempts, so you can draw the line yourself.
The cancellation flow is an intervention record
Many subscription businesses route the cancel button through a flow. It asks for a reason, then shows an offer, such as a discount, a pause, a cheaper plan or a longer trial, and only then confirms. Each session records the reason selected, the offer shown and the response. That is more than a churn label. It records a decision the business made about a subscriber in a known state, with the result attached. Flows run in the billing platform's customer portal, in a dedicated cancellation tool or in the product itself, where the sessions may sit in product analytics and not in billing.
The outcomes are finer than saved or lost. A subscriber can accept a discount and stay. They can accept it and cancel at the first full-price renewal, which only delays the loss. They can pause and resume, or pause and never return. They can decline, cancel and resubscribe months later. They can open the flow and leave without canceling, a session no billing table records. Telling these apart takes billing history that runs past the end of the offer. A saved flag written when the session closed overstates what the offer achieved.
Three limits apply. Offers are rarely assigned at random. Rules key on the selected reason, the plan or the tenure, so acceptance rates compare different populations unless an experiment ran and its arms were logged. Reasons are shaped by the form: option order, a required field, an Other choice, and subscribers who learn that choosing the price reason brings up a discount. And the flow covers only people who used it. Those who canceled through support, in app store settings, by letting a card fail or by disputing a charge never saw it. Ask for flow versions with dates, the assignment rule for each, and the sessions that did not end in cancellation.
What to check before licensing
- Confirm that payment credentials are excluded: card and bank account numbers, and also last four digits, expiry dates, card fingerprints and mandate references, which can link a subscriber across datasets.
- Check how subscribers were de-identified, and whether exact timestamps, small countries or rare plans could single a person out. Confirm that business subscribers' company names and tax IDs were removed.
- Read a sample of free-text cancellation comments. People write names, email addresses, health and money troubles into them, so ask how they were screened for personal details.
- Ask where the history came from: stored webhook events, warehouse snapshots or the billing API's current objects. Current objects show the last state only, and an API may serve only recent events.
- Get the holder's written definition of each churn class and test it on a sample against the raw payment attempts.
- Ask how test-mode data, staff accounts, fraud cancellations and subscriptions migrated from an earlier billing system are flagged.
- Confirm which app store notifications were kept, and that the holder's terms and privacy notice allow de-identified records to be shared.
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
What is the difference between voluntary and involuntary churn in the data?
Voluntary churn is a subscriber canceling; involuntary churn is a subscription ended because a payment failed and was never recovered. Billing systems often give both the same final status. The difference is in who initiated the cancellation and in the payment attempts on the last invoice.
Are decline codes included?
Where the holder's processor returned them, yes. Card billing systems store a decline code with each failed attempt, such as insufficient_funds or expired_card. Treat them with care, because issuers return a generic refusal for many causes. App store subscriptions are different: the store handles payment and retries, so ask what the holder kept beyond the states the store reported.
Does the dataset contain payment card or bank data?
It should not, and you should verify that on the sample. Billing platforms typically hold tokens, the last four digits, card brand, expiry and a card fingerprint, not full numbers. Even those partial values can link a person across sources, so specify that they are excluded or reduced to a coarse attribute such as card brand.
How is this different from a customer success or CRM dataset?
It records what the billing system did, not what an account team wrote. Customer success and CRM records describe managed accounts through notes, health scores and renewal opportunities. Billing histories cover every subscriber, including self-serve ones nobody spoke to, as dated states, charges and cancellation sessions.
Are cancellation reasons reliable labels?
They are reliable as a record of what was selected, and weaker as a record of why someone left. The answer depends on the options offered, their order and whether one of them triggers a discount, and reasons exist only for subscribers who used the flow. Ask for the form as it looked on each date.
How much history should a request specify?
Enough to see outcomes resolve. Annual subscribers show their decision only at renewal, an accepted discount has to run out before you know whether it worked, and returns can come months after a cancellation. State the period, the plan intervals and the minimum follow-up after each cancellation.
Related datasets
- Pricing and packaging histories
One company's price and plan changes over time, each with its proposal, rollout rules, customer notice and measured result
- Customer success and renewal records
Post-sale account records: health scores, notes, success plans, reviews, risk flags and renewal outcomes
- Sales CRM pipeline histories
Opportunity histories with stage changes, logged activities and won or lost outcomes
- Accounting and reconciliation workflows
Coded transactions, reconciliations and close records with reviewer corrections and approvals
- Web and product analytics events
Event-level logs from a first-party site or app, with the tracking plan and keys to business outcomes
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.