Design scheduled payments and cancellation | Coinbase Interview Question