Recieve payment for invoice API

Recieve payment for invoice API

Hello,

I have an integration scenario where when a customer pays an shopify order then a sales order is created in zoho inventory and from sales order we create a sales invoice using deluge script. I want to mark the sales invoice as "paid". I am not able to find as by which API I can do it automatically. I can see there is API to mark invoice as sent but no API to mark it as paid ?

Ex call I have. I want to use "paid" instead of sent but that does not work (it says invalid url). So which API is used to record payment against an invoice and mark the invoice as Paid ?

respond = invokeurl
    [
        url :"https://inventory.zoho.com/api/v1/invoices/" + invoiceID + "/status/sent?authtoken=" + authtoken + "&organization_id=" + organizationID
        type :POST
    ];

Thanks