POST
/
api
/
v1
/
transactions
/
list
curl --request POST \
  --url https://integration-api.meshconnect.com/api/v1/transactions/list \
  --header 'Content-Type: application/json' \
  --header 'X-Client-Id: <api-key>' \
  --header 'X-Client-Secret: <api-key>' \
  --data '{
  "count": 20,
  "statuses": [
    "success"
  ],
  "authToken": "Secret authentication token",
  "type": "robinhood"
}'
{
  "content": {
    "transactions": [
      {
        "id": "17EC1243-D91A-48B6-B0CE-ECFDB134F8A0",
        "side": "buy",
        "symbol": "AAPL",
        "name": "APPLE INC",
        "assetType": "option",
        "paymentSymbol": "USD",
        "paymentType": "fiat",
        "amount": 1,
        "price": 120,
        "value": 120,
        "createdTimestamp": 1653215676,
        "updatedTimestamp": 1653215697,
        "status": "success",
        "orderType": "market",
        "timeInForce": "goodForDay",
        "brokerType": "robinhood",
        "transactionType": "order",
        "optionDetails": {
          "optionType": "call",
          "direction": "buyToOpen",
          "strikePrice": 200,
          "expirationTimestamp": 1673215697,
          "numberOfSharesInContract": 100,
          "complexOrderStrategyType": "NONE"
        }
      },
      {
        "id": "F9E932AE-A780-42F3-B887-82D888D594E5",
        "side": "sell",
        "symbol": "AAPL",
        "name": "APPLE INC",
        "assetType": "equity",
        "paymentSymbol": "USD",
        "paymentType": "fiat",
        "amount": 2,
        "price": 130,
        "value": 260,
        "createdTimestamp": 1651739676,
        "updatedTimestamp": 1651739781,
        "status": "success",
        "orderType": "market",
        "timeInForce": "goodTillCanceled",
        "brokerType": "robinhood",
        "transactionType": "order"
      },
      {
        "id": "9B5827E4-7D08-4A71-B4C0-B1B4E5562592",
        "side": "buy",
        "symbol": "BTC",
        "name": "Bitcoin",
        "assetType": "cryptocurrency",
        "paymentSymbol": "ETH",
        "paymentType": "cryptocurrency",
        "amount": 0.3,
        "price": 18604.8197,
        "value": 5581.44591,
        "createdTimestamp": 1651739676,
        "updatedTimestamp": 1651739781,
        "status": "success",
        "orderType": "limit",
        "timeInForce": "goodTillCanceled",
        "brokerType": "robinhood",
        "transactionType": "order"
      }
    ],
    "cursor": "N2VkZDI0MDMtNmRhYy01NThhLTk5NDUDYzI12M3GQ3ZmQ2",
    "total": 3,
    "earliestTimestamp": 1651739676
  },
  "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

application/json

Response

200
application/json

Transactions obtained.

The response is of type object.