1. Print Local
Español
  • English
  • Español
  • Docs de API 🇵🇪
  • Online Payments
    • Errores ISO
    • Errores del API de Kushki
    • Notas de versión
    • Card Payments
      • Solicitar un token de tarjeta
      • Hacer un cargo o cargo diferido
      • Preautorización (sin token)
      • Crear pago (sin token)
      • Anular una transacción
      • Reembolsar una transacción
      • Verificar cuenta
      • Solicitar opciones de diferido
      • Autorizar pagos
      • Reautorizar pagos
      • Capturar un pago autorizado
      • Validar OTP
      • Información de BIN
      • Información de BIN V2
    • One-Click & Scheduled Payments
      • Solicitar un token de cargo recurrente
      • Crear un cargo recurrente
      • Actualizar los datos de la tarjeta del cargo recurrente
      • Hacer un pago One-click
      • Cancelar un cargo recurrente
      • Actualizar un cargo recurrente
      • Agregar un cargo o descuento temporal
      • Autorizar pagos
      • Capturar un pago autorizado
      • Consultar información del cargo recurrente
    • Card Out
      • Obtener token de Card Payout
      • Obtener token de suscripción
      • Push funds
      • Push Funds en suscripciones
      • Consultar estado de la transacción
      • Eliminar suscripción
    • Transfer In
      • Consultar lista de bancos
      • Solicitar un token de Transfer In
      • Iniciar transacción
      • Consultar estado
    • Transfer Out
      • Consultar lista de bancos
      • Consultar lista de bancos V2
      • Solicitar un token de Transfer Out
      • Iniciar transacción
      • Consultar estado
      • Saldo para payouts
    • Cash In
      • Solicitar un token de Cash In
      • Iniciar transacción
      • Estado de la transacción
    • Smartlinks V2
      • Crear un Smartlink
      • Actualizar un Smartlink
      • Consultar un Smartlink
      • Eliminar un Smartlink
    • Analytics
      • Consultar listado de transacciones v2
    • Chargebacks
      • Consultar chargebacks
      • Solicitar exportación de chargebacks
    • Gateway Status
      • Consultar estado del gateway
    • Payment Credentials
      • Crear una credencial
      • Buscar credenciales
      • Búsqueda avanzada
      • Activar o desactivar
      • Eliminar credencial
      • Actualizar credencial
      • Regenerar una credencial
    • Payment Button
      • Crear un Payment Button
    • Platform Status
      • Consultar estado de la plataforma
    • Subscription Transactions
      • Consultar transacciones de suscripción
    • Settlement
      • Consultar liquidación
    • Fraud Report
      • Consultar alertas de fraude
  • Card Present Payments (API Raw)
    • Notas de versión
    • Proceso de intercambio de llaves
    • Datos de prueba
    • Catálogo de errores de Kushki para transacciones POS
    • El objeto Amount
    • One-time Payments
      • Pago único
    • Two-step Payments
      • Autorización y captura
    • Voids & Refunds
      • Reembolsar una transacción
      • Anular y reversar
    • Card information
      • Consultar información de BIN
      • Información de BIN V2
      • Solicitar opciones de diferido
    • Query Transactions
      • Búsqueda de transacciones
    • Webhooks
      • Introducción
      • Buenas prácticas
      • Reembolsos
      • Pagos con tarjeta
      • Revisa tus webhooks
    • Chargebacks
      • Consultar chargebacks
      • Solicitar exportación de chargebacks
    • Fraud Report
      • Consultar alertas de fraude
  • Kushki One
    • Error Catalog
    • Release notes
    • Transaction Examples
    • Webhooks
    • Cloud Services
      • Payment Cloud
        • Sync
          • Charge
          • Authorization (Pre-auth)
          • Capture
          • Re-authorization
          • Post-tip
          • Refund
          • Abort
          • Void
        • Async
          • Charge (Async)
          • Authorization — Pre-auth (Async)
          • Capture (Async)
          • Re-authorization (Async)
          • Post-tip (Async)
          • Void (Async)
        • Search
          • Transaction Search
      • Print Cloud
        • Create Print Job
        • Get Print Job Status
    • Local Services
      • Payment Local
        • Sync
          • Charge
          • Authorization (Pre-auth)
          • Capture
          • Re-authorization
          • Post-tip
          • Void
          • Refund
          • Abort
        • Async
          • Charge (Async)
          • Authorization — Pre-auth (Async)
          • Capture (Async)
          • Re-authorization (Async)
          • Post-tip (Async)
          • Void (Async)
          • Abort (Async)
        • Search
          • Transaction Search — Online
          • Transaction Search — Local
      • Print Local
        • Create Print Job
          POST
        • Get Print Job Status
          GET
        • Print Job Webhook (inbound — implemented by your POS)
          POST
  • Appian - Submerchant Register
    • Release Notes
    • Submerchant Validation in Batch
    • Query submerchant status by requestId/submerchantId
    • Submerchant Document Upload
    • Get submerchantIds
    • Get credentials for submerchants
  • Schemas
    • Shared
      • ErrorResponse
      • BadRequestResponse
      • InvalidBinResponse
      • payment_method
      • payment_submethod
      • messageFields
      • Channel
    • Amount & Taxes
      • Amount-cash-in
      • GetConfigurationRequest
    • Identity & Contact
      • Shipping Address
    • Card & Payments
      • ChargesVoidCardResponse
      • Promotions
      • Submerchant
    • Subscriptions
      • SubscriptionUpdate
      • SubscriptionAdjustmentRequest
      • SubscriptionTransactionsResponse
    • Webhooks
    • Analytics
      • AnalyticsTransactionItem
      • AnalyticsListResponse
    • Settlement
      • SettlementDateRangeRequest
      • SettlementTicketRequest
      • SettlementResponse
    • Chargebacks
      • ChargebackListResponse
      • ChargebackSearchRequest
    • Cash
      • CashChargeInitRequest
      • CashStatusResponse
    • Transfer
      • TransferTokenRequest
      • TransferInitRequest
      • TransferStatusResponse
    • Payouts
      • PayoutsWebhooksItem
    • Smart Link
      • SmartLinkAmount
    • Terminal
      • TerminalContactDetails
      • TerminalCardDetails
      • TerminalPosDetails
      • TransactionSearchRequest
      • TerminalCardData
    • RequestBodies
      • one-and-two-step-payment
    • card-old
    • AmountWithTaxes-old
    • TransactionResponse
    • PrintJobRequest
    • one-and-two-step-payment
    • Card Present (CP)
    • one-and-two-step-payment1
    • Card
    • amount
    • FraudAlertRequest
    • SettlementDateRangeRequest
    • SubscriptionTransactionsResponse
    • Shipping Address
    • transactionType
    • ChargebackItem-old
    • SubscriptionTransaction
    • amount
    • AmountCore-old
    • CommandText-old
    • Language
    • extra_taxes
    • CommandText
    • RawResponse
    • Card Not Present (CNP)
    • Deferred
    • networkToken
    • FraudAlertResponse
    • ErrorResponse400-old
    • Deferred-old
    • SettlementResponse
    • extra_taxes-old
    • ExtraTaxes-old
    • CommandColumns-old
    • card
    • CommandColumns
    • CardData
    • FraudAlertRecord
    • currency
    • currency
    • ErrorResponse
    • webhooksItem
    • orderDetails-old
    • Country
    • ErrorResponse401-old
    • SettlementRecord
    • pos_details-old
    • ColumnItem-old
    • LinkFailure
    • ColumnItem
    • Amount
    • card_details
    • ValidationError
    • documentType
    • ErrorResponse403-old
    • card_details-old
    • TransactionResponse-old
    • CommandDivider-old
    • enc_tlv
    • CommandDivider
    • TransactionEvent
    • extraTaxes
    • extraTaxes-old
    • payment_method
    • ErrorResponse500-old
    • threeDomainSecure
    • enc_tlv
    • RawResponse-old
    • CommandFeed-old
    • CommandFeed
    • TransactionStatus
    • deferred
    • binInfo
    • contact_details-old
    • CardData-old
    • CommandSpace-old
    • CommandSpace
    • ReadingType
    • pos_details
    • Billing-Address-old
    • deferred-old
    • sub_merchant
    • AmountWithTip-old
    • CommandCut-old
    • metadata
    • sub_merchant
    • CommandCut
    • FailureReason
    • contact_details
    • headers
    • metadata
    • LinkFailure-old
    • CommandImage-old
    • CommandImage
    • EventTerminal
    • Amount-old
    • ContactDetails-old
    • SubscriptionUpdate
    • TransactionSearchRequest-old
    • CommandQR-old
    • orderDetails
    • CommandQR
    • EventOperation
    • Subscription
    • payment_submethod
    • citMit
    • SubscriptionAdjustmentRequest
    • CommandBarcode-old
    • Shipping Address
    • CommandBarcode
    • EventAmount
    • messageFields
    • PrinterError-old
    • Billing Address
    • EventExtraTaxes
    • PrintJobAccepted
    • webhooksChargeback
    • Language
    • PrintJobStatus-old
    • PrinterError
    • EventMetadata
    • networkToken-old
    • PrintWebhookPayload-old
    • AmountWithTaxes
    • PrintJobStatus
    • PrintJobStatusRequest
    • threeDomainSecure
    • webhooks
    • AmountCore
    • webhooks
    • product-old
    • headers
    • PrintWebhookPayload
    • ExtraTaxes
    • Metadata
    • webhooksChargeback
    • UnexpectedErrorResponse-old
    • AmountWithTip
    • citMit
    • TransactionSearchBody
    • TransactionSearchOnlineBody
    • network
    • Card-old-old
    • binInfo
    • AmountWithOptionalTip
    • TransactionSearchLocalBody
    • TransactionEvent_2
    • messageFields
    • Promotions-old
    • UnexpectedErrorResponse
    • FailureReason_2
    • transactionType
    • EventTerminal_2
    • EventOperation_2
    • InvalidBinResponse-old
    • EventAmount_2
    • EventExtraTaxes_2
    • EventMetadata_2
    • currency
    • Amount-CL-old
    • SettlementTicketRequest
    • metadata
    • payment_method
    • currency
    • currency
    • Submerchant
    • Shipping Address
    • GetConfigurationRequest-old
    • BadRequestResponse
    • ContactDetails
    • product
    • TransactionEvent_21
    • TransactionStatus2
    • ReadingType3
    • FailureReason_24
    • EventTerminal_25
    • EventOperation_26
    • EventAmount_27
    • EventMetadata_28
    • EventExtraTaxes_29
    • PrintWebhookPayload10
    • TransactionEvent11
    • FailureReason12
    • EventTerminal13
    • EventOperation14
    • EventAmount15
    • EventMetadata16
    • EventExtraTaxes17
