SpinTheMic
Pro

Interview practice question

Your API calls a non-idempotent external API

Backend Engineering · API Design · Experienced

Your API's "send money" endpoint calls a bank API that does not support idempotency keys. How do you avoid duplicate transfers on retries?

What a strong answer covers

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

  • Record transfer intent before calling.
  • Unique reference sent to bank if possible.
  • On timeout, query status instead of retrying.
  • Reconciliation with bank statements.
  • Manual review for unknowns.
Practise this topic

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

See all topics