Create a subsidy
Sets up a third party to pay part of this lease's rent on a schedule. Set createPastSubsidies to true to also record the payments that would already have fallen due since effectiveDate.
Authorization
AuthorizationstringrequiredPath parameters
leaseIdstringrequiredThe lease to put the subsidy on. A Snowflake id, sent as a decimal string.
Body
application/json
subsidizerIdstringrequiredThe body paying the subsidy. A Snowflake id, sent as a decimal string.
chartOfAccountIdstringrequiredAccount to book the subsidy payments to. A Snowflake id, sent as a decimal string.
amountnumberrequiredHow much the subsidy pays each period, as a decimal of at least 1.
createPastSubsidiesbooleanrequiredWhether to record the payments that fell due between effectiveDate and today.
subsidyTypeenum<string>Which programme this is.
subsidyFrequencyenum<string>How often the subsidy pays.
effectiveDatestring · dateFirst date the subsidy pays.
endDatestring · dateLast date it pays. Must be later than effectiveDate.
ownerIdstringOwner to record the subsidy against. A Snowflake id, sent as a decimal string.
voucherNumberstringThe voucher number the paying body uses. 1 to 100 characters.
descriptionstringWhat the subsidy is for. Up to 1000 characters.
Response
200 · The subsidy that was created.
idstringId of the subsidy. A Snowflake id, sent as a decimal string.
leaseIdstringThe lease it applies to. A Snowflake id, sent as a decimal string.
ownerIdstringThe owner the subsidy is recorded against, when one is set. A Snowflake id, sent as a decimal string.
unitIdstringUnit the lease is on. A Snowflake id, sent as a decimal string.
propertyIdstringProperty the lease is on. A Snowflake id, sent as a decimal string.
portfolioIdstringPortfolio the lease rolls up to. A Snowflake id, sent as a decimal string.
subsidizerIdstringThe body paying the subsidy. A Snowflake id, sent as a decimal string.
chartOfAccountIdstringAccount the subsidy payments are booked to. A Snowflake id, sent as a decimal string.
subsidyTypeenum<string>Which programme this is: section8 for a Housing Choice Voucher, vash for Veterans Affairs Supportive Housing, ehv for an Emergency Housing Voucher, fup for the Family Unification Program, projectBased for a Project-Based Voucher, or other.
voucherNumberstringThe voucher number the paying body uses. Up to 100 characters.
descriptionstringWhat the subsidy is for. Up to 1000 characters.
amountnumberHow much the subsidy pays each period, as a decimal amount.
subsidyFrequencyenum<string>How often the subsidy pays.
effectiveDatestring · dateFirst date the subsidy pays.
endDatestring · dateLast date it pays. Absent when it runs indefinitely.
lastSubsidystring · date-timeWhen it last paid.
nextSubsidystring · date-timeWhen it next pays.
activebooleanWhether the subsidy is switched on. A deactivated subsidy keeps its history but stops paying.
creatorobjectWho created the record.
createdstring · date-timeWhen the subsidy was created, in the company's timezone.
updatedstring · date-timeWhen it last changed.
ownerobjectThe owner the subsidy is recorded against, when one is set.
subsidizerobjectThe body paying the subsidy.
chartOfAccountobjectThe account the subsidy payments are booked to.
creatorInfoobjectThe full record of whoever created this, under whichever one key matches the creator's type.
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, subsidizer or chart of account 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.