Blogs
Stripe logo

Stripe

Engineering blog · stripe.dev/blog/topic/engineering

108posts0this week0watchers

Feature trails

31
Feature trailActive

Stripe Workflows

This post continues the evolution of Stripe Workflows, a capability for automating payment operations and orchestrating Stripe products directly from the Dashboard. It enables developers to streamline invoicing, manage fraud detection, automate subscription logic, and build custom quote-to-cash flows with built-in support for real-time triggers, conditional logic, and seamless integration across Stripe's ecosystem. Workflows eliminates the need for managing infrastructure or writing boilerplate. This post specifically details how to build a whitelabeled dashboard for connected accounts using Connect embedded components, allowing for customization of the user interface and experience for connected accounts.

7 posts · 2025–2026

Timeline

20252026
Feature trailActive

Stripe Projects and Agent-based Development

This post continues the evolution of Stripe Projects and Agent-based Development, detailing Stripe's homegrown coding agents, 'Minions,' which are responsible for merging over a thousand pull requests weekly. It highlights how these agents write code from start to finish, with human review, and introduces the second part of this series which will delve deeper into their workings. This post focuses on the technical implementation and architectural details of how these agents operate end-to-end, specifically detailing the creation of a 'Payment Method Factory' that orchestrates agents using over 100 reusable prompts, hardened by observing implementation runs, and kept current by feeding back learnings from each run.

21 posts · 2024–2026

Timeline

20242026
Feature trailActive

Multi-Region API Call Load Balancing

This post continues the evolution of Stripe's efforts to build and optimize systems for handling API calls across multiple AWS regions. It details how to track customer spend in an omnichannel or multiprocessor environment, addressing the challenges of fragmented payment systems and exploring solutions like the Payment Account Reference (PAR) to gain a unified view. This builds upon previous work in load balancing and resilience.

2 posts · 2025–2026

Timeline

20252026
Feature trailActive

Fund Segregation in Stripe Connect

This post continues the evolution of Fund Segregation in Stripe Connect, detailing how to map commercial relationships in code to configure fund flows, onboard merchants, and manage payments. It builds upon previous efforts to ring-fence seller funds from platform operational balances by providing code-level guidance on structuring these relationships within the Stripe Connect framework. This enables platforms to manage complex financial arrangements and ensure regulatory compliance. This post specifically details how to charge customers across multiple accounts within an organization, simplifying complex payment flows for platforms and their connected accounts.

9 posts · 2025–2026

Timeline

20252026
Feature trailActive

Database Fleet Auto-Remediation

This post continues the evolution of Stripe's advancements in automating the management and remediation of its global database fleet. It details how Stripe's document databases, specifically their implementation of the Data Movement Platform, supported 99.999% uptime with zero-downtime data migrations. This builds upon previous work in using graph search and state machines to model MongoDB infrastructure, enabling dynamic computation and execution of recovery plans.

2 posts · 2024–2026

Timeline

20242026
Feature trailActive

Stripe Event Processing and Notification

This post continues the evolution of Stripe's event processing and notification systems, detailing advanced patterns for building fault-tolerant, user-friendly payment systems. It emphasizes strategies like idempotency and message queues to prevent duplicate charges and reduce operational errors in high-volume, complex systems. This builds upon previous efforts in queue-based and event-driven data reconciliation, durable synchronization, and practical patterns for real-time vs. batch reconciliation. This post specifically details how Stripe Invoicing leverages these principles to debug payment failures by understanding the different phases an invoice goes through, using tools like Stripe Workbench.

15 posts · 2024–2026

Timeline

20242026
Feature trailActive

Stablecoin Integration for Global Payments

This post continues the evolution of Stripe's efforts to leverage stablecoins for global payments. It details how developers can integrate stablecoin payments (USDC on Ethereum, Solana, Polygon, and Base) into their existing Stripe integrations with zero prior crypto knowledge. The focus is on abstracting the complexity of blockchain interactions, allowing developers to accept stablecoins as easily as traditional payment methods through the Stripe API. This expands the reach and efficiency of Stripe's Global Payments and Treasury Network (GPTN) by offering faster, more efficient, and potentially cheaper cross-border money movement.

