Create deposit slips
Groups transactions onto deposit slips — one slip per bank account represented in the list — and claims each transaction so it cannot be grouped again. Requires the deposit_slips:write permission.
Authorization
AuthorizationstringrequiredBody
application/json
Send transactions from several bank accounts and you get several slips back, one per account. It is all-or-nothing: if any transaction is ineligible or already claimed, nothing is created.
transactionIdsstring[]requiredThe transactions to group, at least one and with no duplicates. Every one must be a candidate.
depositedstring · dateThe date the money was taken to the bank, read in the company's timezone. Defaults to today.
Response
200 · The slips that were created, as summaries. The envelope reports the slips as a single page: `page` is 1, `totalPages` is 1, and `pageSize` equals the number of slips.
itemsDepositSlip[]One slip per bank account represented in transactionIds.
totalCountintegerHow many slips were created.
totalPagesintegerAlways 1.
pageintegerAlways 1.
pageSizeintegerThe same number as totalCount.
400 · `transactionIds` is empty or contains duplicates.
401 · The access token is missing, expired, or not for this company.
403 · The caller does not hold the `deposit_slips:write` permission.
404 · At least one transaction is not in the caller's company or is not eligible — wrong direction, not `success`, not an offline payment, zero or negative, or deleted. The response does not say which.
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.