Owner transfers

Calculate what each property can distribute

Works out, without moving any money, how much each property has available to distribute after its reserve, and splits that across its owners by ownership share. Feed the figures into the disburse endpoint.

POST
https://api.portal.magicdoor.com/company-app/owners/distributions/calculate

Authorization

Authorizationstringrequired
Bearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.

Body

application/json

propertyIdsstring[]

The properties to calculate for. Left out, every property is calculated.

Response

200 · What each property can distribute. Nothing was created.

propertiesobject[]

One entry per property.

401 · The access token is missing, expired, or does not belong to a property manager.

404 · A property id in the request does not exist for the caller's company.