List Link accounts eligible as withdrawal 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 Params
-
enterpriseIdstring requiredYour enterprise id.
Query Params
-
genericAssetstringNetwork-agnostic asset family (e.g. "usdc"). When omitted (along withnetwork), the endpoint returns accounts with a positive balance in any asset. -
networkstringBitGo network identifier (e.g. "sol", "eth"). RequiresgenericAsset. When supplied, only venues that support the (genericAsset, network) pair are included. -
namestringFilter sources by name (case-insensitive partial match). -
limitstring or number requiredMaximum number of results to return per page. Defaults to 50.ONE OF
stringnumber enum -
offsetstring or number requiredNumber of results to skip before returning. Defaults to 0.ONE OF
stringnumber enum
Header Params
-
user-idstring requiredUser id of the user making the request.
Responses
200
OK
Response Body
object
Response for GET /api/link/v1/enterprises/{enterpriseId}/sources.
Pagination is account-level offset/limit. Each LinkAccountEligibilityRow corresponds
to one account and carries one entry per funding subtype with a positive balance. A
response with accounts.length < limit means end-of-stream; accounts.length === limit
means the next offset may produce more accounts.
-
accountsarray of objects requiredaccounts object
-
idstring required -
namestring required -
venueIdstring required -
venueNamestring required -
whitelistingEnabledboolean required -
accountSubTypesarray of objects requiredaccountSubTypes object
-
balancesarray of objects requiredbalances object
-
rawAssetstring required -
genericAssetstring -
displayAssetstring required -
assetstring -
networkstring -
availablestring required -
lockedstring required -
totalstring required -
asOfDatestring date-time required
-
-
accountSubTypestring requiredNormalized sub-account-type identifier (e.g.SPOT,MARGIN,UNIFIED). Read directly from the Link DB column populated by the normalized-balances Kafka consumer. -
rawAccountSubTypestringVenue-raw sub-type label, projected fromAccountSubTypeDefinition.rawTypefor the matchingnormalizedentry in the venue config. Absent for pass-through values. -
accountSubTypeLabelstringHuman-readable sub-type display label, projected fromAccountSubTypeDefinition.displayName. Absent when the venue has only one sub-type, or for pass-through values.
-
-
subAccountsarray of objectssubAccounts object
-
idstring required -
namestring required -
venueIdstring required -
venueNamestring required -
whitelistingEnabledboolean required -
accountSubTypesarray of objects requiredaccountSubTypes object
-
balancesarray of objects requiredbalances object
-
rawAssetstring required -
genericAssetstring -
displayAssetstring required -
assetstring -
networkstring -
availablestring required -
lockedstring required -
totalstring required -
asOfDatestring date-time required
-
-
accountSubTypestring requiredNormalized sub-account-type identifier (e.g.SPOT,MARGIN,UNIFIED). Read directly from the Link DB column populated by the normalized-balances Kafka consumer. -
rawAccountSubTypestringVenue-raw sub-type label, projected fromAccountSubTypeDefinition.rawTypefor the matchingnormalizedentry in the venue config. Absent for pass-through values. -
accountSubTypeLabelstringHuman-readable sub-type display label, projected fromAccountSubTypeDefinition.displayName. Absent when the venue has only one sub-type, or for pass-through values.
-
-
-
401
Unauthorized
Response Body
object
-
errorNamestring required -
errorstring required
403
Forbidden
Response Body
object
-
errorNamestring required -
errorstring required
500
Internal Server Error
Response Body
object
-
errorNamestring required -
errorstring required