Katkat

Schedule and execute future payments

HubSpotSoftware Engineer · Online Assessment

Last updated

This interview question evaluates requirements, scale assumptions, API/data design, architecture, trade-offs, failure modes, and rollout in a realistic interview setting. A strong answer for Schedule and execute future payments states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

Question

Design a feature to schedule payments at future timestamps. The system must execute the payment exactly at the scheduled time, update the involved account balances, and skip execution if the source balance is insufficient.