Design ChatGPT Subscription Entitlements Across Web, iOS and Android Billing
Last updated: November 29, 2026
Quick Overview
Design the system that sells ChatGPT Plus and Pro through Stripe on the web and through Apple and Google in-app purchases, and keeps a single, correct entitlement for each user across all devices.
OpenAI
November 29, 20260
0
0 solved
Design the system that sells ChatGPT Plus and Pro through Stripe on the web and through Apple and Google in-app purchases, and keeps a single, correct entitlement for each user across all devices.
ChatGPT subscriptions are sold through several payment channels, each with its own receipts, renewals and refund notifications. Interviewers look for a ledger-like entitlement model that tolerates out-of-order webhooks and never locks a paying user out or gives away paid access indefinitely.
What the Interviewer Expects
- Model subscriptions per channel and derive one entitlement per user
- Process provider webhooks idempotently and in a way robust to reordering
- Reconcile periodically against provider APIs as the source of truth
- Handle upgrades, downgrades, grace periods, refunds and chargebacks
- Expose a fast entitlement check to the rest of ChatGPT
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- A user subscribes on iOS and then again on the web; what do you do?
- How do you handle a billing retry period where payment failed but Apple is still trying?
- How do workspace seats (Team, Enterprise) fit this model?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
- Purchase Plus or Pro via Stripe, App Store or Play Store.
- Entitlement applies everywhere within seconds of purchase.
- Handle renewals, cancellations (access until period end), refunds, family or ...
High-Level Design
- Channel adapters per provider: Stripe webhooks, App Store Server Notifications, Google Real-Time Developer Notifications. Each verifies signatures and writes raw events to an append-only **event...