Get an account
Look up a single Account by id. Returns name, type, current balance, mask (last 4 of the account number), and the Connection it came from.
Authorizations
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
Query Parameters
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.
"acc_FINICITY_45"
Financial-data source backing an account. Aggregator sources
(FINICITY, MX) and FDE back a Connection; PDF does not.
Values:
FINICITY— Finicity aggregationMX— MX aggregationFDE— Financial Document Extraction (LedgerSync proprietary)PDF— Uploaded bank statements. Read-only: exposed on/accountsand/transactions(statements are not served for PDF), and never as a Connection (PDF accounts haveconnection_id: null).
FINICITY, MX, FDE, PDF ISO-4217 currency code. Defaults to USD when the source omits it.
"USD"
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.
"con_FINICITY_41294"
checking, savings, credit_card, loan, investment, other Last 4 digits of the account number (Plaid-style mask).
"1234"
Most recent balance in the account's currency, as a decimal. Null when the source hasn't reported one yet.
1234.56
Available balance, when the source distinguishes it from the current balance. Often 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.
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.
