List sweeps for a bank account
Returns a page of the sweeps that have moved money between this bank account and the payment provider's ledger, newest records first.
Authorization
AuthorizationstringrequiredBearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.
Path parameters
bankAccountIdstringrequiredThe bank account whose sweeps to list. A Snowflake id sent as a decimal string.
example: 1801556677120004096
Query parameters
pageintegerWhich page to return. The first page is 1.
default: 1
pageSizeintegerHow many sweeps to return per page. Between 1 and 100.
default: 50
created.startstring · date-timeReturn only sweeps recorded at or after this moment, read in the company's timezone. Give at least one of created.start and created.end when filtering by date.
created.endstring · date-timeReturn only sweeps recorded at or before this moment, read in the company's timezone.
Response
200 · A page of sweeps.
itemsSweep[]The sweeps on this page.
currentPageintegerThe page this response is.
totalPagesintegerHow many pages the filter produces.
pageSizeintegerHow many sweeps a page holds.
totalCountintegerHow many sweeps match across all pages.