Get printed check

get

{basePath}/checks/{checkRef}/printed

{basePath}/checks/929aacee2c6d42c78ae877e824c28eed00000431/printed

API returns an array of strings containing text suitable for printing on a 40-column printer.

Request

Supported Media Types
Path Parameters
Header Parameters
Back to Top

Response

Supported Media Types

200 Response

An array of lines representing the printed output.
Body ()
Root Schema : checkPrintedLines
Type: object
Response contains printed lines object.
Show Source
Nested Schema : lines
Type: array
Response contains an array of strings formatted for printing.
Example:
[
    "12 STS                            Page 2",
    "----------------------------------------",
    "CHK 75                           TBL 2/1",
    "               11/3/2020                ",
    "----------------------------------------",
    "       DineIn                           ",
    " 1 Carrot Soup               10.00      ",
    " 1 Beetroot Roll             120.00     ",
    "   *SPECIAL REQUESTS*                   ",
    "   Please include extra sauce on side   ",
    " 1 Potato Tower              10.00      ",
    "   STS Open $ SC              1.23      ",
    " 1 Potato Tower              10.00      ",
    "   CashAuto                $151.23      ",
    "   Subtotal                $150.00      ",
    "   Other                     $1.23      ",
    "   Payment                 $151.23      ",
    "   Change Due                $0.00      ",
    "  ----------- Check Closed -----------  ",
    "           11/3/2020 5:02 PM            "
]

400 Response

400 Bad Request

401 Response

401 Unauthorized

403 Response

403 Forbidden

404 Response

404 Requested resource not found

521 Response

521 Service Timeout
Back to Top

Examples

Example Request Body

Not applicable for this endpoint.

Example Response Body

The following example shows the contents of the response body in JSON format:


"printedlines": {
    "lines": [
      "12 STS                            Page 2",
      "----------------------------------------",
      "CHK 75                           TBL 2/1",
      "               11/3/2020                ",
      "----------------------------------------",
      "       DineIn                           ",
      " 1 Carrot Soup               10.00      ",
      " 1 Beetroot Roll             120.00     ",
      "   *SPECIAL REQUESTS*                   ",
      "   Please include extra sauce on side   ",
      " 1 Potato Tower              10.00      ",
      "   STS Open $ SC              1.23      ",
      " 1 Potato Tower              10.00      ",
      "   CashAuto                $151.23      ",
      "   Subtotal                $150.00      ",
      "   Other                     $1.23      ",
      "   Payment                 $151.23      ",
      "   Change Due                $0.00      ",
      "  ----------- Check Closed -----------  ",
      "           11/3/2020 5:02 PM            "
    ]
  }
Back to Top