Support for API version 2020-08-27
This should be the only breaking change:
Invoices will no longer send the invoice.payment_succeeded event when paid. You can instead use the invoice.paid event, which will also be sent when an invoice is marked as paid via paid_out_of_band.
We will need to change from invoice.payment_succeeded to invoice.paid. This does not break backwards compatibility.