All External Accounts
Set opening balance
Sets the balance of the account at a specific time, which is necessary for showing both a current balance and a correct opening balance. 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.
POST
/
v1
/
businesses
/
{businessId}
/
custom-accounts
/
{customAccountId}
/
balance
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.
Body
application/json
The new balance for the custom account, in cents.
The timestamp when the new balance was recorded
Response
200 - application/json
Resource type. Value will be 'com.layerfi.controllers.EmptyResponse'.