POST
/
beta
/
investment
/
transactions
/
get
/
Get transactions
curl --request POST \
  --url https://app.standardmetrics.io/beta/investment/transactions/get/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "company_ids": [
    "<string>"
  ]
}'
[
  {
    "id": "a2Ne",
    "company_id": "pvYe",
    "input_security_id": "pvYe",
    "output_security_id": "pvYe",
    "date": "2020-01-01",
    "event": "Sale",
    "shares": "1000000",
    "investment_amount": {
      "currency": "USD",
      "value": "1000000"
    },
    "proceeds": {
      "currency": "USD",
      "value": "1000000"
    }
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Options for fetching transactions. Filter by company IDs.

Response

200 - application/json

OK

The response is of type Transaction · object[].