Skip to main content

List accounts

List accounts. Requires a valid Bearer session or a valid internal identity.
1 min read
get/finance/profiles/{studioId}/accounts
Request example
Response
get/finance/profiles/{studioId}/accounts

Authorization

Authorizationstringheaderrequired#
Better Auth session token. Go resolves the token in the session table and maps it to users.id via auth_user_id. The profile is taken from the path param :studioId when applicable.

Path parameters

studioIdstringrequired#
Identifier or key studioId.

Query parameters

includeArchivedboolean#
Filter includeArchived.

Responses

application/json
OK.
dataobject[]required#
Show child attributes
idstringrequired#
studioIdstringrequired#
namestringrequired#
kindstring#
currencystring#
openingBalanceCentsintegerrequired#
balanceCentsintegerrequired#
creditLimitCentsinteger#
statementDayinteger#

Range: 1–31

isPrimarybooleanrequired#
maskLast4string#

Pattern: ^[0-9]{4}$

isArchivedbooleanrequired#
createdAtstringrequired#
updatedAtstringrequired#
request_idstring#