Skip to content

Mercury - Get Cards

This module allows getting the list of virtual and physical Mercury cards, with filters by status and account. It includes spending limit and status information for each card.

FieldTypeRequiredDescription
credentials_idcredentialYesMercury credentials
card_idstringNoSpecific card ID
account_idstringNoFilter by account
statusselectNoFilter by status
limitnumberNoResults limit (default: 50)
offsetnumberNoOffset for pagination

This module requires Mercury type credentials with the following fields:

FieldDescription
api_keyMercury API Key (obtained in Settings > API)
{
"success": true,
"card": { ... },
"card_id": "card_abc123",
"name": "Marketing Card",
"type": "virtual",
"status": "active",
"last_four": "4242",
"spending_limit": {
"amount": 5000,
"interval": "month"
},
"message": "Tarjeta Marketing Card (****4242) obtenida"
}
{
"success": true,
"cards": [ ... ],
"total": 8,
"message": "8 tarjetas encontradas"
}
StatusDescription
activeActive and ready to use
inactiveInactive (cannot be used)
frozenTemporarily frozen
closedPermanently closed
  • virtual: Virtual card (immediate use)
  • physical: Physical card (requires shipping)
{
"credentials_id": "mercury_cuenta",
"status": "active",
"limit": 50
}
  • Virtual cards can be created and used immediately
  • Each card can have configured spending limits
  • Cards can be frozen/unfrozen from the API
  • Ideal for separating expenses by department or project
  • MercuryGetAccounts - Get accounts associated with cards
  • MercuryGetTransactions - View card transactions
  • MercuryGetBalance - Check available funds