Stripe Engineering Blog & Tech Articles
Global payments and financial infrastructure platform building sophisticated technology for online commerce
113 engineering articles, tutorials, and technical insights from Stripe's engineering team
Top Technologies
Latest Articles
Filter:
The low-level code that makes a payment go through is getting cheap, fast. What is becoming valuable is the judgment above it: knowing what the money is supposed to do and making sure the code obeys it.
David Benchi
11 min read
Includes Code
--
SaaS platforms don't fit a single mold when it comes to payments pricing. An early-stage vertical software company needs simple, flexible tools to experiment and iterate. A platform moving upmarket needs granular cost control and the ability to offer sophisticated pricing to enterprise customers. And as AI features reshape how platforms monetize, that diversity is only going to increase.
Safia El Bayed
8 min read
Includes Code
--
While a smart fridge can detect when a household is running out of milk, the more interesting engineering problem begins after that.
Ana Andres
12 min read
Includes Code
--
Stripe's Knowledge AI Platform is our versatile AI agent platform built to handle diverse non-coding knowledge work, from quick queries to complex, multi-day projects. By connecting employees to over 1,000 internal tools and skills, it enables secure, enterprise-scale productivity across the organization.
Anna Mason
10 min read
--
Discover how we modeled our MongoDB infrastructure as a traversable graph and then use pathfinding algorithms to dynamically compute and execute recovery plans. This automated approach reduced pager volume by 30% (~200 pages/year), eliminated 12 days of unhealthy shard states annually, and supports new shard layouts with zero manual effort.
Pragya Mehta
12 min read
Includes Code
--
Learn how to implement fund segregation in Stripe Connect using allocated balances to ring-fence seller funds from your platform's operational balance - covering payment creation, transfers, refunds, disputes, and preparing for upcoming PSD3 regulatory requirements.
Andrew Robinson
9 min read
Includes Code
--
Event destinations are central to Stripe integrations but hard to get right. Event notification handlers encapsulate the setup and wiring, letting you focus on business logic and surface errors at development time instead of in production.
Most of the world's money still moves in batches. A wire submitted at 2pm might settle by end of day, if you made the cutoff. ACH takes one to three business days. Cross-border payments touch correspondent banks, each adding lag and a fee. Stripe has spent over a decade building the Global Payments and Treasury Network (GPTN), a programmable infrastructure for global money movement that batches transfers to reduce cost, nets opposing flows to minimize actual cash moved, and routes through the optimal path between accounts. Under the hood, it's a graph with accounts as nodes, and payment rails as edges.
Sai Samant
10 min read
--
When building with agents, most guides will give you the happy path - how to do something the best way, without friction. This post is all friction, and how to get through it when things go wrong.
When a Stripe engineer makes changes to an API, merging the PR is just the beginning. Stripe maintains a vast developer product suite that needs to stay in sync with the API changes we frequently ship:
Mikael Mello
11 min read
Includes Code
--
Some microservices are difficult to test because their behavior depends on a long tail of inputs that are hard to model by hand. This post focuses on how to build a repeatable Apache Spark replay harness for testing without creating a second implementation of the service.
Vivek Yadav
8 min read
Includes Code
--
Some microservices are difficult to test because their behavior depends on a long tail of inputs that are hard to model by hand. For that class of problem, Apache Spark's massive parallelism and linear scalability can be leveraged to build a regression test harness. That makes it possible to compare old and new implementations, model upcoming rule changes, and quantify impact before a change reaches production.
Vivek Yadav
9 min read
--
For product-led businesses, conversion is paramount, so an important consideration is deciding whether to implement synchronous or asynchronous tax ID validation in a checkout flow. One is friendlier for conversion, but the other can keep your business compliant.
Jake Estes
10 min read
Includes Code
--
We all know the stereotypes of working at enterprise tech companies: endless bureaucracy and behemoth codebases running on a years-old language version. Most organizations know they should modernize quickly, but haven’t figured out how to build an upgrade path compatible with a large codebase. The recurring cost of upgrading keeps most large JVM codebases trailing behind the latest Java versions.
Building a GitHub traffic dashboard with Stripe Projects revealed a surprising shift from “AI coding” into real infrastructure orchestration. In under an hour, Auth0, Supabase, Vercel, Prisma, deployments, environments, and scheduled jobs materialized around an idea with remarkable speed. The experience highlighted both the power and the emerging challenge of AI-assisted infrastructure: operational visibility, ownership clarity, environment management, and understanding rapidly orchestrated systems.
What a dozen steering experiments taught us about how LLM-based agents actually behave in the wild.
James Beswick
9 min read
Includes Code
--
This post is a follow-up to last week’s “From init to deploy: building with agents and Stripe Projects” and explores the learnings gained along the way.
Anna Spysz
7 min read
Includes Code
--
Stripe Projects makes it easy to spin up a useful, complex application that uses various SaaS providers. This post describes how one of our developer advocates built an internal transcript editing application using Stripe Projects, Vercel, and OpenRouter.
This is the story of how our Developer Productivity team extended and rolled out rubyfmt, our Rust-based zero-config, ultra-fast autoformatter across the world's largest Ruby codebase.
In this post we’ll dive into how we built a virtual cashless payment method that works for prepaid and Stripe-issued credits, and cleanly integrates with our accounting, compliance, and other frameworks.
Pratik Gupta
11 min read
Includes Code
--
Building payment and revenue integrations across Stripe and Salesforce has a steep learning curve spanning both platforms. CLI-based AI coding agents make this faster, but hallucinate on complex, evolving platform surfaces. Open-source grounding context files flatten the learning curve and reduce hallucination, letting developers ship working integrations sooner.
Stripe's Selective Test Execution system employs some clever tricks to allow us to continue scaling our team and our codebase while only running around 5% of our tests on average. Find out how it works!
Aditya Anchuri
12 min read
Includes Code
--
Provision hosting, databases, auth, analytics, AI and other dev tools from the Stripe CLI. Stripe Projects creates real resources in your own provider accounts, securely syncs agent-ready credentials, supports upgrades to paid tiers, and handles payments without leaving the terminal.
Rami Banna
6 min read
Includes Code
--
Learn how to build a future-proof, global-ready checkout by implementing Stripe Checkout Session with embeddable Elements for flexible payments, tax calculation, and multi-currency support.
Allison Farris
7 min read
Includes Code
--
This article provides a detailed exploration of the Stripe payment processing system, focusing on the PaymentIntent lifecycle and the importance of webhooks in managing payment state changes.
Allison Farris
7 min read
Includes Code
Has Summary
--
This article delves into the development and implementation of minions, Stripe's unattended coding agents, which autonomously produce pull requests without human-written code.
Stripe built homegrown unattended coding agents called Minions that one-shot entire tasks from Slack message to merged pull request.
This article presents a pattern for using AI agents to author Terraform configuration files for Stripe infrastructure instead of having agents make direct API calls.
Stripe introduces versioning for Stripe Workflows, enabling teams to safely update live automation workflows through drafts, immutable published versions, and version history.
Tanya Boiteau
8 min read
Has Summary
--
This article demonstrates how to build production-ready Stripe subscription billing using Kiro, an AI-powered IDE with domain-specific 'powers' that bundle Stripe best practices, MCP servers, and a...
This article demonstrates how to add stablecoin (USDC) payments to an existing Stripe integration with minimal code changes and zero blockchain knowledge.
Robert Love
9 min read
Includes Code
Has Summary
--
The article discusses the integration of a web-based Point of Sale (POS) system with mobile Terminal readers, emphasizing the MACH approach for retailers.
The article discusses the development of a real-time streaming analytics system for Stripe Billing, enabling customers to access subscription metrics with minimal latency.
Reed Trevelyan
8 min read
Has Summary
--
This article discusses how to connect Stripe events to frontend applications using various integration methods, enhancing user experience through real-time updates.
Josh Kahn
10 min read
Includes Code
Has Summary
--
The article discusses how to automate compliance safeguards using Stripe Workflows by flagging transactions that meet certain criteria.
Ashley Ansari
2 min read
Has Summary
--
The article discusses how online marketplaces can effectively monetize their platforms using Stripe's services.
Ana Andres
9 min read
Includes Code
Has Summary
--
The article discusses the critical importance of maintaining consistent data across multiple systems as organizations grow.
James Beswick
11 min read
Has Summary
--
The article discusses the challenges of maintaining consistent product data across systems and third-party platforms in digital commerce, focusing on reconciliation patterns that can enhance data i...
James Beswick
9 min read
Includes Code
Has Summary
--
The article discusses the complexities of maintaining data consistency between internal databases and third-party payment providers like Stripe as systems scale.
James Beswick
7 min read
Has Summary
--
The article discusses the integration of Stripe payments with NFC passes for digital access control, highlighting the advantages of using digital wallets over traditional physical keys.
Joshua Nussbaum
7 min read
Includes Code
Has Summary
--
The article discusses the integration of Stripe's Model Context Protocol (MCP) with Portia AI, focusing on creating a customer refund agent that emphasizes human control during money movement opera...
Mounir Mouawad
7 min read
Includes Code
Has Summary
--
The article discusses how to build financial operations agents using Hypermode and Stripe, allowing users to automate complex financial workflows through natural language descriptions without needi...
The article discusses how to automatically customize objects within Stripe by attaching metadata, enabling developers to enrich payment-related data without altering the core data model.
Ashley Ansari
3 min read
Has Summary
--
The article discusses the development of Stripe's jurisdiction resolution system (JRS) for accurate tax calculations across the US, addressing the complexities of over 16,000 sales tax combinations.
Erich Rentz
10 min read
Has Summary
--
The article discusses how to create early fraud alerts using Stripe Workflows to automate refund operations, thereby reducing financial losses and enhancing customer satisfaction.
Ashley Ansari
2 min read
Has Summary
--
This article discusses a rate-limit-friendly pattern for handling Stripe webhooks using the fetch-before-process approach while managing API rate limits effectively.
Phil Leggetter
10 min read
Includes Code
Has Summary
--
This article discusses how to implement Stripe Connect for online marketplaces, focusing on managing commercial relationships between buyers, sellers, and the marketplace itself.
Ana Andres
12 min read
Includes Code
Has Summary
--
This article discusses how to use Connect embedded components to enhance the onboarding flow for connected accounts on a platform like Furever.
This article discusses how Edgee implemented a scalable metered billing system using Stripe to handle billions of events across a globally distributed architecture.
Alex Casalboni
6 min read
Includes Code
Has Summary
--
The article discusses the challenges of fragmented data collection in point-of-sale (POS) systems and introduces Stripe Terminal's on-screen input collection feature as a solution.
Andrew Robinson
9 min read
Includes Code
Has Summary
--