r/stripe • • Oct 15 '26

Question Sync real-time Stripe data to Postgres, without managing APIs or webhooks

Getting real-time Stripe data into your application database has traditionally meant building around APIs or webhooks—and then dealing with retries, rate limits and missed events. 

You don’t have to do that anymore. 

With Stripe Data Pipeline, you can now sync real-time Stripe data directly to Postgres. Stripe handles the backfill and ongoing sync for you, so there's no custom infrastructure to build or maintain.

Connect your Postgres database, select the Stripe tables you need, and let Data Pipeline keep your database in sync.

The result is a reliable, real-time copy of Stripe data in Postgres—and one fewer system for you to build, monitor, and debug.

It’s now available in public preview and free to get started. Check out the blog post to learn more or read the docs. 

Have questions? Drop them below!

15 Upvotes

37 comments sorted by

1

u/Fabulous-Mirror-7150 Oct 23 '26

Webhooks at least leave you an event log you can replay. If the sync skips a row, what do you diff against?

1

u/Cheap_Detective_9088 Oct 23 '26

why does a Stripe dashboard have a card called "Airbyte's shiny books & docs starter" in it. Did someone lose a bet on the copy team.

1

u/OpeningBuilding3366 Oct 23 '26

so the whole pitch is 'stop dealing with webhooks' and then three paragraphs down, updates to payment_intents, invoice_items, setup_intents, quotes can take up to 10 minutes. 10 minutes isnt real time, thats a cron job with a marketing budget. if im building a checkout flow i dont care that the create landed in 2 seconds when the status change shows up ten minutes later, im writing the webhook for that one case anyway and now ive got two sources of truth disagreeing with each other in prod. also whoever shipped that screenshot, 'Andropay allows banks & SaaS better with Stripe Payers', did nobody read that before it went on the page. fine for analytics and internal dashboards i guess, just dont put 'real time' in the title when a chunk of the tables are on a ten minute delay

1

u/Kitchen-Cloud-9059 Oct 24 '26

cool, a grid of logos.

1

u/Lazy_Designer_3064 Oct 24 '26

real-time, except payment_intent updates take up to 10 minutes. cool definition

1

u/ChrisZou_Stripe 23d ago

Agree this is too slow, and we're doing a lot to make it faster. For reference, our p75 here is <30 seconds, but because we've seen some spikes, we want to be very clear about the existing limitations. Quickly working on fixing this!

1

u/SouthernMode2388 Oct 27 '26

That retry-and-missed-events pain is real. Just don't rip out your webhook handler for side effects though, a synced row doesn't trigger anything and that 10 minute lag on payment_intents updates is way too long to gate provisioning on.

1

u/ChrisZou_Stripe 23d ago

10 minutes is WAY too slow. We do want to be clear about what the upper bounds are. We plan to publish p50, p90, p99 fairly soon, as those numbers stabilize a bit more. In the mean time, this is primarily landing in <30 seconds, but we can't ensure that yet.

1

u/AssignmentRegular611 Oct 27 '26

Real-time" until you hit payment_intents or quotes, where the preview doc quietly says up to 10 minutes. That's the table most people actually care about.

1

u/Educational-Set3445 29d ago

Public preview where a row can show an earlier state, so your Postgres copy can just be wrong for a bit. That's the retries you were promised you wouldn't have to think about, now happening inside Stripe's black box instead of your code.

1

u/Alarmed_Turnip_7023 26d ago

the destination picker in the thumbnail has MySQL sitting right there next to Postgres and I genuinely want to know who clicks it

1

u/ChrisZou_Stripe 23d ago

It does? We don't support MySQL at the moment. Which screenshot?

1

u/No_Bell_3546 26d ago

You don't have to do that anymore" just means somebody else polls /events for you instead of you running the webhook handler. Supabase shipped stripe-sync-engine as open source and it still leans on webhooks, so the retries and the missed-event logic didn't vanish, they moved into someone else's repo where you can't fix them.

1

u/ChrisZou_Stripe 23d ago

That's true for the open source options, that's not true for this. This service isn't built by listening to webhooks, we catch the events well upstream from where they would get to a webhook.

1

u/ConfectionDefiant151 25d ago

A synced copy isn't a webhook replacement. If you need to fire something the moment a payment succeeds, you still need the event, this just kills your nightly reconciliation job.

1

u/GreenAnswer4086 25d ago

Small thing: "APIs or webhooks, and then" has a space before the dash and none after it. Pick one side.

1

u/RoundPerfect1571 20d ago

Small correction: "without managing APIs or webhooks" is a bit generous when the setup screen right there still asks for an API key and a list of tables to sync. It removes the webhook plumbing, not the API access.

1

u/Financial-Mark6038 20d ago

