Urgent.News

What's breaking now, across thousands of outlets.

Tech

How to Sync Billing Data to Prisma Postgres (Stripe, QuickBooks, Xero & Paddle)

Sync Stripe, QuickBooks, Xero or Paddle into Prisma Postgres. Which connection string to use, how a batched sync counts operations, and what it costs. By Ilshaad Kheerdali · 14 November 2026 Most usage-priced databases make you ask an awkward question before you add a data pipeline: how much will all that background work cost? On a database billed for compute time, a long-running sync keeps the…

Prisma Postgres is a billing-friendly option for syncing data from Stripe, QuickBooks, Xero or Paddle. Unlike most usage-priced databases that charge based on query duration, Prisma Postgres bills per operation, making it a cost-effective choice for scheduled batch syncs. SaaS companies typically deal with thousands of billing records, not millions, and these records change slowly, making Prisma Postgres an ideal fit.

To set up Prisma Postgres, you'll need to create a database in the Prisma Console. Choose a region, which can be difficult to change later, and you may consider creating a separate database for billing data due to schema drift risks. When generating a connection string, there are two options: pooled and direct. The pooled string is recommended as it allows for longer connections and is specifically designed for background workers like scheduled syncs.

Each credential used generates a new set of access permissions, so it's advised to generate a separate credential for Codeless Sync.

When connecting Prisma Postgres to Codeless Sync, create a new sync configuration and choose your billing provider. For most providers, you'll need an API key, with the exception of Stripe and Paddle, which require restricted keys. QuickBooks and Xero use OAuth, so you won't handle any tokens yourself. Once connected, auto-create a table to store the synced data, name the configuration, and run the sync. The table names follow a predictable pattern: provider_name_data_type.

The cost of a batch sync is a small number of operations rather than a per-row charge. For instance, a sync of 375 Stripe payment_intents cost only 15 operations. This makes Prisma Postgres an efficient solution for syncing billing data from providers like Stripe, QuickBooks, Xero or Paddle to your database.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Turning noisy bathroom-scale data into a projected date: SMA vs. EMA vs. linear regression

Body weight is a terrible time series. On a single morning it can swing by a kilogram or more because of water, salt, glycogen and whatever is still in your gut.

  • Simple moving average (SMA) calculates 7-day average weight, lagging about 3 days
  • Exponentially smoothed moving average (EMA) uses 10% smoothing factor, slower to respond
  • Linear regression estimates daily weight change, provides date estimate but assumes constant rate

How we made battles deterministic and server-verified in a Telegram mini-game

We are building Seraph Legion, an angel-collector RPG that runs inside Telegram as a Mini App. This is a writeup of the most interesting engineering decision in the project: how battles work , and…

  • Battles are deterministic and server-verified to prevent cheating
  • Seeded random number generator ensures identical results with same inputs
  • Most write operations now server-verified after exploit prevention

Show DEV: I built a cozy Christmas village game in Godot, solo

Hi DEV, I'm the solo developer of Christmas Town, a free iPhone game where you decorate your own house, yard and Christmas tree in a snowy village.

  • Creator built solo Christmas Town game in Godot
  • iPhone game allows personalizing homes, yards, trees
  • Game features cozy decorating, shared town square

Docker Compose build must be a string, in CI

Docker Compose build must be a string is the schema validator naming one branch of a rule with two, and following it literally will send you to rewrite a mapping that was never the problem.

  • "Docker Compose build must be a string" error occurs
  • Invalid key type or mapping branch causes the error
  • Validate Compose files in CI to prevent the error

Ctrl+A Only Copied a Third of the Page, So I Built a Chrome Extension

I was trying to save a lesson from an interactive course into my notes. You know the type. Slides you click through, cards you flip to see the answer, boxes that open up when you tap them, plus the…

  • Developer created Chrome extension to copy hidden content from web pages
  • Script traverses every text node on the page to extract all content
  • Extension outputs rough markdown for easy pasting into note-taking apps

Building a read-aloud screen: phrases, tappable words and a finger that drifts

Background A lot of what I read is still on paper: letters from the bank, school handouts, a recipe, a library book. I often want to listen to them instead, and I want to follow the words while I…

  • Outloud Reader app highlights phrases, tappable words, and offers just listen mode
  • Phrases consist of up to four words up to punctuation mark, highlighted as soft yellow plate
  • Custom SwiftUI Layout enables precise word control, hit-testing, and overlapping plates

More from Sunday 15 November →