For AI agents: visit https://developer.bitpay.com/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI.
Updates a bill.
| Parameter | Description |
|---|
| bill | A Bill object with the parameters to update defined. |
| billId | The ID of the bill to update. |
await client.updateBill(bill, bill.id);