curl --request POST \
--url https://app.herondata.io/api/end_users/{end_user_id_or_heron_id}/finicity/request_statement_reports \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"max_statement_index": 24,
"min_statement_index": 1
}'
Request a Finicity statement reports generation for end user. Reports will be generated for each account available and each month going back in time between min_statement_index and max_statement_index. When the report is ready it will be available as EndUserFile.
curl --request POST \
--url https://app.herondata.io/api/end_users/{end_user_id_or_heron_id}/finicity/request_statement_reports \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"max_statement_index": 24,
"min_statement_index": 1
}'
OK