v4

OpenAPI 3.0.12026-07-3189233676.2 KB
Bank Statements

List all bank statements

The endpoint returns a list of bank statement PDFs collected for the link's accounts.

get/v1/links/{link_id}/bank_statements/

Query parameters

pageinteger

A page number within the paginated result set.

page_sizeinteger

Number of results to return per page.

Response

countinteger required

Number of the results in total

nextstring uri nullable required

Link to the next page

previousstring uri nullable required

Link to the previous page

Example response

{
  "count": 100,
  "next": "https://prod.truv.com/v1/links/24d7e80942ce4ad58a93f70ce4115f5c/bank_statements/?page=2",
  "previous": "https://prod.truv.com/v1/links/24d7e80942ce4ad58a93f70ce4115f5c/bank_statements/?page=1",
  "results": [
    {
      "id": "24d7e80942ce4ad58a93f70ce4115f5c",
      "external_id": "202311632023111015132916907630010010",
      "statement_date": "2023-12-19",
      "account_id": "68a7e80942ce4ad58a93f70ce411549a",
      "file": "https://cdn.truv.com/files_examples/bank_statement.pdf"
    }
  ]
}