Macquarie Group interview question

How to design a payment and inventory system