PayPal interview question

How would you design a payment application ?