Loan subledger summary grouped by counterparty

GET/api/v1/loans/subledger

Business-wide loan subledger grouped by counterparty.

Query Parameters:

  • direction: Optional filter — lend (notes receivable) or borrow.

Returns: Counterparty groups with per-loan balances, accrued interest, and rolled-up totals.

Operation ID: get_loan_subledger_summary_api_v1_loans_subledger_get·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Query

directionstring

Filter by direction: lend or borrow.

Responses

200Successful Response

successboolean
messagestring
codestring
dataLoanSubledgerSummaryResponse

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject