List deposit slip candidates
Returns a page of transactions on one bank account that are eligible to be grouped onto a deposit slip and not already on one. Requires the deposit_slips:read permission.
Authorization
AuthorizationstringrequiredQuery parameters
bankAccountIdstringrequiredThe bank account to look in. Candidates are always scoped to one account, because a slip cannot mix accounts.
pageintegerWhich page to return, starting at 1.
pageSizeintegerHow many transactions per page, between 1 and 100.
transactionDate.startstring · dateEarliest transaction date to include, read in the company's timezone.
transactionDate.endstring · dateLatest transaction date to include, read in the company's timezone.
transactionDate.startInclusivebooleanWhether transactionDate.start itself is included.
transactionDate.endInclusivebooleanWhether transactionDate.end itself is included.
finalizedDate.startstring · dateEarliest finalized date to include, read in the company's timezone.
finalizedDate.endstring · dateLatest finalized date to include, read in the company's timezone.
finalizedDate.startInclusivebooleanWhether finalizedDate.start itself is included.
finalizedDate.endInclusivebooleanWhether finalizedDate.end itself is included.
Response
200 · A page of eligible, unclaimed transactions.
itemsCandidate[]The transactions you can pass to create a deposit slip.
totalCountintegerHow many candidates match in total.
totalPagesintegerHow many pages that is at this pageSize.
pageintegerThe page number that was returned.
pageSizeintegerHow many candidates a full page holds.
400 · `bankAccountId` is missing or not a Snowflake, or a pagination value is out of range.
401 · The access token is missing, expired, or not for this company.
403 · The caller does not hold the `deposit_slips:read` permission.
404 · No bank account with that id belongs to the caller's company.
Only a transaction that is money coming in (direction: "in"), has status success, has an amount greater than zero, was recorded as an offline payment rather than one taken through a processor, is not deleted, and is not already claimed by another deposit slip. Anything else is not a candidate and cannot be added.