List a lease's subsidies
Returns a page of the subsidies on this lease, with the paying bodies and accounts alongside. Only active subsidies come back unless you ask for the inactive ones too.
Authorization
AuthorizationstringrequiredPath parameters
leaseIdstringrequiredThe lease whose subsidies you want. A Snowflake id, sent as a decimal string.
Query parameters
pageintegerWhich page to return. Starts at 1.
pageSizeintegerHow many rows per page, between 1 and 100.
activebooleanWhether to return active subsidies or deactivated ones. Defaults to true, so only active subsidies come back unless you send active=false.
subsidyTypeenum<string>Only subsidies under this programme.
subsidizerIdsstring[]Only subsidies paid by any of these bodies.
unitIdsstring[]Only subsidies on any of these units.
propertyIdsstring[]Only subsidies on any of these properties.
portfolioIdsstring[]Only subsidies in any of these portfolios.
Response
200 · A page of subsidies.
itemsLeaseSubsidy[]The rows on this page.
currentPageintegerThe page you asked for. Pages start at 1.
totalPagesintegerHow many pages exist at this page size.
pageSizeintegerHow many rows a page holds.
totalCountintegerHow many rows match in total, across all pages.
chartOfAccountsChartOfAccount[]Chart-of-account records referenced above.
subsidizersSubsidizer[]The bodies paying the subsidies above.
propertyManagersPropertyManager[]Property managers referenced as creators.
tenantsTenant[]Tenants referenced as creators.
vendorsVendor[]Vendors referenced as creators.
ownersOwner[]Owners on the subsidies, and any referenced as creators.
400 · The request failed validation. `errors` maps each field name to what was wrong with it.
401 · The access token is missing, expired, or not for this company.
404 · No lease matched the id, or it belongs to another company.
A lease subsidy is a standing arrangement where a third party — a housing authority, say — pays part of the rent. MagicDoor raises the subsidy's share as a recurring payment on the lease, so the tenant only owes their own portion. Deactivating a subsidy stops future payments without deleting its history.