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.
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
Unique ID of the external account in an external system for linking and idempotency.
Source of the external account
UNIT
, PLAID
, API
, STRIPE
, CUSTOM
Opening balance of the account, in cents
Timestamp for when the account had this balance
When the opening balance timestamp was created
When the opening balance timestamp was updated