Skip to content

Dataset

Recharge subscription and charge record datasets for AI training

A Recharge dataset is an export of the Subscriptions, Charges, Orders, Onetimes, Discounts, Events and cancellation reasons held in a merchant's Recharge account, the subscription billing layer that runs beside a Shopify or BigCommerce store. SourceX sources it to a buyer's spec from established businesses that run Recharge. A spec can ask for each subscription with the charges attempted against it, the orders those charges produced and the reason recorded when it ended. Each dataset is de-identified, with customer contact, address and payment method fields removed, and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
Subscriptions with product, price and frequency, the charges attempted against them, the orders created and cancellation reasons from one merchant's Recharge account
Typical systems
Recharge on a Shopify or BigCommerce store, with the customer portal, Failed Payment Recovery, Bundles and prepaid subscriptions where used
Typical history
Specified by the buyer; charge records can run back to the merchant's start on Recharge, change history only as far as events were saved
Modality
Structured subscription, charge, order and event records with short free-text cancellation comments
Delivery formats
Agreed per order; JSONL per subscription with nested charges, or Parquet tables for subscriptions, charges, line items, orders and events
Preparation
Customer contacts, addresses, portal hashes, IP addresses, card details, PayPal emails and processor tokens removed or replaced with keys; comments scrubbed
Licensing
Rights reviewed per merchant; permitted use set in the license; vendor terms checked by the buyer and the data owner
Availability
Sourced to your spec from merchants that agree; supply is not guaranteed
Structured recordsIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
subscription_keystringPseudonymous key made from the Subscription id, the value a Charge line item refers to as purchase_item_id.
customer_keystringPseudonymous key for the Customer, replacing its email, portal hash and external customer id.
address_keystringKey for the Address the Subscription sits on, the level at which Recharge builds and merges Charges.
productobjectThe Subscription's product_title, variant_title and sku as they stand now.
scheduleobjectThe Subscription's order_interval_unit, order_interval_frequency and charge_interval_frequency, with is_prepaid.
pricedecimal stringThe Subscription's current item price before discounts, tax and shipping.
statusenumThe Subscription status: active, cancelled or expired, where expired means its set number of charges was reached.
next_charge_scheduled_atdateThe date Recharge takes from the Subscription's queued Charge, or null once the subscription has ended.
cancellationobjectThe Subscription's cancelled_at, cancellation_reason and cancellation_reason_comments, with the max_retries_reached flag.
chargesarrayEvery Charge with a line item for this subscription: type of checkout or recurring, status, scheduled_at, processed_at and any Discount applied.
charges[].failureobjectFor a Charge in error, its error_type, the processor's error text, charge_attempts, the last attempt time and retry_date.
charges[].ordersarrayThe Orders created from the Charge, each with type, status and is_prepaid.
eventsarrayEvents for the subscription where the merchant kept them: verb, origin, time and updated_attributes.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "subscription_key": "sub_5f2a91",
  "customer_key": "cus_0c77",
  "address_key": "adr_0c77_1",
  "product": {
    "product_title": "House Blend Whole Bean",
    "variant_title": "12 oz"
  },
  "schedule": {
    "order_interval_unit": "week",
    "order_interval_frequency": 4,
    "charge_interval_frequency": 4,
    "is_prepaid": false
  },
  "price": "16.00",
  "status": "cancelled",
  "next_charge_scheduled_at": null,
  "cancellation": {
    "cancelled_at": "2025-01-14T15:02:11Z",
    "cancellation_reason": "I have too much product",
    "cancellation_reason_comments": "Still working through the last two bags. Will come back in summer.",
    "max_retries_reached": false
  },
  "charges": [
    {
      "charge_key": "ch_901",
      "type": "checkout",
      "status": "success",
      "scheduled_at": "2024-10-08",
      "processed_at": "2024-10-08T17:40:03Z",
      "orders": [
        {
          "order_key": "ord_3301",
          "type": "checkout",
          "status": "success",
          "is_prepaid": false
        }
      ]
    },
    {
      "charge_key": "ch_944",
      "type": "recurring",
      "status": "skipped",
      "scheduled_at": "2024-11-05",
      "orders": []
    },
    {
      "charge_key": "ch_1012",
      "type": "recurring",
      "status": "success",
      "scheduled_at": "2024-12-10",
      "original_scheduled_at": "2024-12-03",
      "processed_at": "2024-12-10T09:12:44Z",
      "merged_with": [
        "sub_5f2b07"
      ],
      "orders": [
        {
          "order_key": "ord_3877",
          "type": "recurring",
          "status": "success",
          "is_prepaid": false
        }
      ]
    },
    {
      "charge_key": "ch_1077",
      "type": "recurring",
      "status": "error",
      "scheduled_at": "2025-01-07",
      "failure": {
        "error_type": "CUSTOMER_NEEDS_TO_UPDATE_CARD",
        "charge_attempts": 3,
        "last_charge_attempt": "2025-01-13T09:05:20Z",
        "retry_date": "2025-01-16T09:00:00Z"
      },
      "orders": []
    }
  ],
  "events": [
    {
      "created_at": "2024-11-01T08:15:00Z",
      "verb": "skipped",
      "origin": "customer_portal"
    },
    {
      "created_at": "2024-11-30T19:03:00Z",
      "verb": "updated",
      "origin": "customer_portal",
      "updated_attributes": [
        {
          "attribute": "next_charge_scheduled_at",
          "previous_value": "2024-12-03",
          "value": "2024-12-10"
        }
      ]
    },
    {
      "created_at": "2025-01-14T15:02:11Z",
      "verb": "cancelled",
      "origin": "customer_portal"
    }
  ]
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Model failed payment recovery

