API: GET Receipt

A valuable endpoint to retrieve receipts in the Banyan namespace

Overview

This endpoint can be used to retrieve the details of a single receipt. Please see the API Reference to test out this functionality.

URL

api.banyan.com/rest/v1/receipt/{byn_receipt_id}

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