---
updatedAt: 2025-11-04T15:48:52.000Z
agentTools:
  projectIndex: https://docs.staxpayments.com/llms.txt
---

# Print

Prints a custom multi-line message or receipt supplement on the terminal's paper printer.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "stax-api",
    "version": "0.1"
  },
  "servers": [
    {
      "url": "https://apiprod.fattlabs.com/"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "API key for merchant-level operations. Provides access to merchant-specific endpoints including transactions, payments, customer management, and merchant account settings. This key is scoped to a single merchant account and cannot access partner-level functionality."
      }
    }
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "paths": {
    "/terminal/print": {
      "post": {
        "summary": "Print",
        "description": "Prints a custom multi-line message or receipt supplement on the terminal's paper printer.",
        "operationId": "print",
        "parameters": [],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"RegisterId\": 3594291,\n  \"Message\": \"Success\",\n  \"cancelled\": false,\n  \"gatewayStatus\": 200,\n  \"gatewayStatusText\": \"OK\",\n  \"success\": true,\n  \"RespMSG\": \"undefined\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "RegisterId": {
                      "type": "integer",
                      "example": 3594291,
                      "default": 0
                    },
                    "Message": {
                      "type": "string",
                      "example": "Success"
                    },
                    "cancelled": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "gatewayStatus": {
                      "type": "integer",
                      "example": 200,
                      "default": 0
                    },
                    "gatewayStatusText": {
                      "type": "string",
                      "example": "OK"
                    },
                    "success": {
                      "type": "boolean",
                      "example": true,
                      "default": true
                    },
                    "RespMSG": {
                      "type": "string",
                      "example": "undefined"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "message": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "required": true,
                    "description": "The message which will print on the receipt. When specifying multiple strings within the array, each new string will begin on a new line. A single string may not respect word wrap on all terminal models."
                  },
                  "register": {
                    "type": "string",
                    "required": true,
                    "description": "The id of the register performing this operation. This should be the 'id' value returned by GET /terminal/register, not the register number or serial."
                  }
                },
                "required": [
                  "register",
                  "message"
                ]
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```