Macquarie Group Interview Question

How to design a payment and inventory system