Skip to main content
GET
Get an account

Authorizations

Authorization
string
header
required

Pass your secret key in the Authorization header as a Bearer token: Authorization: Bearer sk_test_... (sandbox) or Bearer sk_live_... (production).

Keys are created in the developer portal and the plaintext secret is shown exactly once at creation. Treat them like passwords — never embed them in mobile apps or front-end code.

Path Parameters

account_id
string
required

Query Parameters

client_id
string
required

The Client (cli_…) to scope the read to. Required on account, transaction, and statement reads — LedgerSync's backend data APIs are scoped per end-user, so these resources are resolved within a single Client.

Response

The Account.

id
string
required
Example:

"acc_FINICITY_45"

source
enum<string>
required

Financial-data source backing an account. Aggregator sources (FINICITY, MX) and FDE back a Connection; PDF does not.

Values:

  • FINICITY — Finicity aggregation
  • MX — MX aggregation
  • FDE — Financial Document Extraction (LedgerSync proprietary)
  • PDF — Uploaded bank statements. Read-only: exposed on /accounts and /transactions (statements are not served for PDF), and never as a Connection (PDF accounts have connection_id: null).
Available options:
FINICITY,
MX,
FDE,
PDF
iso_currency_code
string
required

ISO-4217 currency code. Defaults to USD when the source omits it.

Example:

"USD"

connection_id
string | null

Owning connection — canonical id (con_<SOURCE>_<bankAccountId>). Null on a sandbox single-fetch (a sandbox account id doesn't encode its connection). Always present when listing accounts by connection.

Example:

"con_FINICITY_41294"

client_id
string
name
string
type
enum<string>
Available options:
checking,
savings,
credit_card,
loan,
investment,
other
mask
string | null

Last 4 digits of the account number (Plaid-style mask).

Example:

"1234"

current_balance
number | null

Most recent balance in the account's currency, as a decimal. Null when the source hasn't reported one yet.

Example:

1234.56

available_balance
number | null

Available balance, when the source distinguishes it from the current balance. Often null.

last_refreshed_at
string<date-time> | null
realized_capabilities
object | null

Per-account observed outcome of the most recent attempt at each capability. Today the backend tracks status at the bank level — accounts within the same connection share this snapshot. Per-account divergence (one account in a connection failed but others succeeded) requires a backend extension and is deferred.

created_at
string<date-time> | null

When LedgerSync first stored this account, which is when we first saw it at the source. For accounts present at link time this tracks the connection; for one shared later it is when it arrived. There is no account.added webhook, so this is the field to sort or diff on when you re-list accounts to find what is new. It never moves afterwards.

updated_at
string<date-time> | null