PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/System Design/Stripe

Design a Merchant Ledger Service

Last updated: Apr 6, 2026

Quick Overview

This question evaluates system design skills related to modeling monetary values, transactional integrity, idempotency, auditability, concurrency control, storage choices, and scalability for payment-ledger systems, testing knowledge of distributed systems and data consistency trade-offs.

  • medium
  • Stripe
  • System Design
  • Software Engineer

Design a Merchant Ledger Service

Company: Stripe

Role: Software Engineer

Category: System Design

Difficulty: medium

Interview Round: Onsite

Design a ledger service for a payments platform. The system must provide: - An API to record a transaction for a merchant. - An API to query the current balance of a merchant. Your design should explain: - How to model money and price values safely. - How to represent debits, credits, and currencies. - How to prevent double posting and support idempotent retries. - How to maintain an auditable transaction history. - How to keep balances correct under concurrency, retries, and partial failures. - What storage model, APIs, and consistency guarantees you would choose. - How the system would scale as transaction volume grows.

Quick Answer: This question evaluates system design skills related to modeling monetary values, transactional integrity, idempotency, auditability, concurrency control, storage choices, and scalability for payment-ledger systems, testing knowledge of distributed systems and data consistency trade-offs.

Related Interview Questions

  • Design a Superhero Dispatch System - Stripe (medium)
  • Design a Distributed Metrics Counter - Stripe (hard)
  • Design a superhero incident dispatch system - Stripe (medium)
  • Design a local activity counter service - Stripe (hard)
  • Design ledger and bikemap integration - Stripe (hard)
Stripe logo
Stripe
Oct 7, 2025, 12:00 AM
Software Engineer
Onsite
System Design
4
0
Loading...

Design a ledger service for a payments platform.

The system must provide:

  • An API to record a transaction for a merchant.
  • An API to query the current balance of a merchant.

Your design should explain:

  • How to model money and price values safely.
  • How to represent debits, credits, and currencies.
  • How to prevent double posting and support idempotent retries.
  • How to maintain an auditable transaction history.
  • How to keep balances correct under concurrency, retries, and partial failures.
  • What storage model, APIs, and consistency guarantees you would choose.
  • How the system would scale as transaction volume grows.

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More Stripe•More Software Engineer•Stripe Software Engineer•Stripe System Design•Software Engineer System Design
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.