List Mercury Accounts
List all Mercury business banking accounts visible to the connected API token. Returns each account's ID, name, status, kind, routing number, account number last-4, and USD balances. Ideal for: picking the funding account for a payment, balance checks before payouts, treasury dashboards.
Catalog action Integrations mercury
List all Mercury business banking accounts visible to the connected API token. Returns each account's ID, name, status, kind, routing number, account number last-4, and USD balances. Ideal for: picking the funding account for a payment, balance checks before payouts, treasury dashboards.
At a Glance
| Field | Value |
|---|---|
| Action ID | mercury-list-accounts |
| Category | Integrations |
| Connector | mercury |
| Requires gas | No |
| Funds movement | None declared |
| Tags | mercury, banking, fiat, accounts, balance, read |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
apiKey | string | No | Mercury API token. Normally injected automatically by the 'mercury' connector — only set this to override the connector's token. |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
accounts | array | Yes | All Mercury accounts visible to the API token |
count | number | Yes | Number of accounts returned |
Examples
json{ "type": "mercury-list-accounts", "payload": { "apiKey": "configured-in-b3os" }, "children": [], "connector": { "type": "mercury", "id": "conn_mercury" }}
bashcurl -X POST "https://api.b3os.org/v1/actions/mercury-list-accounts/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "apiKey": "configured-in-b3os" }}'
Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.
