POST
/
v1
/
businesses
/
{businessId}
/
custom-accounts
/
{customAccountId}
/
balance

Authorizations

Authorization
string
headerrequired

Bearer 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
required

The UUID of the business to set opening balance for.

customAccountId
string
required

The 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'.