Skip to content

Mercury - Get Recipients

This module allows getting the list of recipients configured in Mercury or the details of a specific recipient, including bank information and payment method.

FieldTypeRequiredDescription
credentials_idcredentialYesMercury credentials
recipient_idstringNoSpecific recipient ID
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,
"recipient": {
"id": "rec_abc123",
"name": "Proveedor XYZ",
"emails": ["pagos@proveedor.com"],
"paymentMethod": "ach",
"electronicRoutingInfo": {
"routingNumber": "123456789",
"accountNumber": "9876543210",
"bankName": "Chase Bank",
"accountType": "checking"
}
},
"recipient_id": "rec_abc123",
"name": "Proveedor XYZ",
"payment_method": "ach",
"message": "Destinatario Proveedor XYZ obtenido"
}
{
"success": true,
"recipients": [ ... ],
"total": 25,
"message": "25 destinatarios encontrados"
}
  • ach: ACH transfer (1-3 business days)
  • domesticWire: US domestic wire (same day)
  • internationalWire: International wire (2-5 days)
  • check: Physical check
{
"credentials_id": "mercury_cuenta",
"recipient_id": "rec_abc123"
}
  • Recipients include complete bank information
  • Can be filtered by payment method
  • Each recipient has a unique ID to use in transfers
  • MercuryCreateRecipient - Create new recipients
  • MercuryCreateTransfer - Create transfers to recipients
  • MercuryGetTransfers - View transfers made to recipients