Inventory API - How do I add a payment to a bill using the API?

Inventory API - How do I add a payment to a bill using the API?

I can update the "notes" field but I don't know how to add a payment to an existing bill.
Is this possible? Does someone have a working example?