Back to Payments & Banking
payments
Treasury Basics
Cash management, liquidity, FX, and nostro/vostro accounts
Treasury Basics — Overview
Cash management, liquidity, FX, and nostro/vostro accounts
Treasury manages organizational cash: liquidity forecasting, FX hedging, nostro (our money at correspondent bank) and vostro (their money with us) accounts, and investment of surplus funds. Payment ops feeds treasury with settlement forecasts.
// Treasury cash position (simplified)
CashPosition position = CashPosition.builder()
.operatingAccounts(bankBalances.sum())
.nostroAccounts(correspondentBalances.sum())
.pendingInflows(settlements.expectedIncoming())
.pendingOutflows(settlements.expectedOutgoing())
.fxExposure(fxService.calculateOpenPositions())
.build();
// Liquidity coverage
if (position.getAvailableLiquidity().isBelow(threshold)) {
treasuryService.initiateFundingTransfer();
}
// FX hedge example
ForwardContract hedge = fxDesk.bookForward(
CurrencyPair.USD_INR, notional, maturityDate);Tip: Cut-off times for SWIFT/ACH/RTGS differ by corridor — treasury must align funding with settlement windows.