List payment methods for an entity
Returns a page of the payment methods belonging to one tenant, owner, vendor, applicant, or the company itself, newest first. Each method's capabilities are limited to the payment processor MagicDoor currently runs. Requires the payment_methods:read permission.
Authorization
AuthorizationstringrequiredPath parameters
entityTypeenum<string>requiredWho owns the payment method. company is the property management company itself, applicant is a rental applicant. Matching is case-insensitive.
entityIdstringrequiredThe tenant, owner, vendor, applicant, or company that owns the payment method. A Snowflake id, sent as a decimal string.
Query parameters
pageintegerWhich page to return. The first page is 1.
pageSizeintegerHow many items to return per page. Between 1 and 100.
idsstring[]Return only these payment methods. Repeat the parameter once per id.
typesenum<string>[]Return only methods of these kinds. Repeat the parameter once per value.
deactivatedbooleantrue returns only deactivated methods, false only usable ones. Omit to get both.
created.startstring · date-timeOnly methods added at or after this moment, read in the company's timezone and written without an offset.
created.endstring · date-timeOnly methods added at or before this moment, read in the company's timezone and written without an offset.
created.startInclusivebooleanSet to false to exclude methods added exactly at created.start.
created.endInclusivebooleanSet to false to exclude methods added exactly at created.end.
Response
200 · A page of that party's payment methods. Deleted methods are never returned. An entity with none — including one that does not exist — gives an empty page rather than a 404.
itemsPaymentMethod[]requiredThis page of results, newest first.
totalCountintegerrequiredHow many items match the filter across every page.
totalPagesintegerrequiredHow many pages the result set has at this page size.
pageintegerrequiredThe page that was returned.
pageSizeintegerrequiredHow many items were asked for per page.
401 · The request carried no valid access token.
403 · The token is not a property manager token, or it lacks the `payment_methods:read` permission.
entityType and entityId name the party the payment method belongs to — a tenant, an owner, a vendor, a rental applicant, or the company itself. Whatever you name, the method must still belong to the calling company; one company can never reach another's. Passing company with your own company id reaches exactly the same methods as the endpoints without an entity in the path.