Adds support for partial payments on invoices
What’s new
We added support for attaching multiple Payment Intents to an Invoice. Allowing partial payments and multiple payments on invoices provides greater flexibility for businesses and customers in managing payments and cash flow. We also introduced the invoice_
webhook to track when an attached payment transitions to the paid
status. To support issuing credit notes for partially paid invoices, we added a mixed
type, pre_
field, and post_
field to credit note objects.
Impact
Attach multiple payments to an invoice
You can now use the Attach Payment API to attach multiple payments to an invoice:
Issue credit notes for partially paid invoices
You can continue to use the Create Credit Note method to issue credit notes for partially paid invoices. A credit note first reduces the invoice’s amount_
(and amount_
), but not below zero. The pre_
field on the credit note object tracks this portion. The remaining amount after reducing the invoice’s amount_
to zero applies to the post_
field on the credit note object. A credit note has a mixed
type if both the pre_
and the post_
are non-zero.
For more information about issuing credit notes, see the Create Credit Notes API.