Capital One interview question

Design banking system, 2 leetcode mediums, pretty straighforward