Capital One interview question

design a system to do payment.