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
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
Content-Type
string
Content-Type must be set to application/json
Path Parameters
businessId
string
requiredThe UUID of the business to set opening balance for.
customAccountId
string
requiredThe UUID of the custom account to set opening balance for.
Body
application/json
amount
integer
The new balance for the custom account, in cents.
date
string
The timestamp when the new balance was recorded
Response
200 - application/json
type
string
Resource type. Value will be 'com.layerfi.controllers.EmptyResponse'.