List Link accounts eligible as withdrawal sources

get/link/api/link/v1/enterprises/{enterpriseId}/sources

Returns one row per (account, accountSubType) for accounts the caller has link.account.transfer on, with non-zero available balance for the given asset. When asset is supplied, additionally filters to rows whose venue supports (genericAsset, network) for withdrawals (capability lookup, not the on/off withdraw_disabled gate). Excludes accounts whose status != active.

Exactly one of asset / genericAsset is required.

Path Parameters

  • enterpriseIdstringRequired
    Your enterprise id.
    Example: 59cd72485007a239fb00282ed480da1f
    Pattern: ^[0-9a-f]{32}$
    Min length: >= 1 characters

Query Parameters

  • genericAssetstring
    Network-agnostic asset family (e.g. "usdc"). When omitted (along with `network`), the endpoint returns accounts with a positive balance in any asset.
    Example: usdc
    Min length: >= 1 characters
  • networkstring
    BitGo network identifier (e.g. "sol", "eth"). Requires `genericAsset`. When supplied, only venues that support the (genericAsset, network) pair are included.
    Example: sol
    Min length: >= 1 characters
  • limitstring or numberRequired
    Maximum number of results to return per page. Defaults to 50.
    Example: 50
  • offsetstring or numberRequired
    Number of results to skip before returning. Defaults to 0.
    Example: 0

200 Response

accounts array[object] required
One top-level row in the withdraw-flow source picker (`GET /sources`). Mirrors the `/accounts` admin nesting pattern: parent accounts may carry nested `subAccounts`, while sub-accounts whose parent is invisible to the caller (no permission) are promoted to top-level (no nesting; the row stands on its own). Excludes admin-only fields (`credentials`, `users`, `status`) that don't apply to a picker. The destination picker (`GET /destinations`) uses a separate row type — destinations don't carry balances, and external (on-chain) destinations don't carry `accountSubType` either.
id string required
name string required
Min length: >= 1 characters
venueId string required
Min length: >= 1 characters
venueName string required
Min length: >= 1 characters
whitelistingEnabled boolean required
accountSubTypes array[object] required
One entry per funding subtype with a positive balance for the requested asset. May be empty for "shell parent" rows — a top-level parent the caller has visibility on but with no qualifying balance of its own, included only to host its qualifying sub-accounts in `subAccounts`.
subAccounts array[object]
A nested sub-account row under `LinkSourceRow.subAccounts`. Mirrors the top-level shape minus `subAccounts` and `parentAccountId` — Link's account hierarchy is one level deep, and the parent is implied by where this row sits in the response.

400 Response

401 Response

errorName string required
error string required

403 Response

errorName string required
error string required

500 Response

errorName string required
error string required