# Mercury

> Mercury startup banking via API - read accounts, transactions, statements, manage recipients, and send payments.

Lets an agent manage your Mercury startup banking - look up accounts and balances, review transactions and statements, add or remove payment recipients, and send payments.

## What it can do

| Method | What it does |
| --- | --- |
| `mercury_accounts_list` | List all Mercury accounts in the organization. |
| `mercury_account_get` | Get details of one account (routing number, account number, balance). |
| `mercury_account_balance` | Get the current available and posted balance of an account. |
| `mercury_transactions_list` | List transactions on an account; filter by status and kind. |
| `mercury_transaction_get` | Get details of a single transaction. |
| `mercury_recipients_list` | List all payment recipients on an account. |
| `mercury_recipient_create` | Add a new payment recipient (bank account) - write action, confirm first. |
| `mercury_recipient_delete` | Delete a payment recipient - write action, confirm first. |
| `mercury_send_payment` | Send a payment from an account to a recipient - write action, confirm first. |
| `mercury_payment_get` | Get the status of a payment. |
| `mercury_statements_list` | List statements (PDF exports) for an account. |
| `mercury_statement_get` | Get metadata and the download URL for one statement. |

## How to get credentials

1. Open [mercury.com/settings/tokens](https://mercury.com/settings/tokens).
2. Go to **Settings - Integrations - API Tokens**.
3. Click **Generate Token** and give it a name (e.g. *FlyMyAI Agent*).
4. Copy the token - you will not be able to see it again.

## Fields to fill in FlyMyAI

| FlyMyAI field | Where it comes from |
| --- | --- |
| `MERCURY_API_KEY` | Mercury → Settings → Integrations → API Tokens → Generate Token |
