SourceTransferPeerPathResponse

constructor(type: TransferPeerPathType, subType: String? = null, id: String? = null, name: String? = null, walletId: String? = null, tradingAccount: String? = null)

Parameters

subType

In case the type is set to TransferPeerPathType.EXCHANGE_ACCOUNT or TransferPeerPathType.FIAT_ACCOUNT, the specific exchange vendor name or fiat vendor name. In case the type is set to TransferPeerPathType.INTERNAL_WALLET or TransferPeerPathType.EXTERNAL_WALLET, the subType is set to Internal or External.

id

The ID of the peer. You can retrieve the ID of each venue object using the endpoints for listing vault accounts, listing exchange account, listing fiat accounts, listing internal wallets, listing external wallets, listing network connections. For the other types, this parameter is not needed.

name

The name of the peer.

walletId
tradingAccount

If this transaction is an exchange internal transfer, this field will be populated with the type of that trading account.