# Read funding balances then the funding activity ledger.

Read funding balances then the funding activity ledger.

1. List the funding balance for each merchant linked to the account. Each row reports `funds` (total, including pending), `pending` (not yet sent to funding accounts), and `available` (usable in funding instructions). Pass `merchantId` to scope to one merchant.
 [getFundingBalance](/api/get-funding-balance)
2. List the funding activity ledger over the required date window. Each `activityRecord` shows the merchant, `amount`, and `type` (`credit` moved funds into the balance, `debit` moved funds out). `recipient` is populated only when `type` is `debit`. `dateFrom` and `dateTo` are required query parameters; `merchantId` is an optional filter.
 [getFundingActivity](/api/get-funding-activity)

## Workflow diagram

```mermaid
flowchart TD
  step0["1. get funding balances · API"]
  step1["2. get funding activity · API"]
  step0 --> step1
```
