POST
Remove A Payment
Undo a payment: what it paid is owed again. A payment from a bank deposit puts the deposit back in review with its own payee and memo. One recorded by hand has its entry voided. An invoice's entries can't be edited, rejected or merged anywhere else, so this is how a payment changes.
Parameters
params.invoice_idString!requiredThe invoice
params.payment_idString!requiredFrom get_invoice's payments