Dashboard snapshot
Currency exposure breakdown
Understand where money is committed:- Active mandates — AP2 pre-authorized spending not yet executed
- Scheduled transfers — future-dated moves committed
- Open streams — money flowing out per second; runway at current rate
- Pending disputes — money in escrow during dispute
- Reserve holds — chargeback / compliance reserves
Treasury accounts
Internal accounts your treasury team operates against (distinct from customer accounts):min_balance— alert if balance drops belowtarget_balance— rebalancing targetmax_balance— alert if balance rises above (idle cash)
Record a treasury transaction
For entries that aren’t customer-originated (e.g. your CFO wiring funds in from the corporate bank):inbound— external money in (partner funding, bank deposit)outbound— external money out (payout, bank withdrawal)rebalance— internal move between treasury accountsfee— operating fees (rail charges, provider costs)adjustment— manual correction
Auto-rebalancing
When one treasury account is abovemax_balance and another is below target_balance, auto-rebalance moves funds:
Alerts
- Balance below
min_balance - Balance above
max_balance(idle cash) - Currency exposure approaching limit (regulatory or internal)
- Rail connectivity down (can’t settle)
- Reconciliation gap above threshold
treasury.alert.opened webhook for real-time paging.
Endpoints
| Endpoint | Purpose |
|---|---|
GET /v1/treasury/dashboard | Full snapshot |
GET /v1/treasury/exposure | Currency exposure breakdown |
POST /v1/treasury/accounts | Create treasury account |
GET /v1/treasury/accounts | List accounts |
PATCH /v1/treasury/accounts/:id | Update limits |
POST /v1/treasury/transactions | Record a treasury txn |
GET /v1/treasury/transactions | List txns |
POST /v1/treasury/rebalancing | Move between treasury accounts |
GET /v1/treasury/alerts | Active alerts |
Typical treasury workflows
Daily:- Check dashboard for any alerts
- Review overnight rebalancing moves
- Confirm reconciliation reports clean
- Review currency exposure forecast vs. actual
- Adjust rebalancing thresholds if inventory is drifting
- Review alert history for recurring issues
- Close-out treasury account reconciliation against GL
- Review idle-cash metrics and
max_balancetuning - Update rail counterparty limits if volume grew
Permissions
Treasury endpoints require thetreasury:* scope on API keys. By default only owner and admin users can access them via the dashboard. Don’t grant treasury scope to integration-layer API keys.