Nestcoin interview question

Designing a complex payment system