2 posts · 2025–2026

Timeline

20252026
Feature trailActive

API Change Management and Developer Product Synchronization

This feature thread tracks Stripe's comprehensive approach to managing API changes and ensuring seamless synchronization across its extensive suite of developer products. It begins by detailing the intricate process of how API modifications, once merged, propagate through various developer-facing tools and services. This highlights Stripe's commitment to maintaining consistency and a high-quality developer experience as the API evolves, addressing the challenges of keeping a vast product ecosystem in sync.

4 posts · 2020–2026

Timeline

20202026
Feature trailActive

Microservice Testing with Apache Spark

This post continues the evolution of microservice testing with Apache Spark, focusing on building a repeatable replay harness. It builds upon the initial post by detailing the practical implementation of using Spark to test services with complex input dependencies, aiming to improve test coverage and efficiency without creating a second implementation of the service.

2 posts · 2026

Timeline

Feature trailActive

CI Performance and Test Execution

This feature thread tracks Stripe's continuous efforts to optimize its Continuous Integration (CI) pipeline and testing infrastructure to handle a massive, rapidly growing codebase. Initial focus was on improving test execution speed and efficiency, leading to the development of sophisticated systems like Selective Test Execution. This system allows Stripe to run only a small percentage of tests on average, significantly reducing CI times and enabling faster development cycles. This post details the technical implementation and impact of Selective Test Execution on a 50M-line Ruby monorepo, demonstrating how it reduces test execution time and improves developer productivity.

4 posts · 2022–2026

Timeline

20222026
Feature trailActive

Tax ID Validation at Checkout

This feature thread tracks Stripe's efforts to streamline and optimize the checkout process, specifically focusing on the critical aspect of tax identification number (Tax ID) validation and jurisdiction resolution for Stripe Tax. The initial post introduced the trade-off between compliance and conversion, exploring the implementation of synchronous versus asynchronous Tax ID validation. This post details the development of a new jurisdiction resolution system (JRS) that provides a faster, less resource-intensive solution to the challenging problem of determining tax obligations in places with complicated, overlapping tax jurisdictions.

6 posts · 2025–2026

Timeline

20252026
Feature trailActive

Modern Java at Stripe

This feature thread tracks Stripe's strategic approach to modernizing its Java codebase. The initial post introduces the concept of treating language upgrades as a service, aiming to overcome the challenges of maintaining up-to-date language versions in a large enterprise environment. It highlights the importance of establishing a smooth upgrade path and the recurring costs associated with keeping the codebase current. This post details the practical implementation of this 'language upgrades as a service' approach, focusing on the technical challenges and solutions involved in upgrading Java versions across a massive codebase.

1 post · 2026

Timeline

Feature trailActive

Codebase Formatting and Standardization

This feature thread tracks Stripe's initiatives to maintain code quality and developer productivity across its massive codebase. It began with the introduction of rubyfmt, a Rust-based autoformatter, which was rolled out across the entire 25 million line Ruby codebase to ensure consistent formatting overnight. This effort highlights Stripe's commitment to large-scale code standardization and developer tooling. This post details the specific story and technical considerations behind the successful overnight rollout of rubyfmt across the entire codebase, including strategies for managing the scale and ensuring minimal disruption.

1 post · 2026

Timeline

Feature trailActive

Stripe Credits

This post continues the evolution of Stripe Credits, a programmable and auditable system for managing payments towards Stripe fees. It details the 'how' behind building this system, emphasizing its programmability and auditability, and its seamless integration with existing financial infrastructure. This system allows for virtual cashless payment methods for prepaid and Stripe-issued credits, integrating cleanly with accounting and compliance frameworks.

2 posts · 2025–2026

Timeline

20252026
Feature trailActive

Stripe Terminal On-Screen Input Collection