HomePerú 🇵🇪
México 🇲🇽Ecuador 🇪🇨Colombia 🇨🇴Chile 🇨🇱
HomePerú 🇵🇪
México 🇲🇽Ecuador 🇪🇨Colombia 🇨🇴Chile 🇨🇱
  1. Print Local

Create Print Job

Testing
https://api-uat.kushkipagos.com
https://api-uat.kushkipagos.com
POST
/terminal/v1/print

🚧 Beta — Early Access#

This API is in early access. Endpoints, parameters, and response structures
may change without prior notice. Do not deploy to production without
coordinating with the Kushki integration team.
Queues a print job to the terminal's thermal printer.
Returns 202 Accepted immediately — printing is asynchronous.
Both print endpoints require the same signed Authorization and timestamp
headers as the Payment API.
The final result (COMPLETED or FAILED) is delivered via:
Webhook push: supply webhookUrl in the request.
Status polling: call GET /terminal/v1/print_job?print_job_id={id}.

Command Types#

The commands array contains polymorphic objects. The type property
(required on every object) determines its behavior. Write type in lowercase
(text, columns, divider…); every other enum value — align, dividerType,
algorithm, errorLevel — must be sent in UPPERCASE.
typeDescription
textText line with configurable size, alignment, bold, italic, and underline.
columnsMulti-column row with proportional widths — ideal for item/price lines.
dividerFull-width separator: SOLID, DOTTED, or EMPTY.
feedAdvance paper N blank lines.
spaceInsert precise pixel-level vertical whitespace.
cutTrigger the auto-cutter. Silently ignored on cutterless terminals.
imagePrint a Base64-encoded PNG/JPG — typically used for merchant logos.
qrGenerate a QR code natively in printer hardware.
barcodeGenerate a CODE128 barcode natively in printer hardware.

