List destinations reachable from a Link-account source
Returns enterprise Link accounts the caller has link.account.view on that the
given Link-account source can transfer to, split into two segments: off-chain
(internalDestinations, with subtype entries) and on-chain (externalDestinations,
no subtype). Same-hierarchy accounts are excluded from the external segment since
they are already covered by the internal segment. The response envelope carries
sourceSupportsOnChainWithdrawal to indicate whether BitGo-wallet / external-address
destinations can also be used alongside the Link-account destinations returned here.
Excludes accounts with status != active.
Path Params
-
enterpriseIdstring requiredYour enterprise id.
Query Params
-
sourceLinkAccountIdstring requiredThe Link account id of the source. -
sourceAccountSubTypestring requiredThe source's account subtype. -
genericAssetstring requiredNetwork-agnostic asset family. -
namestringFilter destinations by name (case-insensitive partial match).
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}/transfer-destinations.
Given a Link-account source, returns the destinations it can transfer to.
Segments:
internalDestinations— off-chain reachable accounts (same-venue), grouped by account with subtype entries. May be empty when no same-venue rail qualifies.externalDestinations— on-chain reachable accounts. May be cross-venue or same- venue but in a different account hierarchy from the source. Same-hierarchy entries are suppressed since they're already covered by the internal segment.
sourceSupportsOnChainWithdrawal indicates whether BitGo wallet / external-address
destinations can also be used alongside the Link-account destinations returned here.
It is a property of the source venue, not of the caller's permission scope — always
present, even when the caller's link.account.view scope yields no Link-account rows.
Not paginated — the candidate set (enterprise Link accounts at a small number of candidate venues) is bounded and returned in full in one response.
-
internalDestinationsobject requiredinternalDestinations object
-
accountsarray of objects requiredaccounts object
-
idstring required -
namestring required -
venueIdstring required -
venueNamestring required -
whitelistingEnabledboolean required -
accountSubTypesarray of objects requiredaccountSubTypes object
-
accountSubTypestring required -
accountSubTypeLabelstring
-
-
subAccountsarray of objectssubAccounts object
-
idstring required -
namestring required -
venueIdstring required -
venueNamestring required -
whitelistingEnabledboolean required -
accountSubTypesarray of objects requiredaccountSubTypes object
-
accountSubTypestring required -
accountSubTypeLabelstring
-
-
-
-
-
externalDestinationsobject requiredexternalDestinations object
-
accountsarray of objects requiredaccounts object
-
idstring required -
namestring required -
venueIdstring required -
venueNamestring required -
whitelistingEnabledboolean required -
subAccountsarray of objectssubAccounts object
-
idstring required -
namestring required -
venueIdstring required -
venueNamestring required -
whitelistingEnabledboolean required
-
-
-
-
sourceSupportsOnChainWithdrawalboolean required
401
Unauthorized
Response Body
object
-
errorNamestring required -
errorstring required
403
Forbidden
Response Body
object
-
errorNamestring required -
errorstring required
404
Not Found
Response Body
object
-
errorNamestring required -
errorstring required
500
Internal Server Error
Response Body
object
-
errorNamestring required -
errorstring required