This feature thread tracks Stripe's efforts to enhance the capabilities of Stripe Terminal, focusing on consolidating customer interactions and reducing the need for multiple devices. This post details the development of on-screen input collection, allowing customers to enter payment details directly on a screen, eliminating the need for separate POS devices and manual data entry, thereby streamlining the in-person payment experience. This post further details the integration of web-based POS systems.

2 posts · 2025

Timeline

20252026
Feature trailCooling

Stripe Data Pipeline and BigQuery Integration

This feature thread tracks Stripe's efforts to enhance data accessibility and analytics capabilities for its users. The integration of Stripe Data Pipeline with Google BigQuery enables users to leverage powerful analytics tools for their Stripe data, facilitating automated data transfers, optimized reporting, and deeper business insights. This post details the evolution of data synchronization strategies as businesses scale, moving from simple scripts to more robust and scalable solutions, specifically focusing on data access patterns for simple Stripe integrations, including considerations for web backends, serverless functions, CDNs, and separate databases.

2 posts · 2024–2025

Timeline

20242026
Feature trailCooling

NFC Pass Access Control

This feature thread tracks Stripe's development of systems for integrating physical access control with digital payment and subscription management. This post details the integration of web-based POS systems with Stripe Terminal's on-screen input collection, allowing customers to enter payment details directly on a screen. This streamlines the in-person payment experience by eliminating the need for separate POS devices and manual data entry, and consolidates customer interactions.

1 post · 2025

Timeline

20252026
Feature trailCooling

Ledger: Money Movement Tracking and Validation

This feature thread tracks Stripe's development of Ledger, a system for tracking and validating money movement. The initial post introduces Ledger as a state-of-the-art system designed to provide a reliable and auditable record of all financial transactions within Stripe. It details the technical architecture, data modeling, and validation mechanisms employed to ensure the integrity and accuracy of money movement data. The system aims to support complex financial operations, regulatory compliance, and now includes integration with AI guardrails for enhanced security and automated decision-making in money movement processes.

2 posts · 2024–2025

Timeline

20242026
Feature trailCooling

Fraud Alert Workflows for Refunds

This feature thread tracks Stripe's development of automated workflows for fraud detection and its integration with refund processes. This capability enables the creation of early fraud alerts specifically to streamline refund operations, improving efficiency and reducing manual intervention by proactively identifying potentially fraudulent transactions.

1 post · 2025

Timeline

20252026
Feature trailCooling

API Request Optimization

This feature thread tracks Stripe's efforts to optimize API request efficiency for developers. Initial posts focus on reducing the number of API calls by leveraging features like the 'expand' parameter and implementing caching strategies. This post details advanced caching strategies using Amazon ElastiCache and DynamoDB to optimize Stripe API performance in AWS Lambda, focusing on managing API rate limits, reducing latency, and minimizing costs while ensuring data consistency and scalability in serverless environments.

2 posts · 2024–2025

Timeline

20242026
Feature trailCooling

Edge Metered Billing

This post continues the evolution of Stripe's development of scalable metered billing systems, focusing on handling massive event volumes at the edge. It details how to build serverless usage notification systems using AWS services integrated with Stripe's pay-as-you-go plans. This enables the creation of streamlined and easy-to-manage notification systems with minimal coding, building upon previous efforts in edge event processing and resilient webhook handling.

1 post · 2025

Timeline

20252026
Feature trailCooling

Enterprise Error Handling Patterns

This post continues the evolution of Stripe's advancements in providing robust error handling strategies for enterprise developers integrating with Stripe. It details how Stripe Workbench can be used to observe and debug both immediate and delayed payment events, providing insights into the timing and nature of payment processing. This builds upon previous efforts in debugging 3DS authentication and general integration issues.

11 posts · 2024–2025

Timeline

20242026
Feature trailCooling

SaaS Entitlements Management

This feature thread tracks Stripe's development of the Entitlements API for managing SaaS access control and feature entitlements. The API provides a solution for efficiently managing feature access based on customer plans, enabling differentiation between subscription tiers. It details how the API can be used to define and enforce feature availability, allowing businesses to build more sophisticated and flexible SaaS offerings. This post details how an AWS microservice architecture can be used to implement this.

