Add JSON format to /invoice_payments/:id/(un)pay