Update damage waiver settings
Turns the company's damage waiver program on or off and changes the tenant fee, the grace period, and the accounts the charges post to. Returns the settings as they now stand. Requires the leasing_insurance:write permission.
Authorization
AuthorizationstringrequiredBody
application/json
Every field is optional, and an omitted field keeps its stored value.
enrolledInDamageWaiverProgrambooleanWhether the company runs the damage waiver program. Turning it on for the first time stamps the enrollment date and makes MagicDoor responsible for insurance notices. Turning it off hands notices back and cancels every grace period in progress.
monthlyFeenumberThe monthly damage waiver fee charged to a tenant, in dollars. Must be 0 or more.
gracePeriodInDaysintegerHow many days a tenant gets to upload their own insurance after a notice before the waiver is applied. Must be 0 or more.
recurringLeaseChargeChartOfAccountIdstringThe account the monthly tenant charge posts to. Must be one of the company's own revenue accounts and must not be deleted.
companyExpenseChartOfAccountIdstringThe account used when MagicDoor bills the company for its enrollments. Must be one of the company's own expense accounts and must not be deleted.
Response
200 · The settings after the change.
companyIdstringThe company these settings belong to.
enrolledInDamageWaiverProgrambooleanTrue when the company runs the damage waiver program. While it is on, MagicDoor sends the insurance notices and enrolls uninsured leases once their grace period ends.
enrollmentDatestring · date-timeWhen the company first turned the program on. Leases that started before this date are never enrolled automatically and need a notice campaign. Absent when the company has never enrolled.
monthlyFeenumberThe monthly damage waiver fee charged to a tenant, in dollars. Defaults to 23.00 until changed.
gracePeriodInDaysintegerHow many days a tenant gets to upload their own insurance after a notice before the waiver is applied. Defaults to 7.
recurringLeaseChargeChartOfAccountIdstringThe revenue account the monthly tenant charge is posted to.
companyExpenseChartOfAccountIdstringThe expense account used when MagicDoor bills the company for its damage waiver enrollments.
damageWaiverCostnumberWhat MagicDoor charges the company per enrolled lease each month, in dollars. Compare it with monthlyFee to see the company's margin.
unitCountintegerThe unit count recorded on the company's onboarding record. 0 when there is no onboarding record.
createdstring · date-timeWhen the settings record was created.
updatedstring · date-timeWhen the settings last changed.
400 · A fee or grace period was negative, or a chart of account was given that is not of the required type.
401 · The access token is missing, expired, or not a company portal token.
403 · The token is valid but the caller does not hold the `leasing_insurance:write` permission.
404 · A chart of account id in the request does not exist for this company, or has been deleted.
The program side effects are decided from the value in the request, and a missing enrolledInDamageWaiverProgram counts as false. So a request that only changes, say, monthlyFee on an enrolled company hands the insurance notices back to the generic platform flow and cancels every grace period in progress, even though the stored flag stays true. Send the flag on every call.