Path Parameters
ID of the open invoice to pay.
Body
Override the default payment method with a specific Payment Method ID.
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.
Unique identifier for the invoice object.
null
String representing the object’s type. Always invoice.
null
Total amount due on the invoice, in the smallest currency unit (e.g., cents).
null
Total amount paid toward the invoice.
null
Time at which the invoice was created.
null
ISO 4217 three-letter currency code (e.g., usd).
null
Timestamp when the invoice is due.
null
Array of individual line items included in the invoice.
null
Timestamp when the invoice was fully paid, if applicable.
null
End of the billing period this invoice covers.
null
Start of the billing period this invoice covers.
null
Current status of the invoice.
draft, open, paid, overdue, void null

