Calculate a prorated rent amount
Works out the part-period rent between a lease's start date and the first full charge date. Pass the answer as proratedAmount when you create the lease. Nothing is stored by this call.
Authorization
AuthorizationstringrequiredBearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.
Query parameters
rentAmountnumberrequiredThe full-period rent, as a decimal amount of at least 1.
example: 1850
leaseStartDatestring · daterequiredThe lease's first day.
example: 2026-03-15
firstChargeDatestring · dateThe first full charge date. Leave it out to use MagicDoor's default.
Response
200 · The prorated amount.
proratedAmountnumberRent for the part period, as a decimal amount.