List MagicDoor credits
Returns a page of the credits MagicDoor has granted the management company against its invoices, and which invoices each has been used on. Credits are created by MagicDoor staff; there is no endpoint here to create, change or delete one.
Authorization
AuthorizationstringrequiredQuery parameters
pageintegerWhich page to return. The first page is 1.
pageSizeintegerHow many credits to return per page. Between 1 and 100.
creditDate.startstring · dateReturn only credits granted on or after this day. Give at least one of creditDate.start and creditDate.end, and start must not be after end.
creditDate.endstring · dateReturn only credits granted on or before this day.
amount.fromnumberLower bound of the credit amount. Give at least one of amount.from and amount.to.
amount.tonumberUpper bound of the credit amount.
amount.includeFrombooleanWhether a credit equal to amount.from is included.
amount.includeTobooleanWhether a credit equal to amount.to is included.
Response
200 · A page of credits plus the records they point at.
itemsMagicDoorBillCredit[]The credits on this page.
currentPageintegerThe page this response is.
totalPagesintegerHow many pages the filter produces.
pageSizeintegerHow many credits a page holds.
totalCountintegerHow many credits match the filter across all pages.
bankAccountsobject[]Every bank account referenced by the credits, resolved. Account and routing numbers are masked to their last four digits.
chartOfAccountsobject[]Every chart of account referenced by the credits, resolved.
magicDoorBillsobject[]Every invoice the credits have been applied to, resolved.