Capital One interview question

Design a credit card system. Debugging.