GET
/
organizations
/
{organizationId}
/
loans

Path Parameters

organizationId
string
required

Query Parameters

portfolioId
string

The account to filter by

loanIds
string[]

The list of loan ids to filter by

loanSide
enum<string>

The loan side to filter by. See details

Available options:
lend,
borrow
loanType
enum<string>

The loan type to filter by. See details

Available options:
agency-lending-parent-loan,
agency-lending-collateralised-child-loan,
agency-lending-uncollateralised-child-loan,
agency-lending-first-lien-child-loan,
bilateral-lending-title-transfer-collateralised-loan
loanTypes
enum<string>[]
Available options:
agency-lending-parent-loan,
agency-lending-collateralised-child-loan,
agency-lending-uncollateralised-child-loan,
agency-lending-first-lien-child-loan,
bilateral-lending-title-transfer-collateralised-loan
statuses
enum<string>[]

The loan status to filter by. See details

Available options:
awaiting-approval,
awaiting-acceptance,
awaiting-collateral,
awaiting-interest-payment,
disbursing,
active,
repaying,
defaulting,
defaulted,
cancelled,
rejected,
errored,
repaid,
repaying-interest,
interest-repaid,
securing-collateral,
collateral-secured,
releasing-collateral,
collateral-released,
closed
isOpen
boolean
default:
false

Flag to filter out open loans

includeCollaterals
boolean
default:
false

Flag indicating if collaterals should be included in embedded

includeCounterparties
boolean
default:
false

Flag indicating if counterparties should be included in embedded

includeChildLoans
boolean
default:
false

Flag indicating if child loans should be included in embedded - Only applicable for agency lending parent loans

includeLoanAllocations
boolean
default:
false

Flag indicating if allocations should be included in embedded

includeLoanInterest
boolean
default:
false

Flag indicating if loan interest should be included in embedded - Only applicable for bilateral loans

limit
string

The number of loans to include in the response

offset
string

The number of loans to skip in the response

sortBy
string
default:
LoanStatus by relevance

The field to sort by. Currently supported: updatedAt

sortDirection
enum<string>

The direction to sort by - must be used in conjunction with sortBy. See details

Available options:
ASC,
DESC

Response

200
application/json
OK
loans
object[]
required

The list of loans