Skip to content

Customer display ​

This guide covers using a Kuvex terminal as the customer-facing screen of a POS: the POS pushes the cart to the terminal while items are entered, then creates a payment on the same terminal. Store host credentials, pairing, cancellation and going live are covered in Companion mode.

Renderers ​

The renderer determines who draws the cart on the terminal. The cart API and the payment API are identical for all three renderers.

rendererDrawn byIntegration workOn failure
native (default)The terminal itself; no web page is loadedNone; push cart data—
kuvex_hostedA Kuvex-hosted page using the logo, colors and greeting from the idle screenConfigure the idle screen onceFalls back to native
isv_webAn HTTPS page hosted by the integratorBuild and host the page (Build an isv_web page)Falls back to native

Selection criteria:

  • native: nothing to build, host or fail. The recommended starting point and suitable for most stores.
  • kuvex_hosted: merchant logo and colors on the cart without operating a page.
  • isv_web: full control of the layout, such as upsell tiles, loyalty messages or custom typography. The integrator hosts the page and is responsible for its availability.

Payment, result and receipt screens always belong to Kuvex. When a payment starts, the Kuvex payment page covers the entire screen. A web page is covered during the payment, never receives card data and is never told the result.

The legacy value kuvex_template (earlier name of the built-in display) is still accepted as input and is treated as native; responses always return native.

Prerequisites ​

ItemRequirement
Runtime versionkuvex_hosted, the value native, the idle screen settings and the cart fields note / discount_cents require Runtime 294 or later. A terminal on an earlier version set to native keeps drawing the built-in display, and rejects kuvex_hosted with 409 customer_display_runtime_too_old.
Terminal modeWeb renderers (kuvex_hosted, isv_web) apply only to terminals in companion mode. A terminal operated by a cashier (standalone mode) always uses native for the cart shown to the customer. The sandbox virtual terminal shows the configured renderer.
Hardware modelnative is available on every Kuvex terminal. Web renderers are enabled per model: currently the sandbox virtual terminal and SUNMI CPad Pay. Contact Kuvex before planning a web display on another model.
CredentialsConfiguration calls (renderer, idle screen, applications) require the secret key on the integrator's backend. Pushing the cart and creating payments also accept a host token; a machine in the store must use a host token and never hold the secret key.

Flow ​

  1. Configure the terminal once: set the renderer and, for kuvex_hosted or branding, set the idle screen. For isv_web, register and publish the page first.
  2. On every cart change, push the cart with the next revision.
  3. At checkout, create the payment on the same terminal with the same order_id. The terminal switches from the cart to card entry.
  4. Get the result by webhook or by polling the payment.
  5. When the payment is approved in full or nothing was charged, the terminal clears the cart and returns to the idle screen or the web page by itself. After review or partially_approved it stays on the result page.

Try it in the sandbox ​

The sandbox runs the full flow without hardware. Sandbox keys never move real money.

bash
# Anonymous test key + a virtual terminal (no signup). Keep the JSON; it is shown once.
curl -s -X POST https://api.kuvex.com/v1/sandbox/session > session.json

session.json fields:

FieldTypeDescription
api_keyStringSandbox secret key (sk_test_…). Server-side only. Valid for 14 days (expires_at); afterwards every call returns 401 sandbox_expired.
terminal_idStringVirtual terminal ID
device_secret, mqttString, ObjectConnection parameters for the virtual terminal page. They belong to the terminal, not to integration code.
session_token, session_expires_inString, intBrowser session token (kvs_…) for the JavaScript SDK, scoped to this terminal, valid for session_expires_in seconds (900 = 15 minutes). Not used in this guide.

Open the virtual terminal in a browser tab. It uses the same protocol as a physical terminal:

https://api.kuvex.com/sandbox/terminal.html?terminal_id=<terminal_id>&secret=<device_secret>&mqtt_url=<mqtt.url>&mqtt_user=<mqtt.username>&mqtt_pass=<mqtt.password>

Keep the virtual terminal tab in the foreground. Browsers pause drawing in background tabs; the terminal then cannot confirm that a cart is on screen, and a web renderer falls back with not_rendered.

