Skip to main content
GET
/
transactions
/
savings-activity
Get savings activity
curl --request GET \
  --url https://{host}/transactions/savings-activity \
  --header 'Authorization: Bearer <token>' \
  --header 'x-user-id: <x-user-id>'
[
  {
    "id": "507f1f77bcf86cd799439015",
    "activityGroup": "savings",
    "activityType": "cashToSavings",
    "displayDate": "2025-01-15T16:00:00Z",
    "status": "Settled",
    "currency": "EUR",
    "amount": 2000,
    "owner": "507f1f77bcf86cd799439011",
    "details": {
      "savingsProductId": "mmf_dist_eur",
      "orders": [
        {
          "id": "507f1f77bcf86cd799439015",
          "side": "Buy",
          "status": "Settled",
          "isin": "IE00B1XZS804",
          "quantity": 2000,
          "consideration": {
            "currency": "EUR",
            "amount": 2000
          },
          "settledAt": "2025-01-15T00:00:00.000Z",
          "createdAt": "2025-01-15T16:00:00Z",
          "displayDate": "2025-01-15T16:00:00Z",
          "isCancellable": false
        }
      ]
    }
  },
  {
    "id": "507f1f77bcf86cd799439016",
    "activityGroup": "savings",
    "activityType": "savingsInterest",
    "displayDate": "2025-01-01T00:00:00Z",
    "status": "Settled",
    "currency": "EUR",
    "amount": 12.5,
    "owner": "507f1f77bcf86cd799439011",
    "details": {
      "savingsProductId": "mmf_dist_eur"
    }
  }
]
Returns the user’s savings activity for the default EUR MMF product (mmf_dist_eur) sorted by display date in descending order (newest first). This includes:
  • cashToSavings – Transfers from cash balance to savings
  • savingsToCash – Withdrawals from savings to cash balance
  • savingsInterest – Interest payments on savings holdings
Currently, this endpoint returns activity for the default EUR MMF savings product only. Product filtering via query parameters is not yet available.

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 "savings" for this endpoint
  • activityType – One of: cashToSavings, savingsToCash, savingsInterest
  • 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., 2000.00 for €2,000.00)
  • consideration – Transaction consideration with currency and amount (optional)
  • owner – The unique identifier of the user who owns this transaction
  • details – Optional additional information, including:
    • savingsProductId – The savings product identifier (e.g., mmf_dist_eur)
    • orders – 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 >= 1
Example:

50

Response

Savings activity response.

id
string
required

The unique identifier of the transaction.

Example:

"507f1f77bcf86cd799439011"

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: Pending, Cancelled, Settled, Rejected
  • cash: Pending, Settled
  • savings: Pending, Settled
Available options:
Pending,
Cancelled,
Rejected,
Settled
Example:

"Settled"

currency
enum<string>
required

ISO 4217 currency code.

Available options:
GBP,
EUR,
USD
Example:

"EUR"

amount
number
required

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

Required range: x >= 0
Example:

1000

owner
string
required

The unique identifier of the user who owns this transaction.

Example:

"507f1f77bcf86cd799439011"

consideration
object

Transaction consideration with currency and amount

cashFlowSign
enum<integer>

Indicates whether this transaction represents a positive (1) or negative (-1) cash flow. This field is only present for cash activity transactions (activityGroup: "cash"). 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 (Buy, Sell, Rebalance): InvestmentDetails with orders array
  • For dividend transactions (Dividends): DividendDetails with isin and asset
  • For savings transactions (cashToSavings, savingsToCash, savingsInterest): SavingsDetails with savingsProductId and optional orders array
  • For cash transactions with activityType "Investments": InvestmentDetails with orders array
  • For cash transactions with activityType "Dividends": DividendDetails with isin and asset