Design a Seven-Day Donation Campaign with Slow Payment Confirmation

Quick Overview

Design a seven-day USD donation campaign with durable payment intents, selective queue use, delayed confirmation, idempotent retries, and cutoff handling.

Design a Seven-Day Donation Campaign with Slow Payment Confirmation

Company: Whatnot

Role: Software Engineer

Category: System Design

Difficulty: medium

Interview Round: Technical Screen

Design a donation campaign that runs for seven days, accepts USD from US users, and uses an existing payment provider. Charity payout is outside scope. Explain where message queues are useful, when they can be omitted, and how the user experience handles slow provider or bank confirmation. ### Clarifying Questions to Ask - Does the campaign cutoff apply to payment initiation or final confirmation? - What peak traffic should be planned for, and how bursty is it near the deadline? - Does the provider support idempotency and asynchronous status callbacks? ```hint A timeout is not a payment outcome The provider may complete a payment even when your request or the user's page has timed out. ``` ### What a Strong Answer Covers - Durable donation intents, idempotent payment initiation, and server-enforced eligibility/currency. - Pending states and reconciliation for delayed or ambiguous confirmations. - Queue placement based on durability, backpressure, and latency trade-offs. - Campaign-boundary behavior and failure recovery. ### Follow-up Questions - What happens to an accepted pending donation when the campaign closes? - How would you recover when a callback arrives before the initiating request completes?

Overview: Design a seven-day USD donation campaign with durable payment intents, selective queue use, delayed confirmation, idempotent retries, and cutoff handling.

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

Whatnot logo
Whatnot
Feb 9, 2026
mediumSoftware EngineerTechnical ScreenSystem Design
1
0

Design a donation campaign that runs for seven days, accepts USD from US users, and uses an existing payment provider. Charity payout is outside scope. Explain where message queues are useful, when they can be omitted, and how the user experience handles slow provider or bank confirmation.

Clarifying Questions to Ask Guidance

  • Does the campaign cutoff apply to payment initiation or final confirmation?
  • What peak traffic should be planned for, and how bursty is it near the deadline?
  • Does the provider support idempotency and asynchronous status callbacks?

What a Strong Answer Covers Guidance

  • Durable donation intents, idempotent payment initiation, and server-enforced eligibility/currency.
  • Pending states and reconciliation for delayed or ambiguous confirmations.
  • Queue placement based on durability, backpressure, and latency trade-offs.
  • Campaign-boundary behavior and failure recovery.

Follow-up Questions Guidance

  • What happens to an accepted pending donation when the campaign closes?
  • How would you recover when a callback arrives before the initiating request completes?