Stripe

Ruby-based payment infrastructure handling billions in transactions annually

Employees:8,000+
Revenue:$14B+
Founded:2010
HQ:San Francisco, CA
Key Metrics
Users100M+ businesses
Requests500+
Uptime99.999%
Latency<100ms
Payment Volume$1T+ annually
Countries46+
Currencies135+
Tech Stack
React
Ruby
Go
PostgreSQL
Redis
AWS
Terraform
Apache Kafka
Radar
System Architecture

API-First Payment Infrastructure

Stripe Payment Architecture

Secure Payment Processing

Client Integration

Stripe.js
JavaScript, TypeScript
Stripe Elements
React, Web Components
Server SDKs
Ruby, Python, Node.js, Go

API Gateway

API Gateway
Rate Limiting, Auth
Webhooks
Event Delivery

Payment Services

Payments Core
Ruby, PostgreSQL
Radar (Fraud)
ML, Python
Billing
Ruby, Subscriptions
Connect
Marketplaces

Payment Network

Visa/MC
Card Networks
Banks
ACH, SEPA
Wallets
Apple Pay, Google Pay
HTTPSSecure

Key Components

Radar Fraud Detection

Machine learning-based fraud detection analyzing billions of data points

Python
PyTorch
Real-time ML
Payment Router

Intelligent routing to optimize authorization rates across networks

Ruby
Go
Redis
Idempotency Layer

Ensures exactly-once payment processing semantics

PostgreSQL
Redis
Distributed locks