API: GET Receipt (Search)

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

Overview

This search endpoint can be used to find receipts that meet a certain criteria.

URL

api.banyan.com/search/receipt?={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