Hanzo
OpenapiBooks

Returns the org's normalized bank transactions, newest first — every row the…

Returns the org's normalized bank transactions, newest first — every row the import and connector paths have ingested, with its amount in exact cents, its…

GET /v1/books/bank/transactions

Addresshttps://api.hanzo.ai/v1/books/bank/transactions
MethodGET
Operationget_books_bank_transactions
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the org's normalized bank transactions, newest first — every row the import and connector paths have ingested, with its amount in exact cents, its direction, and whether it has been matched to a voucher yet.

Request

2 fields.

FieldInTypeRequiredDescription
sandboxquerystringSandbox reads the org's SANDBOX ledger when it is exactly "true".
limitqueryintegerLimit caps how many rows come back; 500 when absent or not positive.

Response

StatusBodyMeaning
200BankTxnRow[]ok

200 body — 10 fields.

FieldInTypeAlwaysDescription
[].amountCentsbodyintegerAmountCents is the size of the movement in whole cents, always POSITIVE — direction carries the sign, so a caller must read both to know which way money went.
[].connectorbodystringConnector names the feed this row arrived on — which bank or processor connection it was synced from.
[].currencybodystringCurrency is the ISO code the bank reported the line in.
[].descriptionbodystringDescription is the statement memo as the bank wrote it.
[].directionbodystringDirection is which way the money moved: an inflow into the account or an outflow from it, from the org's point of view.
[].externalIdbodystringExternalID is the bank's OWN id for the line, carried verbatim.
[].matchedVoucherbodystringMatchedVoucher names the ledger voucher this line was reconciled against — the bill it paid, or the settlement it cleared.
[].merchantbodystringMerchant is the counterparty the feed identified, where it did.
[].postedAtbodystringPostedAt is the bank's posting date for the line, not when we synced it.
[].statusbodystringStatus is where the line got to: posted (an outflow booked straight to an expense), settled (an outflow that paid down a scanned bill), reconciled (an inflow…

Failure carries the platform error shape — see Errors.

Examples

hanzo books bank transactions

Books API · All Hanzo APIs · Interactive reference

How is this guide?

On this page