OpenPayd interview question

How would you build a tool with controls to have this framework function?