Issue and manage cards via API
We've added programmatic control over Mercury cards. You can now issue virtual cards, manage spending limits, and control card lifecycle states — all through the API. This works for both debit and credit cards.
-
List — Retrieve a list of cards across your organization. Filter by
accountId,status,type,kind, oruserId. -
Create — Issue a new virtual card assigned to a specific cardholder and linked to a deposit account of your choice. Both
debitandcreditkinds are supported. Optionally set a nickname and spending limits at issuance. -
Get — Retrieve the details of a specific card by its ID. Note that full card numbers (PANs) are not returned by this endpoint due to PCI compliance requirements — secure PAN retrieval is on the roadmap and will ship in a future release.
-
Update — Modify a card's nickname or spending limits at any time after issuance.
-
Freeze / Unfreeze — Temporarily pause an active card without permanently closing it. Unfreeze it when the issue is resolved.
-
Cancel — Permanently cancel a card. This action cannot be undone — use freeze/unfreeze for reversible pauses.
Check out the docs in the links above!