Then run the calls in Push the cart and take the payment.

Push the cart and take the payment ​

These calls are identical for all renderers. The examples run on the integrator's backend with the secret key. A store host makes the same two calls with a host token (Companion mode).

Push the cart ​

API: Push the cart. Push the full cart on every change.

PUT /v1/terminals/{terminal_id}/display/cart
Authorization: Bearer sk_test_…
json
{
  "revision": 1,
  "session_id": "register-1",
  "order_id": "A-1042",
  "currency": "usd",
  "lines": [ { "id": "l1", "name": "Latte", "quantity": 2, "amount_cents": 900, "note": "Oat milk, no sugar" } ],
  "subtotal_cents": 900,
  "discount_cents": 100,
  "tax_cents": 71,
  "total_cents": 871
}

The response is 202 Accepted with the stored cart: the submitted fields plus payload_hash, expires_at_ms, applied_revision and status.

Field constraints. Any violation returns 400 display_cart_invalid; error.detail.field names the field (for example lines[2].note) and error.detail.reason gives the reason.

FieldConstraint
revisionInteger, exactly the previous revision for this terminal + 1; the first push is 1.
session_idRegister or session identifier: letters, digits, _ and -, up to 64 characters.
order_idOptional, up to 128 characters. Use the same order_id when creating the payment so the terminal goes from this cart straight to card entry.
linesUp to 100 lines.
lines[].idLetters, digits, _ and -, up to 64 characters, unique within the cart.
lines[].nameUp to 160 characters.
lines[].quantity1–999.
lines[].amount_centsLine total in integer cents, 0 or greater.
lines[].noteOptional. Plain text up to 80 characters for modifiers (for example "Oat milk, no sugar"), shown under the line name. An empty string means no note.
discount_centsOptional. Integer, 0 or greater, for the whole order; shown as a discount between subtotal and tax.
AmountsInteger cents. Kuvex displays the submitted values and does not check that they add up.
currencyAlways "usd".
Other fieldsNot allowed.
SizeThe serialized cart must not exceed 16 KB.
Card dataNot allowed, including anything shaped like a card number: 13–19 digits (spaces and hyphens allowed) with a card network's prefix and length that pass the card-number checksum are rejected, as is magnetic-stripe track data. A plain numeric order number such as a millisecond timestamp (1794502931118) is accepted.

Revision handling:

  • Resending the same revision with the same body is accepted and changes nothing, including the expiry.
  • A different body for the same revision, or a skipped number, returns 409 display_revision_conflict. error.detail.revision is the current revision; continue from it. GET on the same path also returns it.

Cart lifetime:

  • A cart expires 5 minutes after it was stored. Push the next revision to keep it on screen.
  • To clear the screen, push the next revision with "lines": [] and all totals 0.
  • 202 Accepted means Kuvex stored the cart, including while the terminal is offline; the cart is delivered when the terminal reconnects.
  • A payment consumes the cart, including when the payment is declined or canceled. To show the cart again for a retry, push the next revision first.
  • A displayed cart is never a payment.

Cart status, returned by GET on the same path (Retrieve the cart):

statusDescription
emptyThe terminal has never had a cart: {"revision":0,"applied_revision":0,"status":"empty"}
pendingStored; the terminal has not confirmed it
appliedThe terminal confirmed this revision is on screen
consumedTaken by a payment with the same order_id (consumed_payment_id)
expiredOlder than 5 minutes

Create the payment ​

API: Create a payment.

POST /v1/payments
Authorization: Bearer sk_test_…
Idempotency-Key: A-1042-pay-1
json
{ "terminal_id": "KV100023", "amount_cents": 871, "order_id": "A-1042", "tip_flow": "off" }
  • The terminal shows the Kuvex card screen. The amount charged is amount_cents from this request, never the cart total. If the two differ, the payment proceeds and the terminal shows only the amount, without the cart.
  • With the same order_id, a physical terminal keeps the order total and a collapsible item list on the card screen. The sandbox virtual terminal shows the amount only.
  • tip_flow: "default" follows the terminal's tip setting; "off" skips the tip prompt for this payment. Any other value returns 400 tip_flow_invalid. A tip already collected is sent as tip_cents.
  • Send an Idempotency-Key and reuse it on retries. The same key and body return the first response again: the same payment with the status it had at that time (pending). Read the payment for its current status. The same key with a different body returns 409 idempotency_conflict.