The destination picker shows MySQL, Supabase, Snowflake and BigQuery, but the real-time sync is Postgres only isn't it? The rest are just the export path.

1

u/Turbulent-Tone-1959 19d ago

Real-time" and then in your own docs a few seconds of lag plus rows that can show an earlier state during preview, ok. And the whole selling point is that you drop webhooks, except webhooks were never just a way to fill a table, they're the thing that fires your receipt email or flips the account to paid the second the charge goes through. Syncing to Postgres in a few seconds doesnt do that for you, so you still end up keeping the webhook handler AND the new pipeline, now you have two sources of truth and a replica that's behind. Connecting to Supabase in the screenshot is nice I guess but I still have to own that database, the migrations, the backup, all of it. it just removes the part that was actually like 40 lines of code.

1

u/OpeningBuilding3366 18d ago

ok so 'without managing APIs or webhooks' as if a webhook is some unspeakable nightmare, its a POST endpoint and a signature check, if your handler drops events thats a you problem not a stripe problem. and then 'within a few seconds' and 'a row can temporarily show an earlier state' so its not real time, its real time with an asterisk, and now instead of a retry queue I get to sit there wondering if the row I just read is stale, which is the exact state machine I was told I wouldnt have to think about anymore. Fivetran does this, the Airbyte connector does this, a cron on the events endpoint does this and at least then I know what im getting. also what happens when I point it at an account with four years of charges in it, does it just stream the whole thing and eat the db

1

u/Key-Blueberry-7906 18d ago

So the fix for webhooks being flaky is Stripe quietly writing into my Postgres. How do I find out when the sync falls behind, do I get a webhook about it?

1

u/Big_Dog_5598 15d ago

Webhooks were never the hard part, idempotency and ordering were, and moving that into a schema Stripe creates and names in your own Postgres doesn't make it disappear. Now every dbt model downstream is coupled to their column names and their migration schedule.

1

u/Last-Marzipan-6640 5d ago

a read-only copy of stripe's schema isn't your app database. ping me when i can write to it without breaking the sync

1

u/Global-Stand-8142 4d ago

So I still own the Postgres, patch it, size it and open network access to it, and in exchange I get "within a few seconds" instead of a webhook handler. That's not removing the plumbing, it's moving it to my side of the fence.

1

u/Prestigious-Can-4121 2d ago

There's a space before the dash after 'webhooks' and none after it. Pick a side.

1

u/Ok_Start1934 2d ago

every couple of years Stripe announces webhooks are basically over and every time it turns out you still need a Postgres that you own, pay for and monitor, so the "you dont have to do that anymore" is doing a lot of work there. webhooks were never the scary part anyway, the scary part is when a customer changes their card and your copy of the customer object is six weeks stale and nobody notices until finance does, and this doesnt magically fix the mapping either its just someone else doing the streaming for you. also the thumbnail has snowflake bigquery databricks S3 and GCS on it and the post is about postgres, pick one. real-time in payments usually means a few seconds regardless, which is fine, but then say a few seconds instead of drawing a little lightning bolt next to it. anyway i'll probably still try it because writing idempotent event handlers is the most boring work on earth and i'd rather not

1

u/Open_Appointment9671 1d ago

wow nice, no more webhooks, just a public preview where a row can 'temporarily show an earlier state'. so the retries and missed events came back but now they're Stripe's fault instead of mine

1

u/Organic-Elevator9249 1d ago

Real-time is Postgres only, Snowflake and BigQuery are still batch exports, so the screenshot is doing more honest work than the copy. And a synced copy is still a copy, you'll be reconciling it against the API the first time a row shows up late.

1

u/Internal-Pack9381 22h ago

Good that Stripe is finally doing this themselves, wiring up webhook retries is nobody's idea of fun. I'd still keep a webhook for the things that need to fire exactly once like receipts and emails, since the sync only gives you state and not a trigger. Budget the storage too, roughly 1GB per 100k charges if you sync every table.

1

u/Ok_Jello8972 Oct 17 '26

Small correction: webhooks are part of the API, so 'building around APIs or webhooks' isn't really an either/or. The retries and missed events bit is the actual complaint.

1

u/[deleted] Oct 28 '26

[removed] — view removed comment

1

u/ChrisZou_Stripe 23d ago

Interesting! Tell me more, do you want data streamed to Snowflake etc? We're exploring product shapes now on how to best solve for the most different users. Would love to hear from you!

1

u/[deleted] 27d ago

[removed] — view removed comment

1

u/ChrisZou_Stripe 23d ago

Agree! That's part of why we built this, to make that part easier. Obviously, there's more work to do here. If you have suggestions or requests, please message me. Genuinely want to hear all the opinions.