Skip to main content
POST
/
beta
/
investment
/
transactions
/
add
Add transactions
curl --request POST \
  --url https://app.standardmetrics.io/beta/investment/transactions/add/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "sales": [],
  "conversions": [],
  "exercises": []
}
'
[
  {
    "id": "<string>",
    "company_id": "<string>",
    "input_security_id": "pvYe",
    "output_security_id": "pvYe",
    "date": "2023-12-25",
    "event": "exercise",
    "shares": "1000000",
    "investment_amount": {
      "value": "1000000",
      "currency": "USD",
      "converted_value": "1000000",
      "preferred_currency": "USD",
      "fx_rate": "1.0",
      "is_custom_rate": false
    },
    "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

A list of transactions to add to a company's cap table.

sales
Sale · object[]
conversions
Conversion · object[]
exercises
Exercise · object[]

Response

201 - application/json

Created

id
string
required
company_id
string
required
input_security_id
string | null
required

The ID for the security that was being transacted.

Example:

"pvYe"

output_security_id
string | null
required

The ID for the security that was created as a result of the transaction.

Example:

"pvYe"

date
string<date>
required

The date of the transaction.

event
enum<string>
required

The type of transaction that occurred.

Available options:
exercise,
conversion,
sale
shares
required

The number of shares that were transferred or sold as a result of the transaction.

Example:

"1000000"

investment_amount
MoneyAmount · object
required

The amount of money that was invested in the transaction.

proceeds
MoneyAmount · object
required

The amount of money that was received from the transaction.

Example:
{ "currency": "USD", "value": "1000000" }