Overview / System / Print a test receipt

Print a test receipt

post https://api.flactrum.com/v1/printers/{printer}/test

Queues a test receipt. It prints within seconds when the helper is online, otherwise as soon as it comes back.

Required scope devices.write
Success status202

Parameters

NameInTypeDescription
printer * path string ULID of the record.

Examples

Recorded from the test suite — these are real requests and their real responses.

curl -X POST 'https://api.flactrum.com/v1/printers/01m43sq5hx48z5r9rfcy78wg2d/test' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Accept: application/json'

HTTP 202 · application/json

{
    "data": {
        "queued": true,
        "online": false
    }
}