Your service is integrated with an external payment provider, and on the test environment it's either unavailable or takes a minute to respond. How would you test this integration?
~4 min by voice
How to approach it
The interviewer wants to see whether you can isolate an unstable external dependency without losing confidence in the real integration. The key is understanding the risks of the payments domain: a timeout with an unknown outcome, retries, double charges, webhooks.
The interviewer will ask this question and listen. Think out loud and ask for a hint if you need one. When you're done, pause or tap “That's my answer”. In about a minute, your score and the points you covered show up here.