Skip to content

Errors ​

Error response format: see Error handling. Branch on code, never on message.

Errors marked retriable can be retried with the same request and the same idempotency key after a delay; all others require the request to be corrected first.

Authentication ​

HTTPCodeDescriptionRetriable
401invalid_api_keyKey missing, invalid or revokedNo
401session_expiredkvs_ token expiredNo
401session_token_requiredEndpoint requires a kvs_ browser session token (e.g. WebSocket)No
401sandbox_expiredSandbox is past its 14-day lifetimeNo
403scope_forbiddenCredential not allowed for this endpoint or target terminalNo
403live_key_requiredOperation requires a live key (e.g. publishing to physical terminals)No
409terminal_livemode_mismatchKey and terminal are in different modes (test / live)No

Requests ​

HTTPCodeDescriptionRetriable
400amount_invalidAmount is not a positive integer of centsNo
400currency_unsupportedCurrency not supported; only usdNo
400config_invalidValue out of range (e.g. capture above the authorized amount)No
400invalid_api_versionMalformed Kuvex-VersionNo
400unsupported_api_versionKuvex-Version is not a supported versionNo
409idempotency_conflictIdempotency key already used with a different bodyNo
409idempotency_in_progressFirst request with this idempotency key is still processingYes
413payload_too_largeRequest body exceeds the size limitNo
429rate_limitedRate limit exceeded; wait Retry-After secondsYes

Terminals ​

HTTPCodeDescriptionRetriable
404terminal_not_foundTerminal does not exist or belongs to another accountNo
409terminal_offlineTerminal is offlineYes
409terminal_busyTerminal is processing another transactionYes
409terminal_not_readyTerminal online, payment module not ready; no payment createdYes
409sales_blockedCard sales suspended by Kuvex risk control; cash and refunds unaffectedNo
410claim_code_retiredClaim codes retired; terminals are assigned by serial numberNo
400run_profile_invalidInvalid profileNo
403run_profile_managed_by_kuvexRun mode of live terminals is configured by KuvexNo

Payments ​

HTTPCodeDescriptionRetriable
400tip_flow_invalidInvalid tip_flow, or an attempt to enable tipping the terminal has disabledNo
400tip_presets_invalidInvalid tip_presets_pct, or combined with tip_cents / tip_flow=offNo
400refund_exceedsExceeds the refundable balance; detail.remaining_cents holds the balanceNo
409not_refundableStatus does not allow a refundNo
409not_voidableStatus does not allow a voidNo
409already_settledSettled or refunded; cannot be voided, refund insteadNo
409cancel_not_safeTerminal has the payment and may be reading a card; nothing changed, wait for the outcomeNo
409host_cancel_not_safeSame as cancel_not_safe, returned to store hostsNo
409not_capturablePayment is not requires_captureNo
409auth_expiredAuthorization expiredNo
409not_adjustableTip can be adjusted only on succeeded and requires_captureNo
409partial_needs_manualTip of a partially approved payment cannot be adjusted via the API; contact Kuvex supportNo
409capture_in_progressCapture in progressNo
409void_in_progressVoid in progressNo
409tip_adjust_in_progressTip adjustment in progressNo
409money_operation_in_progressAnother money operation on the payment is in progress or unresolved; wait for its result eventNo
409collection_under_reviewA payment in the same collection has an unknown outcomeNo
409already_boundPayment already bound to a different external referenceNo
409payment_query_not_neededPayment is already finalNo
404receipt_not_foundThe terminal has not printed this receiptNo
409reprint_request_conflictrequest_id already used for another receipt or copyNo
404signature_not_foundNo cardholder signatureNo

Settlements ​

Coming soon

The settlement endpoints on this page are not available in production yet: calls return 404. This note is removed when they ship.

HTTPCodeDescriptionRetriable
409settlement_blockedTransactions in progress or offline transactions not uploadedYes
409settlement_in_progressPrevious settlement of the terminal has no result yetYes

Customer display ​

HTTPCodeDescriptionRetriable
400display_cart_invalidMissing or invalid cart field; detail.field and detail.reason identify itNo
409display_revision_conflictrevision is not current + 1; detail.revision is the current revisionNo
400customer_display_invalidInvalid renderer, or isv_web without app_idNo
409customer_display_app_not_publishedApplication not published to the terminalNo
409customer_display_app_roleApplication role is not customer_displayNo
409customer_display_app_disabledApplication disabled for customer displays by KuvexNo
409customer_display_runtime_too_oldTerminal Runtime older than 294; kuvex_hosted not supportedNo
400idle_screen_invalidInvalid idle screen field or logo; detail.field identifies itNo

Store hosts ​

HTTPCodeDescriptionRetriable
400host_name_invalidName must be 1–80 printable charactersNo
400host_public_key_invalidNot a Base64 Ed25519 public keyNo
401host_signature_invalidBad signature, clock skew over 60 seconds, reused nonce, or unknown hostNo
401host_revokedHost has no active pairingNo
403host_not_pairedPairing not yet confirmedNo
404host_not_foundHost does not existNo
404pairing_not_foundNo pairing record between the host and the terminalNo
409host_key_conflictPublic key registered in another account or the other modeNo
409host_pairing_not_enabledTerminal is not in companion modeNo

Applications ​

Application endpoints repeat the code in message, report the field in error.field, and omit retriable.

HTTPCodeDescription
400application_url_invalidURL must be HTTPS on a public host name, without user info or fragment
400application_role_invalidInvalid role
400application_chrome_invalidInvalid chrome value
400application_manifest_invalidOther field missing or invalid
400application_request_id_requiredPublish without request_id
400application_environment_requiredPublish without environment
400application_environment_mismatchenvironment does not match the terminal type
400application_targets_requiredPublish without terminal_ids
400application_targets_invalidInvalid terminal_ids
404application_not_foundApplication does not exist
409application_revision_conflictDraft revision changed
409application_request_conflictrequest_id used with different content

Webhooks ​

HTTPCodeDescriptionRetriable
400webhook_url_blockedURL is localhost, a private or non-public addressNo
403webhook_account_key_requiredTest keys of real accounts cannot manage webhooks; use the DashboardNo