Device Interaction/printOnTerminal
Print on Terminal
Print a receipt or kitchen ticket on the built-in printer.
POST
/v1/device/printSend a print job to the terminal's built-in thermal printer, where one is available. Each line accepts alignment, bold, and font-size formatting — enough to render a clean receipt or kitchen ticket without a dedicated layout language. Set cutPaper to true if you want the paper cut at the end of the job.
Request body
application/json
linesarrayrequiredLines to print (1–100).
cutPaperbooleanCut paper after printing.
Example: true
Response
application/json
successbooleanPrint job accepted.
Example: true
commerce-api/openapi.yaml · printOnTerminal