Design a Personal Finance Aggregator Like Mint

Quick Overview

Design Mint, a personal finance service that links users' bank and card accounts, imports balances and transactions, categorizes spending, tracks budgets and sends alerts. Tests import pipelines against unreliable outside institutions, idempotent ingestion, secure token storage, budget alerts and senior-level trade-offs.

Design a Personal Finance Aggregator Like Mint

Company: Datadog

Role: Software Engineer

Category: System Design

Difficulty: medium

Interview Round: Onsite

Design Mint, a personal finance service. Assume these core features: users link their bank, credit card and other financial accounts; the service imports balances and transactions from those institutions, categorizes spending, tracks monthly budgets and alerts users about their money. ```hint Plan for institutions you do not control Account data comes from thousands of outside institutions with different speeds, limits and outages. Decide how imports are scheduled and retried, and how they are kept away from the user-facing read path. ``` ```hint The same purchase can arrive twice A purchase can show up first as pending and later as posted, sometimes with a different amount or identifier. Decide how you recognize it. ``` ### Constraints and Clarifications - Assume account data is fetched through an aggregation API that returns balances and transactions for a linked account, using a token or credential the user grants when linking. - The service only reads account data; it does not move money. ### Clarifying Questions - How many users and linked accounts per user are there, and how many transactions does a typical account produce per day? - How fresh must balances and transactions be: refreshed when the app opens, a few times a day, or close to real time? - Which alerts are in scope: budget thresholds, large transactions, low balances, upcoming bills? - Can users define their own categories and rules, or only re-label transactions? - How much transaction history should be imported when an account is first linked? ### What a Strong Answer Covers - Account linking with secure storage of tokens or credentials, and a flow for when an institution requires the user to sign in again. - An import pipeline with scheduling, per-institution rate limits, retries and isolation from slow institutions. - Idempotent transaction ingestion with deduplication across pending and posted versions. - Categorization that combines automatic rules or models with user overrides, and keeps budgets consistent when categories change. - Budget tracking and alerts that fire once per threshold, and dashboard reads that do not scan raw history. - Senior-level judgment: estimates that drive the design, failure modes, security and privacy of financial data, and observability per institution. ### Follow-up Questions - A large institution is down for six hours. What do users see, and what happens when it comes back? - A user re-categorizes a transaction from last month. What has to be recomputed, and should any alert change? - How would you support near-real-time alerts for institutions that can push transaction notifications? - How would you protect stored tokens and credentials if an attacker gained access to one internal service?

Overview: Design Mint, a personal finance service that links users' bank and card accounts, imports balances and transactions, categorizes spending, tracks budgets and sends alerts. Tests import pipelines against unreliable outside institutions, idempotent ingestion, secure token storage, budget alerts and senior-level trade-offs.

Read the full Datadog Software Engineer interview experience this question came from

Datadog logo
Datadog
Nov 25, 2026
mediumSoftware EngineerOnsiteSystem Design
0
0

Design Mint, a personal finance service. Assume these core features: users link their bank, credit card and other financial accounts; the service imports balances and transactions from those institutions, categorizes spending, tracks monthly budgets and alerts users about their money.

Constraints and Clarifications

  • Assume account data is fetched through an aggregation API that returns balances and transactions for a linked account, using a token or credential the user grants when linking.
  • The service only reads account data; it does not move money.

Clarifying Questions Guidance

  • How many users and linked accounts per user are there, and how many transactions does a typical account produce per day?
  • How fresh must balances and transactions be: refreshed when the app opens, a few times a day, or close to real time?
  • Which alerts are in scope: budget thresholds, large transactions, low balances, upcoming bills?
  • Can users define their own categories and rules, or only re-label transactions?
  • How much transaction history should be imported when an account is first linked?

What a Strong Answer Covers Guidance

  • Account linking with secure storage of tokens or credentials, and a flow for when an institution requires the user to sign in again.
  • An import pipeline with scheduling, per-institution rate limits, retries and isolation from slow institutions.
  • Idempotent transaction ingestion with deduplication across pending and posted versions.
  • Categorization that combines automatic rules or models with user overrides, and keeps budgets consistent when categories change.
  • Budget tracking and alerts that fire once per threshold, and dashboard reads that do not scan raw history.
  • Senior-level judgment: estimates that drive the design, failure modes, security and privacy of financial data, and observability per institution.

Follow-up Questions Guidance

  • A large institution is down for six hours. What do users see, and what happens when it comes back?
  • A user re-categorizes a transaction from last month. What has to be recomputed, and should any alert change?
  • How would you support near-real-time alerts for institutions that can push transaction notifications?
  • How would you protect stored tokens and credentials if an attacker gained access to one internal service?