Create a direct investment

POST/api/portfolio/transactions/investments

Request body

Body shape: Portfolio_CreateInvestmentRequest (required)

Responses

200`TransactionResource`
{}
403Forbidden.Error
422Validation error.Error
curl -X POST https://your-url.com/kong/core/api/gateway/api/portfolio/transactions/investments\
  -H "Authorization: Bearer $DELIO_API_KEY"\
  -H "Content-Type: application/json"\
  -d '{
  "asset_id": 1,
  "investor_id": "investor_id",
  "date": "date",
  "funding_source": "cash_account",
  "number_of_shares_issued": 1,
  "price_per_unit": 1,
  "total_value": 1
}'