Error type, attempt count, retry date and the charge's final status give a labeled outcome for each decline.

Predict cancellation from behavior

Skipped charges, moved dates, swaps and discounts before an exit are the signals a retention model learns from.

Train subscription support agents

Skip, swap, reschedule and reactivate actions show the state change an agent must make on request.

Classify cancellation reasons

A merchant's pick list paired with the customer's comment gives short text with a label the customer chose.

Evaluate billing reasoning

Merged charges and prepaid subscriptions make test items with one right answer for the next charge date and order count.

Use-case guides: Customer support agents, Finance and accounting agents, Private evaluation sets

What makes this data valuable

Line items name their subscription

A purchase item id and type on every charge line item lets revenue be assigned on merged charges.

Error fields populated

Failed charges with an error type, an attempt count and a retry date show recovery was recorded, not reconstructed.

History saved outside Recharge

Saved events, charge activities or webhooks spanning the years requested make skips, swaps and decline sequences recoverable.

Reason list supplied

The merchant's reason list with its change dates lets renamed options be mapped to one label.

Charges and orders both present

Separate charge and order tables, prepaid orders flagged, keep billing and shipment counts apart.

Ended records kept

Expired, canceled and deleted subscriptions, flagged, prevent a history made only of survivors.

Process

Recharge dataset

This page covers recharge subscription and charge records.Illustrative

A subscription, a charge and an order are three records

Recharge defines a subscription as a product added to an address. It is a rule: a product variant, a quantity, a price and an interval. The money sits on a different object. A Charge is one transaction for an address, and each of its line items names the Subscription or Onetime it bills through purchase_item_id and purchase_item_type. Subscriptions on one address that fall due on the same date are merged into one charge, so revenue per subscription has to be read from line items, not from the charge total. An Order is created only after a charge succeeds, and it is the record the store fulfills.

That separation makes failed payment recovery visible instead of inferred. A charge that could not be collected stays as a row with status error, the processor's message, a structured error_type such as CUSTOMER_NEEDS_TO_UPDATE_CARD, a charge_attempts count, the time of the last attempt and a retry_date. The store's own order table would show only a gap that month. What happens when retries run out is a merchant setting: on one store the subscription is canceled and flagged max_retries_reached, on another it stays active with a charge that no longer retries, so an active subscription is not always a paying one.

The charge row keeps a counter and its latest error, not a row per attempt. Attempts are recorded as Charge Activities, with an activity type such as payment_failure and a sub type such as card_declined, but Recharge's reference makes only the last 90 days available. An older sequence of declines survives only where the merchant saved activities, events or webhooks as they happened. A prepaid subscription bills once and ships several times: the charge's orders_count is above one and the later orders wait in a queued status with is_prepaid set. Counting orders overstates billing events, and counting charges understates shipments.

The subscription row holds only its current state

