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/v1/receipt/{byn_receipt_id}
Headers
| Header Name | Description | Required | Values |
|---|---|---|---|
| Bearer | Access Token | Required | See Authorization section |
| Content-Type | The transaction format to send | Optional | application/JSON |
| Accept | The response format sent back | Optional | application/JSON |
Query Parameters
| Parameter Name | Description | Type | Notes |
|---|---|---|---|
| purchase_ts | The timestamp of the purchase | RFC | In UTC |
| card_last_four | The last four digits of the cardholder's card | String | |
| total_amount | The total amount of the purchase | String | In US Dollars |
Updated about 1 month ago
