Authorizations
Contact Mesh to get client Secret
Contact Mesh to get client Id
Path Parameters
unknown, buy, sell Body
Auth token that allows connecting to the target institution
1Type of the institution to connect
Supported integrations:
Robinhood
Coinbase
Kraken
CryptoCom
Binance
Gemini
OkCoin
KuCoin
CexIo
BinanceInternational
Bitstamp
GateIo
Okx
BitFlyer
Coinlist
Huobi
Bitfinex
KrakenDirect
BinanceInternationalDirect
Bybit
CoinbasePrime
RobinhoodConnect
Sandbox
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 Symbol to trade. For example, AAPL or ETH
1Symbol to use for payment, defaults to USD.
1Amount of purchase.
Indicates whether the PaymentSymbol is fiat or cryptocurrency
This value indicates if the order should be executed in payment/quote currency amount (e.g. purchase ETH for $10). This can be
performed only if the current institution supports such orders (SupportsPlacingSellOrdersInPaymentSymbolAmount and
SupportsPlacingBuyOrdersInPaymentSymbolAmount fields in get supported order features for institution) and AmountInPaymentSymbol
value is passed.
market, limit, stopLoss goodTillCanceled, immediateOrCancel, fillOrKill, goodForDay, postOnly, unknown Price of the unit, used for Limit and StopLoss orders.
Some Stock and Crypto symbols can intersect, so the type of the asset needs to be specified explicitly.
Specifies the target amount in the payment/quote currency. For example, setting this to 10 when the AmountInPaymentSymbol = true
and PaymentSymbol = USD will instruct the API to place an order to buy/sell the asset worth $10.
Specifies if the extended trading hours should be used.
MFA Code to create an order (requested by Kraken if MFA is enabled in user settings)
Response
Order preview obtained.
ok, serverFailure, permissionDenied, badRequest, notFound, conflict, tooManyRequest, locked, unavailableForLegalReasons A message generated by the API
User-friendly display message that can be presented to the end user
An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping
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.