Accounting dashboard

Get daily money movement

Returns money in and money out for each of the last 30 days, one bucket per day including days with no activity.

GET
https://services.magicdoor.com/accounting/company-portal/dashboard/daily-money-movement

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.

Query parameters

skipCacheboolean

Set true to recompute instead of reading the cached figure. The fresh result is still written back to the cache, which holds for an hour.

default: false

Response

200 · One bucket per day for the last 30 days, oldest first.

daysBucket[]

One entry per calendar day in the window, including days with nothing on them.

401 · The access token is missing, expired, or not for this company.

403 · The access token is not for a property manager.

Every transaction in the company with status success that is not deleted, dated in the last 30 days. in and out are split by the transaction's direction and both amounts are reported as positive totals — the direction is in the field name, not the sign.

Days are UTC days here

The buckets are cut on UTC calendar days, not on the company's timezone. For a company well west of UTC, a late-evening payment lands in the next day's bucket. Every other date in this API is company-local, so do not assume these line up.

Cached

The answer is cached per company for an hour, so it can lag activity by that much. Pass skipCache=true to force a recompute.