Mercury CLI: separating IO credit from debit card spend
Reconciling a banking perks email against actual account state via a CLI
In the mercury CLI, the credit resource exposes the IO credit card (a separate account ID), while the Mercury debit card lives on the checking account — listing cards on each account ID is the only way to disambiguate. Credit-card spend reconciles when you sum only negative amounts on kind=creditCardTransaction; positive amounts are autopay payments from checking. Treasury netReturns inline both the fund dividend and the treasury fee, and Capital Class on the JPMorgan US Treasury Plus MMF corresponds to the top-tier yield offering.
Recognize upfront that Mercury markets two card products with overlapping naming — Mercury card (debit on checking) vs Mercury IO (credit on a separate credit account) — and route perk-tracking spend queries to the right account ID.