Skip to main content

Update an invoice payment

PATCH 

/api/v1/invoices/:invoice_id/payments/:id

Updates an existing payment. On a payment collected through GoCardless, amount, payment_date and payment_means_code are immutable - they are facts of the mandate collection - and submitting any of them is refused with 422. Only reference and note can be changed on such a payment. On a payment created by confirming a bank reconciliation only note can be changed: a request carrying any other attribute, even with its current value, is refused whole with 422 dependent_records. A note-only change touches nothing else - no lifecycle event, no e-reporting or accounting update.

Request​

Responses​

The payment was updated with the submitted attributes