Skip to content

Mercury - Get Transactions

This module allows getting the transaction history of a Mercury account, with filters by status, date, and pagination. It includes transfers, card payments, fees, and interest.

FieldTypeRequiredDescription
credentials_idcredentialYesMercury credentials
account_idstringYesAccount ID
statusselectNoFilter by status
start_datestringNoStart date (YYYY-MM-DD)
end_datestringNoEnd date (YYYY-MM-DD)
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,
"transactions": [
{
"id": "txn_abc123",
"amount": -1500.00,
"status": "sent",
"counterpartyName": "Proveedor XYZ",
"kind": "externalTransfer",
"createdAt": "2024-01-15T10:30:00Z",
"postedAt": "2024-01-15T14:00:00Z"
}
],
"total": 150,
"account_id": "abc123",
"message": "50 transacciones encontradas"
}
  • pending: Transaction pending processing
  • sent: Transfer sent
  • cancelled: Transaction canceled
  • failed: Transaction failed
  • externalTransfer: External transfer (ACH/Wire)
  • internalTransfer: Transfer between Mercury accounts
  • cardTransaction: Card transaction
  • fee: Fee
  • interest: Earned interest
{
"credentials_id": "mercury_cuenta",
"account_id": "abc123",
"start_date": "2024-01-01",
"end_date": "2024-01-31",
"limit": 50
}
  • Transactions are returned sorted by date
  • Negative amounts represent outgoing funds
  • Can be filtered by date range for reports
  • The kind field indicates the movement type
  • MercuryGetAccounts - Get account ID to query
  • MercuryGetTransfers - View only outgoing transfers
  • MercuryGetBalance - Check resulting balance