text — Text Line#

Prints a line or paragraph of text with full format control.
Append \n to the text field to force an explicit line break.
ParameterTypeRequiredDefaultDescription
textString✅—Text to print.
alignLEFT | CENTER | RIGHT❌LEFTHorizontal alignment.
sizeInteger❌24Font size in px. Reference: 24 normal · 32 subtitle · 48 title.
boldBoolean❌falseBold.
italicBoolean❌falseItalic.
underlineBoolean❌falseUnderline.
{
  "type": "text",
  "text": "RESTAURANTE EL BUEN SABOR\n",
  "align": "CENTER",
  "size": 32,
  "bold": true
}

columns — Multi-Column Row#

Prints text in proportional columns on a single paper line.
The weight field controls the relative width of each column.
Field (per column)TypeRequiredDefaultDescription
textString✅—Cell text.
weightInteger❌1Relative width. Weights 2 and 1 give the first column 2/3 of the paper.
alignLEFT | CENTER | RIGHT❌LEFTAlignment within the cell.
{
  "type": "columns",
  "columns": [
    { "text": "2x Combo Burger", "weight": 2, "align": "LEFT" },
    { "text": "S/ 300.00",         "weight": 1, "align": "RIGHT" }
  ]
}

divider — Separator Line#

Prints a full-width horizontal rule. Use it to delimit receipt sections
(header, items, totals).
ParameterTypeRequiredDefaultDescription
dividerTypeSOLID | DOTTED | EMPTY❌EMPTYLine style.
offsetInteger❌10Extra space in px before the separator.
{ "type": "divider", "dividerType": "DOTTED", "offset": 10 }

