router.route('/:id/paid').put(
    secure,
    wrap(function* markAsPaid(req, res) {
      const { id } = req.params;