Skip to main content

get debt

Get a debt by id. Requires Authorization: Bearer with a Better Auth session token.
1 min read
get/finance/profiles/{studioId}/debts/{debtId}
Request example
Response
get/finance/profiles/{studioId}/debts/{debtId}

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.
debtIdstringrequired#
Identifier or key debtId.

Responses

application/json
OK.
dataobjectrequired#
Show child attributes
idstringrequired#
namestringrequired#
kindstringrequired#
accountIdstring#
currentBalanceCentsintegerrequired#
startingBalanceCentsintegerrequired#
settledAtstring#
request_idstring#