SpinTheMic
Pro

Interview practice question

Exactly-once with an external API

System Design · Messaging and Queues · Experienced

A consumer reads "send payout" events and calls a bank API. Duplicate payouts are unacceptable. How do you make this safe?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Idempotency key per payout.
  • Bank API supports idempotency keys.
  • Record payout state before/after call.
  • Query bank on uncertain outcomes.
  • Reconciliation.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics