u/CandidChameleon

▲ 2 r/stripe

Anyone syncing Stripe usage/subscription state to their own DB in real-time?

Hey, all! Working on something and want to sanity check it before I build more.

If you run usage-based billing, how do you currently get live usage totals or upcoming invoice amounts into your own MySQL/SQLServer for gating or dashboards? Cron job polling the Stripe API, custom webhook consumer, or you just call the API live when you need it? Pretty sure there's a pre-built postgres connector, but haven't seen this for other DBs.

I'm looking at building a lightweight, real-time sync tool that keeps this state mirrored locally so you're not hitting Stripe's API on every request. Curious if this is a real pain point or if most people just don't bother.

Not selling anything, genuinely trying to figure out if this is worth building. Happy to share more if useful.

reddit.com
u/CandidChameleon — 4 days ago

Anyone syncing Stripe usage/subscription to their own DB in real-time?

Hey, all! Working on something and want to sanity check it before I build more.

If you run usage-based billing, how do you currently get live usage totals or upcoming invoice amounts into your own MySQL/SQLServer for gating or dashboards? Cron job polling the Stripe API, custom webhook consumer, or you just call the API live when you need it?

I'm looking at building a lightweight, real-time sync tool that keeps this state mirrored locally so you're not hitting Stripe's API on every request. Curious if this is a real pain point or if most people just don't bother.

Not selling anything, genuinely trying to figure out if this is worth building. Happy to share more if useful.

reddit.com
u/CandidChameleon — 4 days ago