Ask questions of your Stripe data

Foundry syncs your Stripe account's customers, subscriptions, invoices and payments, and links them to the accounts, contracts and conversations in your other systems.

What Foundry reads from Stripe

These objects, with a restricted key that can only read the ones you allow:

  • customers
  • products
  • prices
  • coupons
  • promotion_codes
  • subscriptions
  • subscription_items
  • invoices
  • invoice_line_items
  • charges
  • payment_intents
  • refunds
  • disputes
  • payouts
  • balance_transactions

Questions you can ask

  • “Which customers have unpaid invoices over $1,000?”
  • “Which subscriptions renew in the next 30 days, and who owns each account?”
  • “Which customers had a refund or a dispute this quarter?”
  • “Which customers in our contracts have no Stripe customer?”

From tables to a graph

How Stripe becomes part of your graph

Customers become one type, linked to their subscriptions, invoices and charges, and matched to the accounts in your own database by the IDs or emails they share.

  1. Sync. Foundry keeps its copy of your data up to date, syncing more often on paid plans.
  2. Draft. The ontology agent drafts types, links and rules from your data and your goal. You review and edit it.
  3. Load. A load writes it into HelixDB, and every value keeps its source: a table row, or a quote in a document.
  4. Ask. The Analyst answers questions with the queries it ran and a source for every claim, and on Helix Cloud your agents can query it through the Helix MCP.

Setup

Connect Stripe

  1. In Stripe, open API keys and click Create restricted key. Try a test mode key first if you like.
  2. Name it Helix Foundry and set Read on the objects you want, such as Customers, Subscriptions, Invoices and Charges. Leave the rest as None.
  3. In Foundry, open Data, click Add data, choose Stripe and paste the rk_ key.
  4. Test it to see which tables the key can read, then connect.