Capital One interview question

Bank API system design question