POST
/
api
/
v1
/
transactions
/
{side}
curl --request POST \
--url https://integration-api.meshconnect.com/api/v1/transactions/{side} \
--header 'Content-Type: application/json' \
--header 'X-Client-Id: <api-key>' \
--header 'X-Client-Secret: <api-key>' \
--data '{
"symbol": "ETH",
"paymentSymbol": "USD",
"amount": 1,
"price": 1200,
"isCryptocurrency": true,
"paymentIsCryptocurrency": false,
"amountIsFiat": false,
"amountIsInPaymentSymbol": false,
"extendedHours": false,
"orderType": "limit",
"timeInForce": "goodForDay",
"authToken": "Secret authentication token",
"type": "robinhood"
}'
{
  "content": {
    "orderId": "6713DCDC-3D2E-46BC-ACB6-CF5FDE431CE2",
    "brokerType": "robinhood",
    "side": "buy",
    "amount": 1,
    "price": 1200,
    "value": 1200,
    "fee": 1.99,
    "timestamp": 1661904014,
    "status": "success",
    "statusDetails": "Executed successfully",
    "timeInForce": "goodTillCanceled"
  },
  "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

Path Parameters

side
enum<string>
required
Available options:
unknown,
buy,
sell

Body

application/json

Response

200
application/json

Order executed.

The response is of type object.