Company payment accounts

Remove a company payment account

Takes a payment account off the management company's file. The company must always keep at least one account on file, so removing the last one is refused.

DELETE
https://api.portal.magicdoor.com/company-app/payment-accounts/{paymentAccountId}

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.

Path parameters

paymentAccountIdstringrequired

The payment account to remove. A Snowflake id sent as a decimal string.

example: 1823910038475120640

Response

204 · The payment account was removed. No body is returned.

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

404 · No payment account with that id exists for the caller's company, or it is not a company payment account.

422 · It is the company's only payment account and one must always be on file.