Get pending cashflow activity
Retrieve pending deposits and savings withdrawals that will affect the user’s cash balance once settled.
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"
Response
Pending cash flows 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