Skip to main content
GET
/
transactions
/
investment-activity
Get investment activity
curl --request GET \
  --url https://{host}/transactions/investment-activity \
  --header 'Authorization: Bearer <token>' \
  --header 'x-user-id: <x-user-id>'
[
  {
    "activityGroup": "investment",
    "activityType": "Buy",
    "displayDate": "2025-01-15T10:30:00Z",
    "status": "Settled",
    "currency": "EUR",
    "amount": 1000,
    "cashFlowSign": -1,
    "details": {
      "orders": [
        {
          "isin": "US0378331005",
          "side": "Buy",
          "quantity": 5,
          "consideration": {
            "currency": "EUR",
            "amount": 1000
          }
        }
      ]
    }
  },
  {
    "activityGroup": "investment",
    "activityType": "Dividends",
    "displayDate": "2025-01-10T09:00:00Z",
    "status": "Settled",
    "currency": "EUR",
    "amount": 25.5,
    "cashFlowSign": 1
  }
]
Returns the user’s investment activity sorted by display date in descending order (newest first). This includes:
  • Buy transactions – purchases of investment assets
  • Sell transactions – sales of investment assets
  • Rebalance transactions – portfolio rebalancing operations
  • Dividends – stock dividend payments

Query parameters

limit
integer
default:"unlimited"
Optional limit on the number of results to return. Must be a non-negative integer. If omitted, returns all available results.

Response

Each transaction activity item includes:
  • activityGroup – Always "investment" for this endpoint
  • activityType – One of: Buy, Sell, Rebalance, Dividends
  • displayDate – ISO 8601 date-time when the transaction occurred or was displayed
  • status – Current transaction status (e.g., Settled, Pending)
  • currency – ISO 4217 currency code
  • amount – Transaction amount in major units (e.g., 1000.00 for €1,000.00)
  • cashFlowSign1 for positive cash flow, -1 for negative cash flow
  • details – Optional additional information, including order summaries for transactions with orders

Authorizations

Authorization
string
header
required

OAuth 2.0 bearer token issued by Wealthyhood. Include this token in the Authorization header as Bearer <token>.

Headers

x-user-id
string
required

The unique identifier for the acting customer. Must match the user associated with the bearer token.

Example:

"bank-user-12345"

Query Parameters

limit
integer

Optional limit on the number of results to return. If omitted, returns all available results.

Required range: x >= 0
Example:

50

Response

Investment activity response.

activityGroup
enum<string>
required

The activity group this transaction belongs to.

Available options:
investment,
cash,
savings
Example:

"investment"

activityType
string
required

The specific activity type. Values depend on activityGroup:

  • investment: Buy, Sell, Rebalance, Dividends
  • cash: Deposit, Withdraw, Investments, Dividends
  • savings: cashToSavings, savingsToCash, savingsInterest
Example:

"Buy"

displayDate
string<date-time>
required

The date/time when this transaction occurred or was displayed. For settled transactions, this is typically the settlement date.

Example:

"2025-01-15T10:30:00Z"

status
enum<string>
required

The current status of the transaction. Valid statuses depend on the activityGroup:

  • investment: PendingDeposit, Pending, Cancelled, Settled, Rejected
  • cash: PendingTopUp, PendingDeposit, Pending, Settled
  • savings: PendingTopUp, PendingReinvestment, PendingDeposit, Pending, Settled
Available options:
PendingTopUp,
PendingReinvestment,
PendingDeposit,
Pending,
Cancelled,
Rejected,
Settled
Example:

"Settled"

currency
string
required

ISO 4217 currency code.

Example:

"EUR"

amount
number
required

Transaction amount in major units (e.g., 12.34 for €12.34).

Required range: x >= 0
Example:

1000

cashFlowSign
enum<integer>
required

Indicates whether this transaction represents a positive (1) or negative (-1) cash flow. Positive cash flows include deposits, dividends, and withdrawals from savings. Negative cash flows include withdrawals, investments, and savings top-ups.

Available options:
1,
-1
Example:

-1

details
object

Optional additional details specific to the transaction type.

  • For investment transactions: contains orders array
  • For savings transactions: contains savingsProductId
  • For cash transactions: may contain savingsProductId when related to savings products