RyzeDeskRyzeDesk

Stripe

4105 articles

Customer balances are now returned when voiding invoices


Breaking changes

Customer balances are now returned when voiding invoices Breaking changes

What’s new

Customer balances applied to all invoices are now debited or credited back to the customer when voided. Earlier, applied customer balances weren’t returned to the customer and were consumed. To achieve this behaviour in earlier API versions:

  • Set consume _ applied _ balance to false when voiding invoices in /v1/invoices/:id/void .
  • Set invoice _ customer _ balance _ settings[consume _ applied _ balance _ on _ void] to false in /v1/subscriptions create or update to force this behaviour for invoices voided by a subscription.
  • Set subscription _ data[invoice _ customer _ balance _ settings][consume _ applied _ balance _ on _ void] to false in /the relevant part of the product create to force this behaviour for invoices voided by subscriptions created with Checkout.

Impact

Lets you have customer balances properly credited back to the customer when invoices are voided. Previously, any customer balances applied to the voided invoices would be consumed and not returned to the customer, which led to unexpected balance depletion.

Changes

ParameterChangeResources or endpoints
balanceChangedInvoice

Upgrade

  1. View your current API version in Workbench.
  2. If you use an SDK, upgrade to the corresponding SDK version for this API version.
  • If you don’t use an SDK, update your API requests to include Stripe-Version: 2019-12-03
  1. Upgrade the API version used for webhook endpoints .
  2. Test your integration against the new version.
  3. If you use Connect, test your Connect integration .

Learn more about Stripe API upgrades.

Last verified 2026-09-27

Is this helpful?