Get investment activity
Retrieve investment activity including buy, sell, rebalance, and dividend transactions.
- Buy transactions – purchases of investment assets
- Sell transactions – sales of investment assets
- Rebalance transactions – portfolio rebalancing operations
- Dividends – stock dividend payments
Query parameters
Response
Each transaction activity item includes:activityGroup– Always"investment"for this endpointactivityType– One of:Buy,Sell,Rebalance,DividendsdisplayDate– ISO 8601 date-time when the transaction occurred or was displayedstatus– Current transaction status (e.g.,Settled,Pending)currency– ISO 4217 currency codeamount– Transaction amount in major units (e.g.,1000.00for €1,000.00)consideration– Transaction consideration with currency and amount (optional)owner– The unique identifier of the user who owns this transactiondetails– Optional additional information, including order summaries for transactions with orders, or asset info for dividend transactions
Order summaries
When a transaction includes orders (e.g., buy, sell, or rebalance transactions), thedetails.orders array contains order summaries with:
id– Order identifierisin– International Securities Identification Numberside– Order side (BuyorSell)quantity– Number of shares/units (optional)consideration– Order consideration amount and currency (optional)unitPrice– Price per unit (per share) with amount and currency (optional, present when available)fxRate– Exchange rate used for currency conversion with rate and currency (optional, present for foreign currency orders)
Dividend details
When a transaction is a dividend (activityType: "Dividends"), the details object contains:
isin– International Securities Identification Number of the asset that paid the dividendasset– Asset ID (e.g.,equities_applefor Apple)
Authorizations
OAuth 2.0 bearer token issued by Wealthyhood. Include this token in the Authorization header
as Bearer <token>.
Headers
The unique identifier for the acting customer. Must match the user associated with the bearer token.
"bank-user-12345"
Query Parameters
Optional limit on the number of results to return. If omitted, returns all available results.
x >= 150
Response
Investment activity response.
The unique identifier of the transaction.
"507f1f77bcf86cd799439011"
The activity group this transaction belongs to.
investment, cash, savings, pendingCashflows "investment"
The specific activity type. Values depend on activityGroup:
- investment: Buy, Sell, Rebalance, Dividends
- cash: Deposit, Withdraw, Investments, Dividends
- savings: cashToSavings, savingsToCash, savingsInterest
- pendingCashflows: Deposit, SavingsWithdrawal
"Buy"
The date/time when this transaction occurred or was displayed. For settled transactions, this is typically the settlement date.
"2025-01-15T10:30:00Z"
The current status of the transaction. Valid statuses depend on the activityGroup:
- investment: Pending, Cancelled, Settled, Rejected
- cash: Pending, Settled (user-visible settlement; e.g. deposits may show Settled once funds are received while internal settlement is still pending)
- savings: Pending, Settled
- pendingCashflows: Pending
Pending, Cancelled, Rejected, Settled "Settled"
The unique identifier of the user who owns this transaction.
"507f1f77bcf86cd799439011"
ISO 4217 currency code. Required for investment, cash, and savings activity.
Omitted for pendingCashflows (use consideration instead).
GBP, EUR, USD "EUR"
Transaction amount in major units (e.g., 12.34 for €12.34). Required for investment, cash,
and savings activity. Omitted for pendingCashflows (use consideration instead).
x >= 01000
Optional transaction consideration with currency and amount. Used by pendingCashflows
activity instead of top-level currency and amount.
Indicates whether this transaction represents a positive (1) or negative (-1) cash flow. Present for cash activity (activityGroup: "cash") and pending cashflow activity (activityGroup: "pendingCashflows"). Positive cash flows include deposits, dividends, and withdrawals from savings. Negative cash flows include withdrawals, investments, and savings top-ups.
1, -1 -1
Optional additional details specific to the transaction type.
- For investment transactions (Buy, Sell, Rebalance): InvestmentDetails with
ordersarray - For dividend transactions (Dividends): DividendDetails with
isinandasset - For savings transactions (cashToSavings, savingsToCash, savingsInterest): SavingsDetails with
savingsProductIdand optionalordersarray - For cash transactions with activityType "Investments": InvestmentDetails with
ordersarray - For cash transactions with activityType "Dividends": DividendDetails with
isinandasset - For pendingCashflows with activityType "SavingsWithdrawal": SavingsDetails with
savingsProductIdand emptyordersarray
- Option 1
- Option 2
- Option 3