Owner payment accounts

Remove a owner's payment account

Takes a payment account off a owner's file so no further money can be moved through it. Payments already made through it are untouched.

DELETE
https://api.portal.magicdoor.com/company-app/owners/{ownerId}/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

ownerIdstringrequired

The owner whose payment accounts these are. A Snowflake id sent as a decimal string.

example: 1812910038475120640
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, it is not a owner payment account, or it belongs to a different owner.