Pay vendor bills
Pays outstanding vendor bills, grouped one group per vendor and payment run. Each group moves money out of one bank account by printed check, by an ACH transfer to the vendor, or by recording a payment made outside MagicDoor. Only bills with money still outstanding can be paid, and a group's bills must all belong to its vendor.
Authorization
AuthorizationstringrequiredBearer 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
groupsobject[]requiredOne group per vendor and payment method. At least one.
paymentDatestring · dateThe date to record for every payment in this request. Left out, today is used.
Response
200 · What happened to each group, split by how the money moved. A 200 does not mean every payment succeeded — check `ach.failed`.
manualobject[]Groups recorded as paid outside MagicDoor.
printCheckobject[]Groups paid by printed check. Same shape as manual plus the check that was created.
achobjectGroups paid by ACH, split by outcome.
propertiesobject[]The properties whose funds the payments came from, resolved.