3 posts · 2024–2025

Timeline

20242026
Feature trailCooling

Stripe Plugin Security Enhancements

This feature thread tracks Stripe's ongoing efforts to enhance the security of its plugins and integrations. Initial posts focus on moving away from unrestricted secret keys towards more secure authentication methods like restricted API keys and OAuth 2.0. This aims to protect merchant accounts, prevent unauthorized access, and avoid compliance fees. This post details how to secure Stripe API keys in AWS by implementing automatic rotation using AWS Secrets Manager and Lambda functions, further enhancing security.

2 posts · 2024–2025

Timeline

20242026
Feature trailCooling

Stripe Sandboxes for Developer Environments

This post continues the evolution of Stripe's efforts to create reusable and isolated developer environments, focusing on how to select and implement sandbox strategies that best suit an organization's development approach and team size, aiming to accelerate onboarding and streamline development workflows. This post specifically details how to use Stripe's Sandboxes to reproduce and troubleshoot errors in integrations without impacting live transactions, particularly for Connect onboarding flows. It also touches on automating sandbox creation via GitHub Actions and securing API keys.

8 posts · 2024

Timeline

20242026
Feature trailCooling

Stripe A/B Testing for Payment Flow Optimization

This post continues the evolution of Stripe's A/B Testing capabilities, focusing on optimizing payment flows and reducing code complexity. It details how developers can leverage Stripe's A/B testing to improve conversion rates by optimizing payment options without adding significant code. This builds upon previous efforts in experimentation and measurement.

1 post · 2024

Timeline

20242026
Feature trailCooling

3DS Authentication Debugging with Stripe Workbench

This post continues the evolution of Stripe's development of tools and capabilities to simplify and enhance the debugging of 3D Secure (3DS) authentication flows for developers. It details how Test Clocks can be used in conjunction with Stripe Workbench to effectively test and debug Stripe Billing integrations that involve time-sensitive events, such as subscriptions and usage-based billing. This builds upon previous efforts to debug 3DS authentication and general integration issues by providing a mechanism to control time within the testing environment.

3 posts · 2024

Timeline

20242026
Feature trailQuiet since 2024

ML Feature Development Platform

This feature thread tracks Stripe's development of systems and platforms to scale Machine Learning (ML) feature development. The initial post introduced Shepherd, a system that adapted Chronon to address the challenges of scaling ML feature development at Stripe. It details how Shepherd enables efficient creation, management, and deployment of ML features, focusing on technical aspects like data pipelines, feature stores, and model training infrastructure. This capability aims to accelerate the ML development lifecycle. This post details how Stripe adapted Chronon to build Shepherd, focusing on the specific technical challenges and solutions for scaling ML feature development, including data lineage, feature definition, and integration with existing infrastructure.

2 posts · 2023–2024

Timeline

20232026
Feature trailQuiet since 2022

Interactive Documentation with Markdoc

This feature thread tracks Stripe's development of Markdoc, a custom templating language and static site generator, to build interactive and maintainable documentation. Markdoc allows for the expression of interactivity and page logic without mixing code and content, enabling rich documentation experiences that blend static content with dynamic elements, improving both the authoring and reading experience for developers.

1 post · 2022

Timeline

20222026
Feature trailQuiet since 2022

Codebase Migration to TypeScript

This feature thread tracks Stripe's efforts to migrate its extensive codebase to TypeScript, aiming to improve developer productivity, code quality, and maintainability. The initial post details a large-scale migration of millions of lines of code, highlighting the technical challenges and strategies involved in such a significant undertaking. This post introduces Sorbet, Stripe's type checker for Ruby, demonstrating a commitment to static typing across different languages to enhance developer productivity and code quality.

2 posts · 2022

Timeline

20222026
Feature trailQuiet since 2020

Stripe Payments API Design Evolution

This post chronicles the evolution of Stripe's payments APIs over their first decade, highlighting how abstracting the complexity of payments has driven API design. It covers the technical considerations and trade-offs made to create a robust and developer-friendly payments platform.

1 post · 2020

Timeline

20202026