Invoices now include a sublist of refunds through the refunds fieldBreaking changes
What’s new
Changes the refunds property on the Charge object from an array to a sublist object, which contains the data, has_, and url properties.
Impact
Changing the refunds property on the Charge object changed from an array to a sublist offers more consistent and detailed refund information.