Comparison
Stripe vs Adyen: Two Ways to Never Lose a Payment
By Ankur NayakReviewed
Stripe and Adyen both move enormous amounts of money for businesses around the world, and both have written about the engineering behind it. They agree on the fundamentals: every request must be safe to retry, and every movement of money must land in a double-entry ledger that sums to zero.
Where they differ is in what they optimise when something goes wrong. Stripe's public writing centres on a consistent API with layered protection and a central record it checks continuously. Adyen's centres on an edge that keeps accepting payments even when everything behind it is unavailable, and reconciles afterwards.
Stripe
Full designAdyen
Full designSide by side
| Dimension | Stripe | Adyen |
|---|---|---|
| Entry point | API edge with four kinds of rate limiter and load shedder; limiters fail open | Stateless Payments Acceptance Layer that scales linearly and may not write to central databases |
| Safe retries | Idempotency-Key on every POST; the first status code and body are saved and replayed | CockroachDB integrated with the acceptance layer so payment data for idempotency is available locally |
| Payment model | PaymentIntents: a server-side state machine that also covers 3D Secure and asynchronous methods | Payments accepted at the edge and forwarded to accounting asynchronously from a durable local queue |
| Ledger | Immutable double-entry event log, ~5B events a day (2024), with clearing, timeliness and completeness checks | Double-entry accounting written only through mathematically verified templates; ~50 rows per payment |
| Primary databases | DocDB: in-house sharded service on MongoDB, 2,000+ shards behind Go proxies | PostgreSQL clusters (accounting sharded round-robin), plus CockroachDB at the edge |
| Changing the database without downtime | A Data Movement Platform migrates chunks between shards with a traffic switch under two seconds | Traffic is paused and queued while PostgreSQL is upgraded from snapshots; payment acceptance is unaffected |
| When the core is unavailable | Shed non-critical traffic to keep capacity for requests that move money | Keep accepting at the edge and queue payments for accounting until it is back |
| Scale (latest public) | $1.9T total volume in 2025 | €803.8B processed volume in H1 2026 |
Verdict
Both designs make retries safe and money provable; they differ in where they absorb failure. Stripe protects a single consistent API and its central stores with limiters, shedding and continuous ledger checks. Adyen moves the guarantee to the edge: accept and record locally, then account asynchronously. If you're designing a payment system, decide first which failure you must survive while still taking money, and let that choose between the two shapes.
Frequently asked questions
Do Stripe and Adyen both use double-entry ledgers?
Yes. Stripe's Ledger is an immutable double-entry log of money movement that it checks for balances that fail to clear, and Adyen's accounting system writes double-entry records only through templates verified to sum to zero.
Which is more available during an outage, Stripe or Adyen?
Their public designs aim at different failures. Adyen's acceptance layer is built to keep taking payments while central accounting is down, queuing them locally. Stripe's limiters and load shedders keep capacity for the requests that move money when its fleet is overloaded. Neither company publishes figures that would settle a head-to-head comparison.
More comparisons
- Discord vs Slack: Two Ways to Build Real-Time Chat
- Netflix vs Uber: Streaming Bytes vs Real-time State
- News Feed vs Notification Service: Two Kinds of Fan-out
- Spanner vs DynamoDB: Global SQL or Predictable Key-Value
- WhatsApp vs Slack/Discord-style Chat: Architecture Compared
- YouTube vs Twitch: On-Demand Video vs Live Streaming