Path Parameters
ID of the open invoice to pay.
Body
application/json
Response
Returns the Invoice object with status updated to paid, amount_paid populated, and paid_at set to the payment timestamp. Raises an error if the invoice is already paid, void, or no default payment method is available.