
Mercury Get
CertifiedGet a Mercury account
Mercury Get
Get a Mercury account
Retrieve details for a single Mercury bank account by its ID.
type: io.kestra.plugin.mercury.accounts.GetExamples
Get a Mercury account by ID
id: get_mercury_account
namespace: company.team
tasks:
- id: get_account
type: io.kestra.plugin.mercury.accounts.Get
apiToken: "{{ secret('MERCURY_API_TOKEN') }}"
accountId: "d0e567d8-76a7-11e9-a22d-0b33e9de0755"
Properties
accountId *string
Account ID
The unique identifier (UUID) of the Mercury account to retrieve.
apiToken *string
Mercury API token
API token for authentication with the Mercury API.
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150baseUrl string
https://api.mercury.com/api/v1Mercury API base URL
Base URL for the Mercury API. Override for the Mercury sandbox (https://api-sandbox.mercury.com/api/v1). Must use HTTPS, except for loopback hosts (localhost, 127.0.0.1, ::1) during local testing.
Outputs
account
Account details
The retrieved Mercury bank account.
io.kestra.plugin.mercury.model.Account
Account Number
The account number for the Mercury account.
Available Balance
The available balance of the account in USD (multiple of 0.01).
Can Receive Transactions
Whether the account can receive incoming transactions.
Can Send Real-Time Payments
Whether this account's partner bank supports sending real-time payments (RTP).
date-timeCreated At
The timestamp when the account was created, in ISO 8601 UTC format (yyyy-MM-ddTHH: mm: ssZ).
Current Balance
The current ledger balance of the account in USD (multiple of 0.01).
Dashboard Link
The direct URL to view the account in the Mercury dashboard.
Account ID
The unique identifier (UUID) for the Mercury account.
Account Kind
The kind of account, such as checking or savings.
Legal Business Name
The legal name of the business associated with the account.
Account Name
The name of the account.
Account Nickname
An optional nickname for the account.
Routing Number
The routing number for the Mercury account.
Account Status
The status of the account. Possible values: active, deleted, pending, archived.
Account Type
The type of account. Possible values: mercury, external, recipient.