Mercury
Connect to Mercury to access business banking accounts, transactions, payments, cards, invoices, and related financial data.
认证方式
| 方式 | 底层类型 | 状态 | 说明 |
|---|---|---|---|
| API Token | api_key | available | — |
| OAuth 2.0 (approved integrations) | oauth2 | available | — |
调用示例
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "MERCURY_APPROVE_REIMBURSEMENT", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("MERCURY_APPROVE_REIMBURSEMENT", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute MERCURY_APPROVE_REIMBURSEMENT --data '{ }'Tool 目录
可用 Tools
89 个可调用操作
Approve a reimbursementMERCURY_APPROVE_REIMBURSEMENTApprove a submitted reimbursement. Payout is a separate, scheduled sweep; poll the payment status.需要连接
Approve a submitted reimbursement. Payout is a separate, scheduled sweep; poll the payment status.
认证
需要 Connected AccountTags
Cancel a cardMERCURY_CANCEL_CARDPermanently cancel a card. This action cannot be undone.需要连接
Permanently cancel a card. This action cannot be undone.
认证
需要 Connected AccountTags
Cancel an invoiceMERCURY_CANCEL_INVOICECancel an invoice. This action cannot be undone.需要连接
Cancel an invoice. This action cannot be undone.
认证
需要 Connected AccountTags
Cancel a reimbursementMERCURY_CANCEL_REIMBURSEMENTCancel a reimbursement that is still in review.需要连接
Cancel a reimbursement that is still in review.
认证
需要 Connected AccountTags
Create a cardMERCURY_CREATE_CARDIssue a new virtual card.需要连接
Issue a new virtual card.
认证
需要 Connected AccountTags
Create a new categoryMERCURY_CREATE_CATEGORYCreate a new custom expense category for the organization.需要连接
Create a new custom expense category for the organization.
认证
需要 Connected AccountTags
Create a customerMERCURY_CREATE_CUSTOMERCreate a new customer for the organization需要连接
Create a new customer for the organization
认证
需要 Connected AccountTags
Create an internal transferMERCURY_CREATE_INTERNAL_TRANSFERTransfer funds between two accounts within the same organization. Supports transfers between depository accounts (checking/savings), from a depository account to a treasury/investment account, and from a treasury/investment account to a depository account. Creates paired debit and credit transactions.需要连接
Transfer funds between two accounts within the same organization. Supports transfers between depository accounts (checking/savings), from a depository account to a treasury/investment account, and from a treasury/investment account to a depository account. Creates paired debit and credit transactions.
认证
需要 Connected AccountTags
Create an invoiceMERCURY_CREATE_INVOICECreate a new invoice for the organization需要连接
Create a new invoice for the organization
认证
需要 Connected AccountTags
Add a new recipientMERCURY_CREATE_RECIPIENTCreate a new recipient for making payments需要连接
Create a new recipient for making payments
认证
需要 Connected AccountTags
Create a recipient inviteMERCURY_CREATE_RECIPIENT_INVITECreate an invite for a recipient to submit their payment details. Supply a recipientId to invite an existing recipient; omit it to invite someone new, in which case the recipient is created when the invitee completes onboarding.需要连接
Create an invite for a recipient to submit their payment details. Supply a recipientId to invite an existing recipient; omit it to invite someone new, in which case the recipient is created when the invitee completes onboarding.
认证
需要 Connected AccountTags
Create a reimbursementMERCURY_CREATE_REIMBURSEMENTSubmit a new reimbursement on behalf of the organization. Returns the new reimbursement id.需要连接
Submit a new reimbursement on behalf of the organization. Returns the new reimbursement id.
认证
需要 Connected AccountTags
Send money to a recipientMERCURY_CREATE_TRANSACTIONSend money from an account to a recipient. Creates a transaction that will be processed immediately or may require approval.需要连接
Send money from an account to a recipient. Creates a transaction that will be processed immediately or may require approval.
认证
需要 Connected AccountTags
Create a new webhook endpointMERCURY_CREATE_WEBHOOKRegister a new webhook endpoint to receive event notifications需要连接
Register a new webhook endpoint to receive event notifications
认证
需要 Connected AccountTags
Delete a Chart of Accounts TemplateMERCURY_DELETE_BOOKS_AGENT_COA_TEMPLATEDelete a specific Chart of Accounts template.需要连接
Delete a specific Chart of Accounts template.
认证
需要 Connected AccountTags
Delete a Ledger TemplateMERCURY_DELETE_BOOKS_AGENT_LEDGER_TEMPLATEDelete an existing ledger within an agent-owned Chart of Accounts template.需要连接
Delete an existing ledger within an agent-owned Chart of Accounts template.
认证
需要 Connected AccountTags
Bulk delete journal entriesMERCURY_DELETE_BOOKS_JOURNAL_ENTRIESBulk delete journal entries需要连接
Bulk delete journal entries
认证
需要 Connected AccountTags
Delete a categoryMERCURY_DELETE_CATEGORYDelete a custom expense category for the organization.需要连接
Delete a custom expense category for the organization.
认证
需要 Connected AccountTags
Delete a customerMERCURY_DELETE_CUSTOMERDelete a customer. This action cannot be undone.需要连接
Delete a customer. This action cannot be undone.
认证
需要 Connected AccountTags
Delete a recipientMERCURY_DELETE_RECIPIENTDelete a specific recipient by ID. Fails if the recipient is blocked by scheduled payments, pending approvals, or active ACH authorizations.需要连接
Delete a specific recipient by ID. Fails if the recipient is blocked by scheduled payments, pending approvals, or active ACH authorizations.
认证
需要 Connected AccountTags
Delete a recipient inviteMERCURY_DELETE_RECIPIENT_INVITEDelete an active recipient invite.需要连接
Delete an active recipient invite.
认证
需要 Connected AccountTags
Delete a webhook endpointMERCURY_DELETE_WEBHOOKDelete a webhook endpoint需要连接
Delete a webhook endpoint
认证
需要 Connected AccountTags
Deny a reimbursementMERCURY_DENY_REIMBURSEMENTDeny a submitted reimbursement. The reason is recorded as a reviewer comment.需要连接
Deny a submitted reimbursement. The reason is recorded as a reviewer comment.
认证
需要 Connected AccountTags
Edit a categoryMERCURY_EDIT_CATEGORYUpdate an existing custom expense category for the organization.需要连接
Update an existing custom expense category for the organization.
认证
需要 Connected AccountTags
Freeze a cardMERCURY_FREEZE_CARDTemporarily freeze a card. The card must be active.需要连接
Temporarily freeze a card. The card must be active.
认证
需要 Connected AccountTags
Get account by IDMERCURY_GET_ACCOUNTGet account by ID需要连接
Get account by ID
认证
需要 Connected AccountTags
Get cards for accountMERCURY_GET_ACCOUNT_CARDSRetrieve all debit and credit cards associated with a specific account.需要连接
Retrieve all debit and credit cards associated with a specific account.
认证
需要 Connected AccountTags
Get account statementsMERCURY_GET_ACCOUNT_STATEMENTSRetrieve a paginated list of monthly statements for a specific account. Supports cursor-based pagination with limit, order, start_after, and end_before query parameters, as well as date range filtering with start and end parameters.需要连接
Retrieve a paginated list of monthly statements for a specific account. Supports cursor-based pagination with limit, order, start_after, and end_before query parameters, as well as date range filtering with start and end parameters.
认证
需要 Connected AccountTags
Get all accountsMERCURY_GET_ACCOUNTSRetrieve a paginated list of accounts. Supports cursor-based pagination with limit, order, start_after, and end_before query parameters.需要连接
Retrieve a paginated list of accounts. Supports cursor-based pagination with limit, order, start_after, and end_before query parameters.
认证
需要 Connected AccountTags
Get an attachmentMERCURY_GET_ATTACHMENTRetrieve attachment details including download URL需要连接
Retrieve attachment details including download URL
认证
需要 Connected AccountTags
Retrieve a Chart of Accounts TemplateMERCURY_GET_BOOKS_AGENT_COA_TEMPLATERetrieve details of a specific Chart of Accounts template.需要连接
Retrieve details of a specific Chart of Accounts template.
认证
需要 Connected AccountTags
List all Chart of Accounts TemplatesMERCURY_GET_BOOKS_AGENT_COA_TEMPLATESRetrieve a paginated list of all default and agent-owned Chart of Accounts templates. These templates can be used when creating new Books instances for clients.需要连接
Retrieve a paginated list of all default and agent-owned Chart of Accounts templates. These templates can be used when creating new Books instances for clients.
认证
需要 Connected AccountTags
List all journal entriesMERCURY_GET_BOOKS_JOURNAL_ENTRIESList all journal entries需要连接
List all journal entries
认证
需要 Connected AccountTags
Retrieve a Journal EntryMERCURY_GET_BOOKS_JOURNAL_ENTRYRetrieve a Journal Entry需要连接
Retrieve a Journal Entry
认证
需要 Connected AccountTags
Get a cardMERCURY_GET_CARDRetrieve details of a specific card by its ID.需要连接
Retrieve details of a specific card by its ID.
认证
需要 Connected AccountTags
Get a customerMERCURY_GET_CUSTOMERRetrieve details of a specific customer by their ID需要连接
Retrieve details of a specific customer by their ID
认证
需要 Connected AccountTags
Get event by IDMERCURY_GET_EVENTGet event by ID需要连接
Get event by ID
认证
需要 Connected AccountTags
Get all eventsMERCURY_GET_EVENTSGet all events需要连接
Get all events
认证
需要 Connected AccountTags
Get an invoiceMERCURY_GET_INVOICERetrieve details of an invoice by its ID需要连接
Retrieve details of an invoice by its ID
认证
需要 Connected AccountTags
Download invoice PDFMERCURY_GET_INVOICE_PDFDownloads a PDF file for the specified invoice. The response includes a Content-Disposition header set to 'attachment' with the filename.需要连接
Downloads a PDF file for the specified invoice. The response includes a Content-Disposition header set to 'attachment' with the filename.
认证
需要 Connected AccountTags
Get organization informationMERCURY_GET_ORGANIZATIONRetrieve information about your organization including EIN, legal business name, and DBAs.需要连接
Retrieve information about your organization including EIN, legal business name, and DBAs.
认证
需要 Connected AccountTags
Get recipient by IDMERCURY_GET_RECIPIENTRetrieve details of a specific recipient by ID需要连接
Retrieve details of a specific recipient by ID
认证
需要 Connected AccountTags
Get recipient invite by IDMERCURY_GET_RECIPIENT_INVITERetrieve details of a specific recipient invite by ID.需要连接
Retrieve details of a specific recipient invite by ID.
认证
需要 Connected AccountTags
Get all recipientsMERCURY_GET_RECIPIENTSRetrieve a paginated list of all recipients. Use cursor parameters (start_after, end_before) for pagination.需要连接
Retrieve a paginated list of all recipients. Use cursor parameters (start_after, end_before) for pagination.
认证
需要 Connected AccountTags
Get a reimbursementMERCURY_GET_REIMBURSEMENTRetrieve details of a specific reimbursement by its id, including its review and payment status.需要连接
Retrieve details of a specific reimbursement by its id, including its review and payment status.
认证
需要 Connected AccountTags
Get SAFE by IDMERCURY_GET_SAFE_REQUESTRetrieve a specific SAFE request by its ID.需要连接
Retrieve a specific SAFE request by its ID.
认证
需要 Connected AccountTags
Download SAFE documentMERCURY_GET_SAFE_REQUEST_DOCUMENTDownload the PDF document for a specific SAFE request. Returns binary PDF data with a Content-Disposition header.需要连接
Download the PDF document for a specific SAFE request. Returns binary PDF data with a Content-Disposition header.
认证
需要 Connected AccountTags
Get all SAFEsMERCURY_GET_SAFE_REQUESTSRetrieve all SAFE (Simple Agreement for Future Equity) requests for your organization.需要连接
Retrieve all SAFE (Simple Agreement for Future Equity) requests for your organization.
认证
需要 Connected AccountTags
Get send money approval request by IDMERCURY_GET_SEND_MONEY_APPROVAL_REQUESTGet send money approval request by ID需要连接
Get send money approval request by ID
认证
需要 Connected AccountTags
Download account statement PDFMERCURY_GET_STATEMENT_PDFDownloads a PDF file for the specified account statement. The response includes a Content-Disposition header for proper file download handling. Returns binary PDF data.需要连接
Downloads a PDF file for the specified account statement. The response includes a Content-Disposition header for proper file download handling. Returns binary PDF data.
认证
需要 Connected AccountTags
Get transaction by IDMERCURY_GET_TRANSACTIONGet transaction by ID需要连接
Get transaction by ID
认证
需要 Connected AccountTags
Get a transaction by IDMERCURY_GET_TRANSACTION_BY_IDRetrieve a single transaction by its ID. Returns full transaction details including attachments, check images, and related metadata.需要连接
Retrieve a single transaction by its ID. Returns full transaction details including attachments, check images, and related metadata.
认证
需要 Connected AccountTags
Get all treasury accountsMERCURY_GET_TREASURYRetrieve a paginated list of all treasury accounts associated with the authenticated organization. Use cursor parameters (start_after, end_before) for pagination.需要连接
Retrieve a paginated list of all treasury accounts associated with the authenticated organization. Use cursor parameters (start_after, end_before) for pagination.
认证
需要 Connected AccountTags
Get treasury account statementsMERCURY_GET_TREASURY_STATEMENTSRetrieve a paginated list of statements for a specific treasury account. Supports cursor-based pagination and filtering by document type.需要连接
Retrieve a paginated list of statements for a specific treasury account. Supports cursor-based pagination and filtering by document type.
认证
需要 Connected AccountTags
Get treasury transactionsMERCURY_GET_TREASURY_TRANSACTIONSRetrieve paginated treasury transactions for a specific treasury account.需要连接
Retrieve paginated treasury transactions for a specific treasury account.
认证
需要 Connected AccountTags
Get user by IDMERCURY_GET_USERGet user by ID需要连接
Get user by ID
认证
需要 Connected AccountTags
Get all usersMERCURY_GET_USERSGet all users需要连接
Get all users
认证
需要 Connected AccountTags
Get webhook endpoint by IDMERCURY_GET_WEBHOOKRetrieve details of a specific webhook endpoint by ID需要连接
Retrieve details of a specific webhook endpoint by ID
认证
需要 Connected AccountTags
Get webhook endpointsMERCURY_GET_WEBHOOKSRetrieve a paginated list of all webhook endpoints for your organization. Supports filtering by status.需要连接
Retrieve a paginated list of all webhook endpoints for your organization. Supports filtering by status.
认证
需要 Connected AccountTags
List account transactionsMERCURY_LIST_ACCOUNT_TRANSACTIONSRetrieve a paginated list of transactions for a specific account. Supports filtering by date range, status, and search terms.需要连接
Retrieve a paginated list of transactions for a specific account. Supports filtering by date range, status, and search terms.
认证
需要 Connected AccountTags
List cardsMERCURY_LIST_CARDSRetrieve a paginated list of cards.需要连接
Retrieve a paginated list of cards.
认证
需要 Connected AccountTags
List all categoriesMERCURY_LIST_CATEGORIESRetrieve a paginated list of all available custom expense categories for the organization. Supports cursor-based pagination with limit, order, start_after, and end_before query parameters.需要连接
Retrieve a paginated list of all available custom expense categories for the organization. Supports cursor-based pagination with limit, order, start_after, and end_before query parameters.
认证
需要 Connected AccountTags
List all credit accountsMERCURY_LIST_CREDITRetrieve a list of all credit accounts for the organization.需要连接
Retrieve a list of all credit accounts for the organization.
认证
需要 Connected AccountTags
List all customersMERCURY_LIST_CUSTOMERSRetrieve a paginated list of customers. Supports cursor-based pagination with limit, order, start_after, and end_before query parameters.需要连接
Retrieve a paginated list of customers. Supports cursor-based pagination with limit, order, start_after, and end_before query parameters.
认证
需要 Connected AccountTags
List invoice attachmentsMERCURY_LIST_INVOICE_ATTACHMENTSRetrieve a list of all attachments for a specific invoice需要连接
Retrieve a list of all attachments for a specific invoice
认证
需要 Connected AccountTags
List all invoicesMERCURY_LIST_INVOICESRetrieve a paginated list of invoices. Supports cursor-based pagination with limit, order, start_after, and end_before query parameters.需要连接
Retrieve a paginated list of invoices. Supports cursor-based pagination with limit, order, start_after, and end_before query parameters.
认证
需要 Connected AccountTags
List merchantsMERCURY_LIST_MERCHANTSRetrieve a paginated list of priority merchants that can be used for spend controls like merchant locking. Supports cursor-based pagination with limit, order, start_after, and end_before query parameters, plus an optional case-insensitive search by merchant name.需要连接
Retrieve a paginated list of priority merchants that can be used for spend controls like merchant locking. Supports cursor-based pagination with limit, order, start_after, and end_before query parameters, plus an optional case-insensitive search by merchant name.
认证
需要 Connected AccountTags
List recipient invitesMERCURY_LIST_RECIPIENT_INVITESRetrieve a paginated list of all recipient invites for your organization. Supports filtering by status.需要连接
Retrieve a paginated list of all recipient invites for your organization. Supports filtering by status.
认证
需要 Connected AccountTags
List all recipient attachmentsMERCURY_LIST_RECIPIENTS_ATTACHMENTSRetrieve a paginated list of all recipient tax form attachments across all recipients in the organization. Use cursor parameters (start_after, end_before) for pagination.需要连接
Retrieve a paginated list of all recipient tax form attachments across all recipients in the organization. Use cursor parameters (start_after, end_before) for pagination.
认证
需要 Connected AccountTags
List reimbursementsMERCURY_LIST_REIMBURSEMENTSRetrieve a paginated list of reimbursements for the organization, newest first. Supports cursor-based pagination with limit, order, start_after, and end_before query parameters.需要连接
Retrieve a paginated list of reimbursements for the organization, newest first. Supports cursor-based pagination with limit, order, start_after, and end_before query parameters.
认证
需要 Connected AccountTags
List send money approval requestsMERCURY_LIST_SEND_MONEY_APPROVAL_REQUESTSRetrieve a paginated list of send money approval requests for the authenticated organization. Supports filtering by account and status.需要连接
Retrieve a paginated list of send money approval requests for the authenticated organization. Supports filtering by account and status.
认证
需要 Connected AccountTags
List all transactionsMERCURY_LIST_TRANSACTIONSRetrieve a paginated list of all transactions across all accounts. Supports advanced filtering by date ranges, status, categories, and cursor-based pagination.需要连接
Retrieve a paginated list of all transactions across all accounts. Supports advanced filtering by date ranges, status, categories, and cursor-based pagination.
认证
需要 Connected AccountTags
Create a Chart of Accounts TemplateMERCURY_POST_BOOKS_AGENT_COA_TEMPLATESCreate a new agent-owned Chart of Accounts template. These templates can be used when creating new Books instances for clients.需要连接
Create a new agent-owned Chart of Accounts template. These templates can be used when creating new Books instances for clients.
认证
需要 Connected AccountTags
Create a Ledger TemplateMERCURY_POST_BOOKS_AGENT_LEDGER_TEMPLATESCreate a new ledger within an agent-owned Chart of Accounts template.需要连接
Create a new ledger within an agent-owned Chart of Accounts template.
认证
需要 Connected AccountTags
Create multiple Journal EntriesMERCURY_POST_BOOKS_JOURNAL_ENTRIESCreate multiple Journal Entries需要连接
Create multiple Journal Entries
认证
需要 Connected AccountTags
Update a Ledger TemplateMERCURY_PUT_BOOKS_AGENT_LEDGER_TEMPLATEUpdate an existing ledger within an agent-owned Chart of Accounts template.需要连接
Update an existing ledger within an agent-owned Chart of Accounts template.
认证
需要 Connected AccountTags
Bulk update journal entriesMERCURY_PUT_BOOKS_JOURNAL_ENTRIESBulk update journal entries需要连接
Bulk update journal entries
认证
需要 Connected AccountTags
Request to send moneyMERCURY_REQUEST_SEND_MONEYCreate a "request to send money" that will require approval based on your organization's approval policies.需要连接
Create a "request to send money" that will require approval based on your organization's approval policies.
认证
需要 Connected AccountTags
Reveal card detailsMERCURY_REVEAL_CARD_PANRetrieve the full card number, expiration date, and CVC for a card. Available for agentic cards only.需要连接
Retrieve the full card number, expiration date, and CVC for a card. Available for agentic cards only.
认证
需要 Connected AccountTags
Submit onboarding dataMERCURY_SUBMIT_ONBOARDING_DATASubmit onboarding data for applicants to pre-fill their Mercury application需要连接
Submit onboarding data for applicants to pre-fill their Mercury application
认证
需要 Connected AccountTags
Unfreeze a cardMERCURY_UNFREEZE_CARDUnfreeze a previously frozen card, restoring it to active status.需要连接
Unfreeze a previously frozen card, restoring it to active status.
认证
需要 Connected AccountTags
Update a cardMERCURY_UPDATE_CARDUpdate a card's nickname or spending limits.需要连接
Update a card's nickname or spending limits.
认证
需要 Connected AccountTags
Update a customerMERCURY_UPDATE_CUSTOMERUpdate an existing customer需要连接
Update an existing customer
认证
需要 Connected AccountTags
Update an invoiceMERCURY_UPDATE_INVOICEUpdate an existing invoice需要连接
Update an existing invoice
认证
需要 Connected AccountTags
Edit information about a specific recipientMERCURY_UPDATE_RECIPIENTUpdate an existing recipient's information需要连接
Update an existing recipient's information
认证
需要 Connected AccountTags
Update a reimbursementMERCURY_UPDATE_REIMBURSEMENTReplace the fields of an existing reimbursement. Only reimbursements still in review can be edited.需要连接
Replace the fields of an existing reimbursement. Only reimbursements still in review can be edited.
认证
需要 Connected AccountTags
Update transaction metadataMERCURY_UPDATE_TRANSACTIONUpdate the note and/or category of an existing transaction. Use null values to clear existing data.需要连接
Update the note and/or category of an existing transaction. Use null values to clear existing data.
认证
需要 Connected AccountTags
Update an existing webhook endpointMERCURY_UPDATE_WEBHOOKUpdate the configuration of an existing webhook endpoint. A webhook that has been disabled due to consecutive delivery failures can be reactivated by setting its status to 'active'.需要连接
Update the configuration of an existing webhook endpoint. A webhook that has been disabled due to consecutive delivery failures can be reactivated by setting its status to 'active'.
认证
需要 Connected AccountTags
Verify a webhook endpointMERCURY_VERIFY_WEBHOOKSend a test event to verify the webhook endpoint is properly configured and reachable. The request body accepts an optional 'eventType' field to specify which event type to test (e.g., 'transaction.created', 'transaction.updated'). If omitted from the request body, defaults to 'transaction.created'.需要连接
Send a test event to verify the webhook endpoint is properly configured and reachable. The request body accepts an optional 'eventType' field to specify which event type to test (e.g., 'transaction.created', 'transaction.updated'). If omitted from the request body, defaults to 'transaction.created'.
认证
需要 Connected AccountTags