API: Search Transactions

A valuable endpoint to retrieve transactions in the Banyan namespace given certain filters

Overview

This search endpoint can be used within a consumer application that only has certain data available locally and wants to display full receipt contents. Using your data, you can pull in all transactions that meet your search criteria.

URL

api.banyan.com/search/transaction?={parameters}

Headers

Header NameDescriptionRequiredValues
BearerAccess TokenRequiredSee Authorization section
Content-TypeThe transaction format to sendOptionalapplication/JSON
AcceptThe response format sent backOptionalapplication/JSON

Query Parameters

Parameter NameDescriptionTypeNotes
purchase_tsThe timestamp of the purchaseRFCIn UTC
card_last_fourThe last four digits of the cardholder's cardString
total_amountThe total amount of the purchaseStringIn US Dollars