Renames account_balance to balance on Customer objectBreaking changes
What’s new
Renames the Customer object’s account_
value to balance
. With this, a new Customer Balance Transactions API is available:
- Updates the customer’s
balance
by incrementing or decrementing its current value by a specifiedamount
and attachingmetadata
to the change. - Retrieves a history of changes to the customer’s
balance
.
Impact
By renaming the account_
property to balance
, the terminology is now better aligned with common usage. Additionally, the new Customer Balance Transactions API provides you with the ability to directly update a customer’s balance by incrementing or decrementing the value, as well as attach metadata to these balance changes.