Skip to main content
Blog
Back to Blog

Stripe Data Pipeline to Supabase: cost, checks and founder SQL

Since October 15, 2026, Stripe Data Pipeline can copy your Stripe data into a Supabase Postgres database, usually within seconds and without webhooks. The announcements show how to connect it. They do not show what a small company should sync, what the bill can reach, or what to do with the rows. This guide gives you a cost table, two safety checks, and four queries that end in a customer to write to. It is independent of Stripe and Supabase, and it is useful without a Soloop account.

The short answer

The Postgres sync is in public preview. Pay as you go includes 5,000 synced rows a month, then costs $0.0025 a row. The first copy of each table is free. Stripe says that most businesses never exceed the free amount.

Start with three tables: customers, subscriptions and invoices. They are enough to find failed renewals, ending trials and planned cancellations. Before you sync, read the 30-day count that Stripe shows for each table, because updates count as rows too.

Use the copy to decide who to write to. Do not use it alone to remove access or approve a refund: during the preview, Stripe says a row can temporarily show an earlier state.

Do you need it?

Your situation, the option that fits and its main limit
DimensionStart withMain limit
Fewer than about 20 paying customersThe Stripe Dashboard and a weekly look at failed payments.You cannot join it with product usage.
Your app already handles Stripe webhooks wellKeep them. They also tell your code when to act.You maintain the handlers and the stored copy.
You want Stripe data next to usage data, with no code to runData Pipeline to Postgres.Public preview, and a price per row.
You accept webhooks and want an open source syncStripe Sync Engine, installed from Supabase integrations.It runs in your project on your quotas. Its table layout differs, so do not paste the queries below.
You query rarely and can waitThe Supabase Stripe wrapper, which calls the Stripe API.Live calls, slower on large results, and no real-time updates.
You need Stripe's own MRR or finance reportsBilling analytics in the Dashboard, or the warehouse version of Data Pipeline.The warehouse version is billed separately.

What a synced row costs

A row counts each time Stripe creates, updates or deletes it in your database. Several fields changed at once count as one row. So one renewal can count more than once: in several tables, and again each time the same invoice changes.

Monthly cost for a number of synced rows, calculated from the published US prices
DimensionPay as you goLowest monthly plan
5,000 rows$0.00$100.00
15,000 rows$25.00$100.00
45,000 rows$100.00$100.00
60,000 rows$137.50$122.00
100,000 rows$237.50$190.00

Estimate before you connect

  • Write down the 30-day count for customers, subscriptions and invoices. Stripe shows it for each table while you set up the pipeline.
  • Multiply by your expected growth, then read the cost from the table. A migration or a bulk metadata edit can touch every customer in one day.
  • Leave out tables with no decision behind them. You can turn a table on later, and its first copy is free each time you set it up.
  • Plan storage if you sync everything: Stripe suggests about 1 GB for every 100,000 charges.
  • After a week, compare the real number under Plans and fees, View plan details, Data Pipeline (real time).

Set it up in a sandbox first

  1. Check the Postgres version in Supabase. The Supabase connector needs PostgreSQL 17 or later; plan and back up an upgrade separately.
  2. Open a Stripe sandbox. Stripe says that testing there is free.
  3. Open Data management, then Data Pipeline. Choose Postgres, then Supabase, and connect your account. Read the OAuth screen before you approve it.
  4. Choose a test project first. Stripe can also create a new one.
  5. Select only customers, subscriptions and invoices. Create the pipeline.
  6. Change one test customer's name in Stripe and confirm the new value in the database.
  7. Run the checks below. Repeat with live data only when they pass.

Find the schema name

Supabase says the tables arrive in a schema that starts with stripe_sdp. Stripe's guide says the schema takes the name you specify, or stripe for a connection string. Look it up instead of guessing.

Download Markdown

Check who can read your customers

These tables hold names, emails and billing details. Supabase exposes the public schema through its Data API by default; another schema has to be added. Neither announcement says whether row level security is on for the Stripe tables, so check what the browser roles can read.

  • Expect false in both columns for every table. If one is true, stop and find the grant before you sync live data.
  • Open the API settings and confirm that the Stripe schema is not under Exposed schemas.
  • Do not copy these tables into public to make a dashboard easier. Query them on the server.
  • Do not write to the Stripe schema. Stripe warns that outside writes can cause sync errors. Keep your notes in your own table.
  • Give an AI agent the result of a query, not the database password. One list of ten customers is enough for drafting.
  • Add the copy to your list of places that hold customer data, for deletion requests and your privacy page.
Download Markdown

Query 1: renewals that failed and are unpaid

Replace YOUR_SCHEMA in each query and keep the quotes. Amounts are in the smallest currency unit, so 9800 in usd is $98, while 8000 in jpy is 8,000 yen.

Download Markdown

Query 2: trials that end this week

Download Markdown

Query 3: customers who plan to leave

Download Markdown

Query 4: a list-price MRR you can explain

Stripe defines MRR as the monthly value of active and past_due subscriptions, without tax, free plans and metered products. This query follows that shape for simple prices and counts what it could not price.

Download Markdown

How we tested the SQL

We built the three tables with the columns and types from Stripe's published schema, in a local PostgreSQL 18 database, and added 12 invented customers. The expected answers came back: two failed renewals, two trials in the window, one planned cancellation, and $158 of monthly revenue from three customers ($98, plus $600 a year, plus $30 a quarter). Two usage and tiered items were counted as left out. The exposure check found the one read grant that we planted.

That proves the logic, not your data. We did not run a live pipeline, and JSON fields in your account may differ. Compare five rows with the Dashboard before you act on a list.

Turn each row into one message

What the query shows, the next step and when to stop
DimensionDo nextStop when
Failed renewal, retry plannedCheck whether Stripe already emails the customer. If so, wait for the retry.The invoice is paid.
Failed renewal, no retryWrite personally the same day. Ask if the card or the decision changed.They answer, or after two messages.
Trial ending, product usedName the result they got and the date and price that follow.They choose either way.
Trial ending, product not usedOffer help with one setup step, or more time. Do not push payment.They say it is not for them.
Cancelling, reason givenThank them and ask one question about that reason. Make leaving easy.They answer, or you hear nothing after one message.
Any row that looks wrongOpen the customer in Stripe. The Dashboard decides, not the copy.The two agree.

Messages to copy

Download Markdown

Where Soloop fits

Soloop helps a founder research, plan and prepare customer work, with approval before actions that matter. This guide does not claim a Data Pipeline or Supabase connection in Soloop. You could bring a short list that you checked, without payment details, and prepare the messages for your review.

The useful habit is small: one query, ten names, one message each. If a list leads to no message for three weeks, turn that table off.

Sources, limitations and refresh

Stripe and Supabase pages were read on November 25, 2026. Prices are the US list prices and the product is a preview, so both can change. We found no statement on how deleted rows appear, how long the first copy takes, or what remains in your database after you turn a table off; ask Stripe if one of these matters to you.

This guide will be reviewed by February 25, 2027, or sooner if the preview ends, the price changes or the schema changes.

Launch

Real-time sync to Postgres in public preview, October 15, 2026; regular audits against the source.

Stripe blog
Supabase

Setup path, stripe_sdp schema prefix and role, short-lived tokens, SSL.

Supabase blog
Setup

PostgreSQL 17 for Supabase, storage, schema name, no outside writes.

Configure Postgres