This API retrieves the Cash Flow Analytics summary of a Book in JSON format. It provides daily balances, bank account PII, and time series for all transaction categories at the Book and bank account level.
It offers quicker analytics generation, more granular and accurate transaction categories (including improved revenue and expense calculations), and a more concise structure.
Async processing
This API supports asynchronous processing. To get the asynchronous result, add async=true in the query parameter to run the request as a background job and receive a job_id immediately instead of waiting for the full response inline. When async=true, the endpoint returns 202 Accepted with a job_id instead of the analytics payload.
Async mode is required for Books with more than 100,000 transactions. Books exceeding 1,000,000 transactions are rejected with 422 (error code 1100). Once submitted, poll
Async job status API to retrieve the result when the job is complete.
Date range
Use begin_date and end_date to limit the summary to a period. Both parameters are optional. Dates are inclusive and use YYYY-MM-DD. begin_date can't be after end_date. The parameters filter the response and don't change the Book. Without them, the response is unchanged.
With a date range:
- Balances and cash flow cover only the days in the range that a statement covers. The first day's balance is the balance carried over from earlier in the statement.
- Trends (
cash_balance_trend_*,cash_flow_trend_*) are measured back fromend_date. - Transaction-based fields include only transactions in the range.
- Monthly averages (
cash_flow_at_a_glance.average_monthly_*) divide by every calendar month the range touches, so a partial month lowers the average. - Statements:
bank_accounts[].periodslists each overlapping statement whole. Accounts with no statement in the range are omitted, and if none overlap, the summary is empty. - Book-wide data, such as
business_verification_data, NAICS and KYB, isn't affected.
An inverted range or an invalid date returns 400.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||