Stripe

Production-grade database schema for a Stripe-like payment platform covering merchant accounts, customer management, payment methods, payment intents, charges, refunds, disputes, subscription billing with plan management, invoice generation, webhook event delivery, and balance transactions.

PostgreSQL15 tablesSaaS
paymentsfintechbillingsubscriptionsapi
Created with ERD Studio

Tables in this template

accountsAccounts
9 cols
customersCustomers
9 cols
payment_methodsPayment Methods
12 cols
payment_intentsPayment Intents
12 cols
chargesCharges
14 cols
refundsRefunds
8 cols
productsProducts
8 cols
pricesPrices
10 cols
subscriptionsSubscriptions
11 cols
subscription_itemsSubscription Items
6 cols
invoicesInvoices
12 cols
invoice_itemsInvoice Items
9 cols
disputesDisputes
9 cols
webhook_endpointsWebhook Endpoints
8 cols
webhook_eventsWebhook Events
10 cols

Related Templates

View all templates
Stripe Database Schema - ERD Template