A Recharge subscription stores what is true now: the current variant, price, quantity, frequency and next_charge_scheduled_at. A skip, a swap, a new date or a price edit overwrites those values, and every update regenerates the queued charge. A change of frequency also removes a skip already applied to that charge. Recharge's documentation notes that the subscription's updated_at may not change when only the charge date moves, which makes it a poor change marker. Some traces remain: a skipped delivery is a charge with status skipped, and original_scheduled_at keeps the first date of a charge that was moved. A swap leaves only the new variant.

The path to a cancellation has to come from events. A Recharge Event names an object, a verb such as skipped, swapped, paused, cancelled or max_retries_reached, an origin that tells the customer portal from the merchant portal and from Recharge's own processes, and the previous and new value of each updated attribute. The Events API depends on the merchant's plan and reaches back only a short window, seven days by default, so a multi-year path exists only where the merchant saved events or webhooks as they happened, or synced snapshots to a warehouse.

cancellation_reason is text on the subscription, beside cancelled_at and an optional comment. It comes from the merchant's own list of retention strategies, each a reason shown to the customer, sometimes with an incentive such as a discount or a skipped charge. Because it is stored as a string, renaming an option splits one series in two, and lists differ between merchants. A cancellation after maximum retries carries a reason no customer chose. Reactivating a subscription sets all three fields back to null, so a customer who left and returned shows no first exit. On a sample, tabulate reasons against the merchant's current list and compare each customer's subscriptions_total_count with the subscriptions delivered.

What to check before licensing

  • Have the buyer's counsel and the merchant read Recharge's terms of service and API terms on exported data and API use.
  • Search the sample for customer emails, phones, names and addresses, the portal hash, the browser IP and user agent held on charges, and names typed into cancellation comments.
  • Confirm payment method records are reduced to a type and status, with processor tokens, card brand, last four digits, expiry dates, PayPal emails and external transaction ids removed, including the payment method details on charge activities.
  • Ask which API version or merchant portal export produced each table, since older responses name a line item's subscription_id where newer ones use purchase_item_id, and whether deleted and expired subscriptions are included and flagged.
  • Check that every charge line item carries a purchase item id and type, then test merged and prepaid charges so revenue and orders are not double counted.
  • Ask what change history exists beyond the Events lookback and the 90 days of charge activities: saved events, webhook logs or warehouse snapshots, and from what date.
  • Request the merchant's cancellation reason list with its change dates, the setting applied when maximum retries are reached, and the share of cancellations flagged max_retries_reached.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

What does a Recharge dataset contain?

It contains one merchant's subscriptions and the billing records around them. Each subscription has its product, price, frequency, status and cancellation fields, the charges that billed it with any error, and the orders those charges created. One-time add-ons come as their own table, and events are included where the merchant kept them. Name the record types and years you need in your spec.

Can failed payments be separated from customers who chose to cancel?

Yes, where the charge records are complete. A failed charge is its own row with status error, an error type, an attempt count and a retry date, and Recharge sets max_retries_reached on the subscription when retries run out. A store setting then decides whether the subscription is canceled or left active, so read the flag with the subscription status and ask which setting the merchant used.

How much history of skips, swaps and price changes is available?

It depends on what the merchant saved. The subscription record holds only current values, the Events API returns a short recent window, and charge activities are available for 90 days. Skipped charges remain visible, but earlier variants and prices are lost unless events, webhooks or snapshots were stored outside Recharge. Ask for the earliest date of saved change history.

How are cancellation reasons recorded?

As text chosen from a list the merchant wrote, with an optional comment. Recharge stores the selected reason and the comment on the subscription with the cancellation time. Reasons differ between merchants, a renamed option appears as a new value, and reactivating a subscription clears all three fields. Ask for the merchant's reason list and its change dates.

How are customers and payment details de-identified?

Contact, address and payment fields are removed or replaced before delivery. In Recharge that covers the customer's name, email, phone and addresses, the hash used for portal links, the IP address and user agent stored on charges, card brand, last four digits and expiry, PayPal emails and processor tokens. No method is perfect, so search sample comments for names and contact details.

Is SourceX affiliated with Recharge?

Recharge is named to identify the system the records come from. That does not imply a partnership with or endorsement by Recharge. The records belong to the business that runs Recharge, 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.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell 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.

See if your company qualifies