Dissociate a payment from invoice
Hi everyone,
I am dissociating a payment against the invoice and marking the invoice as void, this is happening manually but I want to achieve this using deluge. I have checked the Book API documentation but there is only I can GET, PUT, and DELETE a customer payment and there is no option available for dissociation of a payment. I have tried to remove the invoice values from Payment records but I got the error.
{"code":4038,"message":"Some of the invoices for which you've chosen to record payments do not exist. Please check and retry."}