Mercury
@shrug/mercuryv2026.07.19.1
01README
Mercury banking API (/api/v1) read-only source model: discover accounts and snapshot transactions as the canonical BankTxn[] contract (settled-only by default). Bearer token auth (vaulted, read-only token — no IP allowlist). The amount-sign convention (negative == outgoing debit) lives in one tested decider, verified against a live response.
02Models
@shrug/mercuryv2026.07.19.1mercury.ts
fn listAccounts()
Discover Mercury accounts (`GET /accounts`) — the source of accountIds
fn listTransactions(accountId: string, start?: string, end?: string)
Snapshot an account's transactions as canonical BankTxn[] (§6).
| Argument | Type | Description |
|---|---|---|
| accountId | string | Mercury account id (from listAccounts) |
| start? | string | Filter: start date (YYYY-MM-DD) |
| end? | string | Filter: end date (YYYY-MM-DD) |
Resources
accounts(infinite)— A snapshot of Mercury accounts (`/accounts`) for id discovery
transactions(infinite)— A snapshot of canonical BankTxn[] (§6) for one account (`/account/{id}/transactions`)
03Stats
A
100 / 100
Downloads
1
Archive size
19.9 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
Repository
https://github.com/shrugpw/swamp-mercury04Platforms
05Labels