Skip to main content
POST
/
api
/
v1
/
transfers
/
managed
/
address
/
get
Get deposit address
curl --request POST \
  --url https://integration-api.meshconnect.com/api/v1/transfers/managed/address/get \
  --header 'Content-Type: application/json' \
  --header 'X-Client-Id: <api-key>' \
  --header 'X-Client-Secret: <api-key>' \
  --data '
{
  "symbol": "DOGE",
  "networkId": "34b66a94-f9f9-49ef-81e8-6ebd5a866f9d",
  "authToken": "Secret authentication token",
  "type": "binanceInternational"
}
'
import requests

url = "https://integration-api.meshconnect.com/api/v1/transfers/managed/address/get"

payload = {
"symbol": "DOGE",
"networkId": "34b66a94-f9f9-49ef-81e8-6ebd5a866f9d",
"authToken": "Secret authentication token",
"type": "binanceInternational"
}
headers = {
"X-Client-Secret": "<api-key>",
"X-Client-Id": "<api-key>",
"Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {
'X-Client-Secret': '<api-key>',
'X-Client-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
symbol: 'DOGE',
networkId: '34b66a94-f9f9-49ef-81e8-6ebd5a866f9d',
authToken: 'Secret authentication token',
type: 'binanceInternational'
})
};

fetch('https://integration-api.meshconnect.com/api/v1/transfers/managed/address/get', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://integration-api.meshconnect.com/api/v1/transfers/managed/address/get",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'symbol' => 'DOGE',
'networkId' => '34b66a94-f9f9-49ef-81e8-6ebd5a866f9d',
'authToken' => 'Secret authentication token',
'type' => 'binanceInternational'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Client-Id: <api-key>",
"X-Client-Secret: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://integration-api.meshconnect.com/api/v1/transfers/managed/address/get"

payload := strings.NewReader("{\n \"symbol\": \"DOGE\",\n \"networkId\": \"34b66a94-f9f9-49ef-81e8-6ebd5a866f9d\",\n \"authToken\": \"Secret authentication token\",\n \"type\": \"binanceInternational\"\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("X-Client-Secret", "<api-key>")
req.Header.Add("X-Client-Id", "<api-key>")
req.Header.Add("Content-Type", "application/json")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://integration-api.meshconnect.com/api/v1/transfers/managed/address/get")
.header("X-Client-Secret", "<api-key>")
.header("X-Client-Id", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"symbol\": \"DOGE\",\n \"networkId\": \"34b66a94-f9f9-49ef-81e8-6ebd5a866f9d\",\n \"authToken\": \"Secret authentication token\",\n \"type\": \"binanceInternational\"\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://integration-api.meshconnect.com/api/v1/transfers/managed/address/get")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["X-Client-Secret"] = '<api-key>'
request["X-Client-Id"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"symbol\": \"DOGE\",\n \"networkId\": \"34b66a94-f9f9-49ef-81e8-6ebd5a866f9d\",\n \"authToken\": \"Secret authentication token\",\n \"type\": \"binanceInternational\"\n}"

response = http.request(request)
puts response.read_body
{
  "content": {
    "symbol": "DOGE",
    "address": "D641Fmzx...",
    "chain": "DOGE"
  },
  "status": "ok",
  "message": "",
  "errorHash": "010074a1",
  "teamCode": "P4",
  "errorType": ""
}
{
"status": "badRequest",
"message": "Error message",
"displayMessage": "Optional display message",
"errorHash": "7dcbb73d",
"teamCode": "P4",
"errorType": "missingField"
}
{
"status": "notFound",
"message": "Error message",
"displayMessage": "Optional display message",
"errorHash": "7dcbb73d",
"teamCode": "P4",
"errorType": "missingField"
}

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

application/json
authToken
string
required

Auth token that allows connecting to the target institution

Minimum string length: 1
type
enum<string>
required

Type of the institution to connect

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,
paribuOAuth,
payPalConnect,
binanceTrDirect,
coinbaseRamp,
bybitDirectMobile,
sandbox,
cryptoComPay,
bybitEuDirect,
uphold,
binancePayOnchain,
sandboxCoinbase,
bybitPay,
krakenOAuth,
bluvoKrakenOAuth,
cashApp,
sandboxKrakenOAuth,
krakPay,
unlimit,
alchemyPay,
okxPay
symbol
string | null

Symbol of the required cryptocurrency, e.g. ETH or BTC. Can be used instead of the AddressType field.

addressType
enum<string> | null

Type of the address of symbol to be transferred. Providing EthAddress will assume a transfer of ETH over Ethereum blockchain. Can be used instead of Symbol field.

Available options:
ethAddress,
btcAddress,
ltcAddress,
solAddress,
algoAddress,
celoAddress,
cardanoAddress,
polygonAddress,
bnbAddress,
elrondAddress,
neoAddress,
xrpAddress,
flowAddress,
harmonyOneAddress,
tronAddress,
dogeAddress,
opAddress
networkId
string<uuid>

Specifies which the network to use to obtain the deposit address of the Symbol asset.

mfaCode
string | null

Some of integrations require MFA code to create a deposit address, e.g. KrakenDirect

Response

Address successfully obtained or generation initiated.

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

A message generated by the API

displayMessage
string | null

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

errorHash
string | null
read-only

An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping

teamCode
string | null
read-only

Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS. Format: 2-character code (e.g., "7K", "M2"). Use for alerting/routing, not display.

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.

errorData
unknown
content
object | null