feed — Paper Advance#

Advances the paper N blank lines. Always use before cut to fully expose
the printed content past the tear edge.
ParameterTypeRequiredDefaultDescription
linesInteger❌1Number of blank lines to advance.
{ "type": "feed", "lines": 3 }

space — Pixel-Precise Spacing#

Inserts vertical whitespace with pixel precision. More granular than feed
for fine adjustments between receipt elements.
ParameterTypeRequiredDefaultDescription
pixelsInteger❌10Pixels of blank space to insert.
{ "type": "space", "pixels": 20 }

cut — Paper Cut#

Triggers the hardware auto-cutter. No additional parameters.
On cutterless terminals (e.g., Sunmi V2) the command is silently ignored.
{ "type": "cut" }

image — Base64 Image#

Prints a PNG or JPG sent as Base64. Typically used for the merchant logo
in the receipt header.
ParameterTypeRequiredDefaultDescription
base64ImageString✅—Raw Base64 string. Do not include the data:image/...;base64, prefix.
alignLEFT | CENTER | RIGHT❌CENTERImage alignment.
widthInteger❌—Max width in px. Sunmi P3 / P2 SE support up to 384 px.
algorithmBINARIZATION | DITHERING❌DITHERINGBINARIZATION: maximum sharpness for logos. DITHERING: simulates grayscale for photos.
Send only the raw Base64 string. Including the data:image/png;base64,
prefix will cause the image to fail silently.
{
  "type": "image",
  "base64Image": "iVBORw0KGgoAAAANSUhEUgAAAAo...",
  "align": "CENTER",
  "width": 384,
  "algorithm": "BINARIZATION"
}

qr — QR Code#

Generates a QR code natively in printer hardware from a content string —
no image rendering required. Faster and higher-density than sending a
pre-rendered bitmap.
ParameterTypeRequiredDefaultDescription
contentString✅—URL or text to encode.
dotSizeInteger❌8Size in px of each QR module. Affects the total code size.
errorLevelL | M | Q | H❌LError correction: L=7% · M=15% · Q=25% · H=30%.
alignLEFT | CENTER | RIGHT❌CENTERHorizontal alignment.
{
  "type": "qr",
  "content": "https://yourstore.com/receipt/4421",
  "dotSize": 6,
  "errorLevel": "M",
  "align": "CENTER"
}

barcode — CODE128 Barcode#

Generates a 1D barcode natively in hardware. Format: CODE128.
ParameterTypeRequiredDefaultDescription
contentString✅—Data to encode (e.g., UPC, invoice number).
alignLEFT | CENTER | RIGHT❌CENTERHorizontal alignment.
widthInteger❌3Width of each vertical bar in points.
heightInteger❌162Total barcode height in px.
{
  "type": "barcode",
  "content": "A-1234567890",
  "align": "CENTER",
  "width": 2,
  "height": 162
}

Idempotency#

Reuse the same printJobId on network-failure retries.
The terminal deduplicates the job and will not print twice.

Callbacks

printJobResult

Request

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢202Accepted
application/json
Print job queued. Terminal will process asynchronously.
Bodyapplication/json

🟠400Bad Request
🟠401Unauthorized
🟠409
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location '/terminal/v1/print' \
--header 'Authorization: nRvpFJZHjqLU4k8Rz2YiDvxA3mQs9oB1cW7eT0=' \
--header 'timestamp: 1700000000000' \
--header 'Content-Type: application/json' \
--data '{
    "commands": [
        {
            "type": "text",
            "text": "RECIBO DE PAGO\n",
            "align": "CENTER",
            "size": 28,
            "bold": true
        },
        {
            "type": "text",
            "text": "Total: S/ 120.00\n",
            "align": "CENTER",
            "size": 24
        },
        {
            "type": "feed",
            "lines": 3
        },
        {
            "type": "cut"
        }
    ]
}'
Response Response Example
202 - default
{
    "printJobId": "RECEIPT-20240317-001",
    "status": "PENDING",
    "message": "Impresión encolada correctamente."
}
Modified at 2026-08-31 16:19:33
Previous
Print Local
Next
Get Print Job Status
Built with