Get the result ​

Two channels:

ChannelUsage
Webhook (book of record, integrator's backend)Register an HTTPS endpoint once, verify kuvex-signature on every delivery over the exact request bytes, and handle at least payment.completed, payment.partially_approved, payment.failed, payment.canceled and payment.review_required. Event list: Webhooks and events. Runnable receiver: https://api.kuvex.com/examples/webhook-receiver/
PollingRetrieve the payment (GET /v1/payments/{id}) about once per second while status is pending, processing or void_pending

Result handling:

statusDescriptionFinalHandling
succeededPaid in fullYesRelease the order
partially_approvedPartial approval: only approved_amount_cents was charged; remaining_cents is outstandingYesCollect the balance by other means, or void. Do not release the full order.
offline_approvedOffline approval by the terminal without the card network; risk describes the exposureNoThe merchant carries the risk; the payment later becomes succeeded or failed
requires_captureAuthorized, not captured (only with capture_method: "manual")NoCapture from the backend
failedNothing charged; reason in failure.code / failure.messageYesUse another card or tender; a retry is a new payment
canceledNothing chargedYesStart again
reviewUnknown outcome; Kuvex is confirmingNoDo not charge again. Keep reading the same payment

pending, processing and void_pending are not results. All status values: Transaction status. Cashier handling per status, time limits and locating a payment after a restart are described in Companion mode.

Terminal behavior after the result: the terminal shows the Kuvex result page. When the payment was approved in full, or nothing was charged with certainty (declined, canceled, card not read), the terminal then clears the cart and returns to the idle screen or the web page by itself. After review or partially_approved it stays on the result page.

Runnable backend example (Node 18+, no dependencies): https://api.kuvex.com/examples/customer-display/host-a.mjs

bash
KUVEX_KEY=sk_test_… KUVEX_TERMINAL=KV… node host-a.mjs

Store host version (host token instead of the secret key): https://api.kuvex.com/examples/companion/host.mjs.

Configure the renderer and the idle screen ​

Both settings are per terminal and require the secret key.

Set the renderer ​

API: Set the customer display renderer and Retrieve customer display settings.

bash
# Read: the mode, what the terminal is actually showing, recent fallbacks, the display applications you can choose
curl -s https://api.kuvex.com/v1/terminals/KV…/customer-display -H "Authorization: Bearer sk_test_…"

# Set
curl -s -X POST https://api.kuvex.com/v1/terminals/KV…/customer-display \
  -H "Authorization: Bearer sk_test_…" -H "Content-Type: application/json" \
  -d '{"renderer":"native"}'                                   # the default
#  -d '{"renderer":"kuvex_hosted"}'                            # Kuvex-hosted page with your brand
#  -d '{"renderer":"isv_web","app_id":"app_…"}'                # your own page (isv_web)

Both calls return:

json
{
  "object": "customer_display",
  "terminal_id": "KV…",
  "isv_id": "isv_…",
  "renderer": "isv_web",
  "app_id": "app_…",
  "application": { "id": "app_…", "name": "My display", "url": "https://display.example.com/" },
  "hosted_url": null,
  "kuvex_hosted_available": true,
  "applies_in": "customer_dedicated",
  "customer_experience_mode": "customer_dedicated",
  "actual": { "renderer": "isv_web", "confirmed": true, "at": "2026-11-12T17:30:02.000Z", "reason": null },
  "recent_fallbacks": [
    { "reason": "not_rendered", "from": "isv_web", "app_id": "app_…", "revision": 7, "at": "2026-11-12T17:12:40.000Z" }
  ],
  "available_apps": [ { "id": "app_…", "name": "My display", "url": "https://display.example.com/", "platform_disabled": false } ]
}
FieldDescription
rendererConfigured renderer.
actualWhat the terminal last reported it is showing. confirmed: false: no report since the setting changed. renderer: "native" with a reason: the terminal fell back; this applies to both web renderers, and recent_fallbacks[].from identifies which one failed. With native configured there is nothing to report: actual is native with confirmed: false. A terminal set to kuvex_hosted on Runtime older than 294 reports native with reason: "runtime_too_old".
kuvex_hosted_availablefalse when the terminal's Runtime is older than 294; setting kuvex_hosted then returns 409 customer_display_runtime_too_old.
hosted_urlThe Kuvex page the terminal loads when renderer is kuvex_hosted, otherwise null. Only the Kuvex Dashboard, the Kuvex operations console and sandbox pages may show it in a frame; it cannot be embedded in other sites.
customer_experience_modeAny value other than customer_dedicated means the terminal is not in companion mode and shows native regardless of the setting.

Dashboard: Terminals → terminal → Customer display.

Set the idle screen ​

API: Upload an idle screen logo and Set the idle screen.

Each terminal has one brand setting, the idle screen. The terminal shows it between customers; the kuvex_hosted page takes its logo, colors and greeting from it; isv_web pages receive it through onBrand.

bash
# 1) Upload the logo: PNG or JPEG, at most 200 KB. The request body is the image itself.
curl -s -X PUT https://api.kuvex.com/v1/terminals/KV…/idle-screen/logo \
  -H "Authorization: Bearer sk_test_…" -H "Content-Type: image/png" --data-binary @logo.png
# 201 {"sha256":"9f2c…","content_type":"image/png","bytes":18234}

# 2) Set the idle screen
curl -s -X POST https://api.kuvex.com/v1/terminals/KV…/idle-screen \
  -H "Authorization: Bearer sk_test_…" -H "Content-Type: application/json" \
  -d '{"headline":"Welcome to Demo Café","subline":"Order at the counter","theme":"brand","brand_color":"#1a5c2e","logo_sha256":"9f2c…"}'

# Read it back
curl -s https://api.kuvex.com/v1/terminals/KV…/idle-screen -H "Authorization: Bearer sk_test_…"
ParameterTypeRequiredDescription
headlineStringNoUp to 40 characters. Empty or omitted: the terminal and the kuvex_hosted page show the default greeting in the terminal's current language (Welcome, 欢迎光临 or Bienvenido); the API stores and returns "".
sublineStringNoUp to 80 characters; may be empty.
themeStringNolight (default), dark or brand.
brand_colorStringConditional#rrggbb; required when theme is brand.
logo_sha256StringNosha256 returned by a logo upload from the same account. Another account's logo returns 400 idle_screen_invalid (detail.field: "logo").
remove_logobooleanNotrue removes the logo. If neither logo_sha256 nor remove_logo is sent, the current logo is kept.
  • Each POST replaces the whole screen: omitted fields return to their defaults (empty headline and subline, theme: "light"). Only the logo is kept unless remove_logo is sent.
  • The response contains the stored screen and applied, which becomes true once the terminal reports the same configuration.
  • Invalid input returns 400 idle_screen_invalid with error.detail.field.
  • Carousels, video and advertising are not supported.

Dashboard: Terminals → terminal → Idle screen, with a preview of the kuvex_hosted page.

Build an isv_web page ​

Page JavaScript API ​

The page receives the same cart pushed through Push the cart, through a read-only kuvex.display object injected by the terminal.

html
<script src="https://api.kuvex.com/sdk/display/1.1.0/kuvex-display.js"></script>
<script>
function start() {
  kuvex.display.onPhase(phase => { /* "idle" | "cart" | "payment" */ });
  kuvex.display.onBrand?.(brand => { /* logo_data_url, theme, brand_color, headline, subline, merchant_name, language */ });
  kuvex.display.onCart(cart => {
    draw(cart);                                         // your rendering
    requestAnimationFrame(() => kuvex.display.rendered(cart.revision));   // REQUIRED, within 3 s
  });
}
if (window.kuvex && kuvex.display) start(); else addEventListener('kuvexdisplayready', start, { once: true });
</script>

Script versions:

ScriptDescription
/sdk/display/1.1.0/kuvex-display.jsCurrent version; adds onBrand.
/sdk/display/1.0.0/kuvex-display.jsPrevious version; pages that load it keep working unchanged.

On a physical terminal kuvex-display.js does nothing, because the Runtime has already injected kuvex.display. When the page runs inside the sandbox, it connects to the virtual terminal.

Methods

MethodDescription
onCart(fn)Registers a callback invoked with each cart (fn(cart), cart fields below). An idle or cleared screen is delivered as a cart with lines: [].
onPhase(fn)Registers a callback invoked with the current phase (fn(phase), values below).
onBrand(fn)Since 1.1.0. Registers a callback invoked with the terminal's brand (fn(brand), fields below). Call it as onBrand?.(…) so the page also runs on a terminal that only provides 1.0.0.
rendered(revision)Reports that the cart with this revision (int) is on screen. Kuvex reports the cart as applied only after this call and after the page is actually visible. Must be called within 3 seconds of receiving the cart, otherwise the terminal falls back with not_rendered.

Properties and events

MemberTypeDescription
cartObjectLatest cart, read-only.
phaseStringLatest phase, read-only.
Event kuvexdisplayready—Fired on window when kuvex.display becomes available. On a terminal the object usually exists before page scripts run; in the sandbox it arrives slightly later. Use the if … else addEventListener pattern from the example.

phase values

ValueDescription
idleThe terminal is idle.
cartA cart is displayed.
paymentA payment is in progress. The Kuvex payment page covers the page; no payment details and no result are delivered.

Cart fields (onCart)

FieldTypeDescription
revisionintCart revision; pass it to rendered.
order_idStringMerchant order ID.
currencyStringAlways usd.
linesArray<Object>Line items: id (String), name (String), quantity (int), amount_cents (int), note (String, optional).
subtotal_centsintSubtotal in cents.
discount_centsintOptional. Order discount in cents.
tax_centsintTax in cents.
total_centsintTotal in cents.

Brand fields (onBrand). Values come from the idle screen; any field can be null.

FieldTypeDescription
logo_data_urlStringThe logo as a data: URL, or null.
themeStringlight, dark or brand.
brand_colorString#rrggbb.
headlineStringHeadline. Empty means none was set; show the page's own greeting for language.
sublineStringSubline.
merchant_nameStringMerchant name.
languageStringThe terminal's current language.

CSS variables on :root, updated when the screen changes:

VariableValue
--kuvex-display-formhandheld (portrait, for example Kozen P8) or wide (landscape, for example CPad Pay)
--kuvex-display-width / --kuvex-display-heightUsable size in px
--kuvex-corner-size / --kuvex-corner-sideThe maintenance corner. Customer displays use a hidden exit, so the size is 0px.

Implementation notes:

  • note, discount_cents and onBrand are delivered by terminals on Runtime 294 or later; treat them as optional.
  • Draw cart strings as text. Never insert them as HTML.
  • The kuvex_hosted page is built on the same interface and has no additional capabilities.

Complete page, to copy or to register as-is for testing: https://api.kuvex.com/examples/customer-display/display-page.html

Register and publish the page ​

API: Register an application, Publish to terminals, Retrieve an application and Set the customer display renderer.

  1. Register the page as an application with "role":"customer_display".
  2. Publish it to the terminal: "environment":"sandbox" for the virtual terminal; "physical" with a live key for a physical terminal.
  3. Physical terminals only: wait until the target state is applied.
  4. Switch the terminal's renderer to isv_web with the app_id.
bash
# 1) Register the page as a customer display application
curl -X POST https://api.kuvex.com/v1/applications -H "Authorization: Bearer sk_test_…" -H "Content-Type: application/json" \
  -d '{"name":"My display","url":"https://display.example.com/","visibility":"private","role":"customer_display"}'
# → {"id":"app_…","revision":1,…}

# 2) Publish it to the terminal (sandbox virtual terminal: "environment":"sandbox"; a physical terminal: "physical", with a live key)
curl -X POST https://api.kuvex.com/v1/applications/app_…/publish -H "Authorization: Bearer sk_test_…" -H "Content-Type: application/json" \
  -d '{"revision":1,"request_id":"publish-display-0001","environment":"sandbox","terminal_ids":["KV…"]}'

# 3) Physical terminals: wait until the terminal has it
curl -s https://api.kuvex.com/v1/applications/app_… -H "Authorization: Bearer sk_live_…"
# → {"application":{…},"targets":[{"terminal_id":"KV…","state":"applied",…}]}     wait for "state":"applied"

# 4) Switch the terminal's customer display to your page
curl -X POST https://api.kuvex.com/v1/terminals/KV…/customer-display -H "Authorization: Bearer sk_test_…" -H "Content-Type: application/json" \
  -d '{"renderer":"isv_web","app_id":"app_…"}'
  • url must use https://, a public host name and the default port, without a fragment.
  • request_id is 8–80 characters of letters, digits, _ and -. Repeating a publish with the same request_id returns the first result.
  • Wait for applied before switching (step 3). A physical terminal fetches its application list periodically. If the renderer is switched immediately after publishing, the terminal does not yet have the page: it falls back to native with reason app_missing and switches to the page by itself about 45 seconds later. The first cart is then drawn by the built-in display.
  • Target state transitions: pending → applied (or failed). The sandbox virtual terminal does not report this state (its target stays pending) and reads the application when the renderer is switched; skip step 3 in the sandbox.
  • After the switch, push carts as described in Push the cart. To return to the built-in display, set {"renderer":"native"}.
  • Dashboard: Applications → Use as: Customer display → publish; then Terminals → terminal → Customer display.

Runnable setup script for the backend (Node 18+): https://api.kuvex.com/examples/customer-display/setup-b.mjs

bash
KUVEX_KEY=sk_test_… KUVEX_TERMINAL=KV… DISPLAY_URL=https://api.kuvex.com/examples/customer-display/display-page.html node setup-b.mjs

Page restrictions ​

AreaBehavior on a physical terminal
OriginOnly the registered origin. Navigation to any other site, new windows, downloads, file pickers and camera, microphone or location prompts are refused. Images, fonts and the integrator's own APIs load normally; the integrator is responsible for them.
Native dialogsalert(), confirm() and prompt() are suppressed (confirm returns false, prompt returns null). Do not rely on native dialogs.
Reload and navigationA reload or same-origin navigation creates a new document. The terminal sends it the current cart again and waits for a new rendered(revision); a confirmation from the previous document does not count. While the navigation is loading, the current page stays on screen and keeps receiving carts. Once the new document replaces it, it must connect (kuvex.display ready) within 10 seconds, otherwise the terminal falls back with load_failed.
javascript: URLsOn terminals with an older system WebView (no document-start scripts), Kuvex cannot detect a page that replaces its own document through a javascript: URL. Do not do this.
Payment capabilitiesNone. The page receives the cart, the phase and the brand only: no payment, refund, print, scan, terminal identity or tokens. Payments are started only from the integrator's server or POS (Create the payment).
During paymentKuvex covers the page and shows its own result page. The page cannot draw over it. Customers can touch the page, but Kuvex does not pass taps back to the POS.
Background colorSet one. When the Kuvex payment page closes, the page background is visible until the content is drawn; on Runtime 293 and earlier a dark frame could flash there after a declined payment.
StorageCookies and storage are always isolated by origin. On terminals whose WebView supports separate profiles, the customer display page also gets its own profile, separate from other pages of the same origin. On WebViews without that support (for example the system WebView on CPad Pay), it shares storage with pages of the same origin on that terminal.
Terminal modePhysical terminals use a web page only in companion mode. On a terminal operated by a cashier, the cart shown to the customer stays native. The sandbox virtual terminal always shows the page.

Sandbox differences ​

The virtual terminal is a browser page and differs from hardware as follows:

AreaSandbox behavior
FramingThe page runs inside an iframe. Do not send X-Frame-Options: DENY or a frame-ancestors CSP that excludes https://api.kuvex.com.
HTTP errorsA browser cannot read the HTTP status of a page in an iframe. A page that returns 404 or 500 is reported as load_failed, not http_error.
Origin restrictionNot enforced as on a physical terminal; a browser cannot stop a page inside an iframe from navigating. A page served from https://api.kuvex.com itself (such as the example page above) runs without its own origin, and sandbox carts are sent to whatever document is in the frame. Sandbox carts are test data; test origin rules on a terminal.

To verify in the sandbox that the page is on screen: status: "applied" on the cart after a push means the page called rendered. actual in GET …/customer-display shows confirmed: true with the configured renderer once the virtual terminal displays the page.

Content requirements ​

A customer display page must not:

  • show "paid", "approved" or any payment result;
  • contain card number, expiry, CVV or PIN fields;
  • imitate the Kuvex payment page.

Kuvex can disable a customer display application platform-wide when it violates these rules. Every terminal using it returns to native immediately, and the application cannot be selected again (409 customer_display_app_disabled) until Kuvex re-enables it.

Kuvex guarantees that the page is covered by the Kuvex payment page while a payment runs. Kuvex does not and cannot guarantee that the page's own content is not misleading; under these rules that is the integrator's responsibility.

Fallback to native ​

When a web renderer (kuvex_hosted or isv_web) cannot show a cart, the terminal draws the same cart natively and records the reason. The fallback target is always native; an isv_web page never falls back to kuvex_hosted.

ReasonCondition
load_failedThe page did not load, or took longer than 10 seconds
http_errorThe page returned HTTP 4xx/5xx (reported as load_failed in the sandbox)
ssl_errorCertificate error
navigation_blockedThe page tried to leave its registered origin
not_renderedrendered(revision) was not called within 3 seconds of a cart
crashedThe page's renderer process crashed
offlineThe terminal could not reach the site
app_missingThe configured application is not on this terminal: not published, or not yet applied (Register and publish the page)
  • After a fallback the terminal retries the page when idle, no sooner than 60 seconds later.
  • The first load of a page has up to 10 seconds. The 3-second rendered deadline starts only once a cart has been delivered to the page.
  • GET /v1/terminals/{id}/customer-display returns the configured renderer, the terminal's last report (actual: {renderer, confirmed, at, reason}) and recent_fallbacks, each with reason, from (kuvex_hosted or isv_web), app_id, revision and at. The Dashboard shows the same on the terminal page.

Errors ​

All error codes: Errors.

HTTPCodeDescriptionRetriable
400display_cart_invalidUnknown field, value out of range, card-like digits, or cart larger than 16 KB. error.detail.field names the field and error.detail.reason gives the reason.No
409display_revision_conflictrevision is not previous + 1; error.detail.revision is the current revisionNo
400tip_flow_invalidtip_flow is not default or offNo
400customer_display_invalidrenderer is not native, kuvex_hosted or isv_web, or isv_web without app_idNo
409customer_display_runtime_too_oldkuvex_hosted requires Runtime 294 or later on this terminal (kuvex_hosted_available: false)No
409customer_display_app_not_publishedThe application is not published to this terminal; publish it firstNo
409customer_display_app_roleThe application is not registered with "role":"customer_display"No
409customer_display_app_disabledKuvex has disabled the application for customer displays; contact Kuvex supportNo
400application_role_invalidrole must be app or customer_displayNo
400idle_screen_invalidIdle screen setting out of range; error.detail.field names the fieldNo
403scope_forbiddenA browser session token (kvs_) attempted to change the renderer, the idle screen or an application; these require the secret keyNo
404terminal_not_foundThe terminal does not belong to this accountNo
429rate_limitedToo many writes within a minute. Wait Retry-After seconds and send only the latest cart.Yes

Limits ​

ItemLimit
Cart size16 KB
Lines per cart100
Line note80 characters
Cart lifetime5 minutes
revisionPrevious + 1
rendered callWithin 3 seconds of a cart
Page load10 seconds
Page originRegistered HTTPS origin only
Logo200 KB, PNG or JPEG
AmountsInteger cents, USD only