POST
/
api
/
v1
/
transactions
/
details
curl --request POST \
  --url https://integration-api.meshconnect.com/api/v1/transactions/details \
  --header 'Content-Type: application/json' \
  --header 'X-Client-Id: <api-key>' \
  --header 'X-Client-Secret: <api-key>' \
  --data '{
  "id": "17EC1243-D91A-48B6-B0CE-ECFDB134F8A0",
  "isCryptocurrency": true,
  "authToken": "Secret authentication token",
  "type": "robinhood"
}'
{
  "id": "17EC1243-D91A-48B6-B0CE-ECFDB134F8A0",
  "side": "buy",
  "symbol": "AAPL",
  "assetType": "equity",
  "paymentType": "fiat",
  "amount": 1,
  "price": 120,
  "value": 120,
  "createdTimestamp": 1653215676,
  "updatedTimestamp": 1653215697,
  "status": "success",
  "statusDetails": "",
  "brokerType": "robinhood",
  "transactionType": "order"
}

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 length: 1
type
enum<string>
required

Type of the institution to connect

Supported integrations:

Robinhood Alpaca Coinbase Kraken CryptoCom Binance Gemini OkCoin KuCoin CexIo BinanceInternational Bitstamp GateIo Okx BitFlyer Coinlist Huobi Bitfinex KrakenDirect BinanceInternationalDirect Bybit CoinbasePrime RobinhoodConnect

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
id
string
required
Minimum length: 1
isCryptocurrency
boolean
required

Some Stock and Crypto symbols can intersect, so we need to explicitly specify what type of asset is requested to be bought.

side
enum<string>

Should be provided for Coinbase.

Available options:
unknown,
buy,
sell
symbolPair
string | null

Symbol pair of the order (requested by some brokers).

mfaCode
string | null

MFA Code to cancel an order (requested by Kraken if MFA is enabled in user settings)

Response

200
application/json
Transactions obtained.
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

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
any | null
content
object