List a vendor's payment accounts
Returns every payment account on file for one vendor — the bank accounts and cards MagicDoor can move money to or from on their behalf. Full account, routing and card numbers are never returned; only the last four digits are.
Authorization
AuthorizationstringrequiredBearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.
Path parameters
vendorIdstringrequiredThe vendor whose payment accounts these are. A Snowflake id sent as a decimal string.
example: 1822910038475120640
Response
200 · The vendor's payment accounts.
paymentAccountsPaymentAccount[]The accounts on file for this vendor. Empty when there are none.