API

Create investment

Create a manual investment holding.

Manual only (max 1000 holdings per group). Bank holdings cannot be created via the API.

POST/v1/create_investment

Body

FieldTypeRequiredDefaultDescription
idempotencyKeystringYes—Client-generated key (1–128 chars: letters, digits, . _ : -). Same key + same body replays; different body returns 409. Prefer Idempotency-Key HTTP header when calling the Tools API.
budgetIdstringYes—Budget that owns the parent group.
groupIdstringYes—Manual investment group id.
namestringYes—Holding display name (e.g. VWCE; max 100 characters).
balancenumberYes—Current market value of the holding (0–1000000).
currencystringNo—ISO 4217 currency code for the balance.
typestringNo—Optional holding type classification.
quantitynumberNo—Optional share/unit quantity (0–1000000).
unitValuenumberNo—Optional price per unit (0–1000000).

Response data

FieldTypeDescription
idstringNew holding id.
sourcestringmanual.
balancenumberCurrent balance or marked market value of the holding.