POST
/
api
/
v1
/
transfers
/
managed
/
configure
curl --request POST \
  --url https://integration-api.meshconnect.com/api/v1/transfers/managed/configure \
  --header 'Content-Type: application/json' \
  --header 'X-Client-Id: <api-key>' \
  --header 'X-Client-Secret: <api-key>' \
  --data '{
  "isInclusiveFeeEnabled": false,
  "fromAuthToken": "Secret authentication token",
  "fromType": "robinhood",
  "toAddresses": [
    {
      "networkId": "7436e9d0-ba42-4d2b-b4c0-8e4e606b2c12",
      "symbol": "USDT",
      "address": "0x9Bf6207f8A3f4278E0C989527015deFe10e5D7c6"
    },
    {
      "networkId": "0291810a-5947-424d-9a59-e88bb33e999d",
      "symbol": "USDT",
      "address": "HN7cABqLq46Es1jh92dQQisAq662SmxELLLsHHe4YWrH"
    },
    {
      "networkId": "0880db06-7c7c-4738-898f-cf74efc03c47",
      "symbol": "BTC",
      "address": "3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5"
    }
  ]
}'
{
  "content": {
    "status": "succeeded",
    "holdings": [
      {
        "symbol": "USDC",
        "availableBalance": 130,
        "availableBalanceInFiat": 0,
        "eligibleForTransfer": true,
        "networks": [
          {
            "name": "Ethereum",
            "id": "e3c7fdd8-b1fc-4e51-85ae-bb276e075611",
            "minimumAmount": 1,
            "totalEstimatedTransferFeeInFiat": 1.8,
            "estimatedNetworkGasFee": {
              "fee": 0.000850608941007,
              "feeCurrency": "ETH",
              "feeInFiat": 1.8
            },
            "institutionTransferFee": {
              "fee": 0,
              "feeCurrency": "ETH",
              "feeInFiat": 0
            },
            "eligibleForTransfer": true,
            "eligibleForTransferWithFunding": false
          },
          {
            "name": "Solana",
            "id": "0291810a-5947-424d-9a59-e88bb33e999d",
            "minimumAmount": 1,
            "totalEstimatedTransferFeeInFiat": 0.1,
            "estimatedNetworkGasFee": {
              "fee": 0.00025,
              "feeCurrency": "SOL",
              "feeInFiat": 0.1
            },
            "institutionTransferFee": {
              "fee": 0,
              "feeCurrency": "SOL",
              "feeInFiat": 0
            },
            "eligibleForTransfer": true,
            "eligibleForTransferWithFunding": false
          }
        ],
        "eligibleForTransferWithFunding": false
      }
    ]
  },
  "status": "ok",
  "message": "",
  "errorType": ""
}

Authorizations

X-Client-Secret
string
header
required

Contact Mesh to get client Secret

X-Client-Id
string
header
required

Contact Mesh to get client Id

Body

fromAuthToken
string
required

The authentication token to send assets from.

Minimum length: 1
fromType
enum<string>
required

The type of the integration to send assets from.

Available options:
robinhood,
eTrade,
alpaca,
tdAmeritrade,
weBull,
stash,
interactiveBrokers,
public,
coinbase,
kraken,
coinbasePro,
cryptoCom,
openSea,
binanceUs,
gemini,
cryptocurrencyAddress,
cryptocurrencyWallet,
okCoin,
bittrex,
kuCoin,
etoro,
cexIo,
binanceInternational,
bitstamp,
gateIo,
acorns,
okx,
bitFlyer,
coinlist,
huobi,
bitfinex,
deFiWallet,
krakenDirect,
vanguard,
binanceInternationalDirect,
bitfinexDirect,
bybit,
paxos,
coinbasePrime,
btcTurkDirect,
kuCoinDirect,
okxOAuth,
paribuDirect,
robinhoodConnect,
blockchainCom,
bitsoDirect,
binanceConnect,
binanceOAuth,
revolutConnect,
binancePay,
bybitDirect
amount
number | null

If provided, Front API configures the response to only return holdings with enough amount of this crypto for the transfer

amountInFiat
number | null

If provided, Front API configures the response to only contain holdings with enough value (converted to fiat) for the transfer.

fiatCurrency
string | null

Fiat currency that is to get corresponding converted fiat values of transfer and fee amounts. If not provided, defaults to USD.

isInclusiveFeeEnabled
boolean

Specifies if all the fees are included in the amount to transfer.

networkId
string | null

If provided, from API configures the response to include the requested network only.

symbol
string | null

If provided, Front API returns only networks that support transferring of this symbol.

toAddresses
object[] | null

A list of available addresses provided by the API client. The list can contain all supported addresses by the client. Front API validates the addresses and returns the list of supported tokens and networks as the result of the operation.

toAuthToken
string | null

The authentication token of the target integration. Can be used alternatively to the list of requested address (toAddresses). If used, toType should also be provided.

toType
enum<string>

The type of the target integration to send assets to. Used along with the toAuthToken alternatively to toAddresses.

Available options:
robinhood,
eTrade,
alpaca,
tdAmeritrade,
weBull,
stash,
interactiveBrokers,
public,
coinbase,
kraken,
coinbasePro,
cryptoCom,
openSea,
binanceUs,
gemini,
cryptocurrencyAddress,
cryptocurrencyWallet,
okCoin,
bittrex,
kuCoin,
etoro,
cexIo,
binanceInternational,
bitstamp,
gateIo,
acorns,
okx,
bitFlyer,
coinlist,
huobi,
bitfinex,
deFiWallet,
krakenDirect,
vanguard,
binanceInternationalDirect,
bitfinexDirect,
bybit,
paxos,
coinbasePrime,
btcTurkDirect,
kuCoinDirect,
okxOAuth,
paribuDirect,
robinhoodConnect,
blockchainCom,
bitsoDirect,
binanceConnect,
binanceOAuth,
revolutConnect,
binancePay,
bybitDirect

Response

200 - application/json
content
object
displayMessage
string | null

User-friendly display message that can be presented to the end user

errorData
any | null
errorType
string | null

Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation. All possible error types are available in the documentation.

message
string | null

A message generated by the API

status
enum<string>
Available options:
ok,
serverFailure,
permissionDenied,
badRequest,
notFound,
conflict,
tooManyRequest,
locked,
unavailableForLegalReasons