Skip to main content
GET
Get EndUser bank statement summary

Authorizations

x-api-key
string
header
required

Path Parameters

end_user_id_or_heron_id
string
required

Query Parameters

grouping
enum<string>
default:by_month

Determines how to group transactions. It supports calendar month (by_month) or rolling 30-day period (from last txns with rolling_30_days_from_last_txn or from today with rolling_30_days_from_today)

Available options:
by_month,
by_data_source_account_heron_id,
rolling_30_days_from_last_txn,
rolling_30_days_from_today,
by_month_by_data_source_account_heron_id,
by_month_by_account,
by_data_source_account_by_monthly_intervals
num_full_calendar_months
integer | null

Number of full calendar months to show in the summary

Required range: x >= 1
account_ids
string[] | null

Account ids to include in the summary, if not provided, all accounts are included

Response

200 - application/json

OK

grouping
string
required
read-only

Describes how the report was grouped. It supports either by calendar month or rolling 30-day period

all_transactions_summary
object | null

The same summary over every loaded transaction, month-to-date statements included, where the fields above narrow to bank-statement files. Bank connections and other non-file sources are in both, so a deal with no files reports the same figures twice. Grouped the same way as the request asked for. When the end user does not load unreconciled transactions the two views are identical, and this mirrors the summary.

average
object
by_data_source_account_heron_id
object

Summary of bank statement by data source account. Keys are heron ids of the data source account

by_month
object

Summary of bank statement by month (only populated when grouping is calendar_month))

by_month_by_account
object

Summary of bank statement by month and account id. Keys are the start date of the month and account ids, which may span multiple data source accounts

by_month_by_data_source_account_heron_id
object

Summary of bank statement by month and data source account. Keys are the start date of the month and heron ids of the data source account

rolling_30_days_from_last_txn
object

Summary of bank statement by rolling 30 days (only populated when grouping is rolling_30_days). Keys are the start date of the 30-day period using latest transaction date date as the end date

rolling_30_days_from_today
object

Summary of bank statement by rolling 30 days (only populated when grouping is rolling_30_days_from_today). Keys are the start date of the 30-day period using today as the end date

total
object