---
title: "Create a print receipt job"
method: POST
path: "/print_receipts"
tags: ["Print Receipts"]
---

# Create a print receipt job

`POST /print_receipts`

## Request

- Base URL: `https://tb.paymentfusion.com`
- URL: `https://tb.paymentfusion.com/print_receipts`
- Auth: none declared. Required headers: `Authorization`, `Accept`, `Content-Type`

Called by the Independent Software Vendor. Creates a new print receipt job.

## Headers

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

## Request body `application/x-www-form-urlencoded`

- union
  - PrintReceiptsWithSerialNumber
    - `serial_number` string: The serial number of the terminal.
    - `transaction_ref_number` integer, required: The unique identifier of the transaction on the gateway. (alphanumeric, max 256 characters)
    - `template_identifier` integer, required: The unique identifier of the receipt template on the gateway. (alphanumeric, max 256 characters)
    - `merchant_id` string, required: The merchant identifier that will be used to connect to the gateway. Size range - `1..16`
    - `show_terminal_details` true | false: Set show_terminal_details to true only if displaying extra details about the terminal state is needed.
    - `terminal_text` string: The text that should be displayed on the terminal.
  - PrintReceiptsWithClientId
    - `client_id` string, required: The client identifier of the terminal
    - `transaction_ref_number` integer, required: The unique identifier of the transaction on the gateway. (alphanumeric, max 256 characters)
    - `template_identifier` integer, required: The unique identifier of the receipt template on the gateway. (alphanumeric, max 256 characters)
    - `merchant_id` string, required: The merchant identifier that will be used to connect to the gateway. Size range - `1..16`
    - `show_terminal_details` true | false: Set show_terminal_details to true only if displaying extra details about the terminal state is needed.

## Response `200`

Success

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

## Other responses

- `4XX`: Possible errors - 1, 3, 4, 7, 8, 11, 35, 97, 103, 107, 164, 166, 167, 168, 189, 234, 235, 241, 246, 251, 257, 292, 293, 294, 295, 296, 297, 298, 299

---

[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)
