All External Accounts
Recalculate opening balance
Overwrite the opening balance of the account based on the current balance and the transaction history. This is useful when configuring the account for the first time or when accounting features are enabled starting at a time after the account was created and should be done after explicitly setting the account balance via the set opening balance endpoint.
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
Content-Type must be set to application/json
Path Parameters
The UUID of the business to set opening balance for.
The UUID of the custom account to set opening balance for.
Response
200
application/json
The response is of type object
.