Zwift interview question

How to implement a design for a payments system.