---
title: "Render Receipt"
method: GET
path: "/transactions/receipt/render"
tags: ["Transactions"]
---

# Render Receipt

`GET /transactions/receipt/render`

## Request

- Base URL: `https://tb.paymentfusion.com`
- URL: `https://tb.paymentfusion.com/transactions/receipt/render`
- Auth: none declared. Required headers: `Authorization`, `Accept`
- TypeScript: <https://skmtc.dev/bankofamerica/apis/transaction-broker-api/docs/transactions/receipt/render/get.ts> (a function with typed inputs; its response is checked against the schema)

Called by the Independent Software Vendor. Request a receipt by name or by receipt reference number from the gateway for a given transaction reference number. Returns base64 encoded receipt if found.

## Query parameters

- `ref_number` string, required
- `template_name` string
- `receipt_data` union, required
  - object
    - `receipt_name` string, required: The name of the receipt on the gateway.
    - `receipt_ref_num` integer: The unique identifier of the receipt template on the gateway.
  - object
    - `receipt_name` string: The name of the receipt on the gateway.
    - `receipt_ref_num` integer, required: The unique identifier of the receipt template on the gateway.
- `merchant_id` string, required
- `receipt_format` string
- `text_version` boolean

## Headers

- `Authorization` string, api_id:api_token, required
- `Accept` string, required

## Response `200`

Success

- object
  - `receipt` string: The returned receipt
  - `v` string: The API version that was used to handle the request.

## Other responses

- `4XX`: Possible errors - 1, 9, 69, 109, 110, 111, 113, 189, 230

---

[API](https://skmtc.dev/bankofamerica/apis/transaction-broker-api.md) - [All operations](https://skmtc.dev/bankofamerica/apis/transaction-broker-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bankofamerica/apis/transaction-broker-api/revisions/6097bc689e41?raw)
