Capital One interview question

Design a credit card payment system