Skip to main content

Reason Codes


A Unified Checkout request response returns one of these reason codes:

Reason CodeDescription
200Successful response.
201Capture context created.
400 (Capture Context API)Bad request. Possible reason values:
CAPTURE_CONTEXT_EXPIREDThis reason is returned when the capture context JWT has passed its expiration time of 900 seconds (15 minutes). Example decrypted JWT fields include "exp": "1762894371" and "iat": "1762893471".
CAPTURE_CONTEXT_INVALIDThe Unified Checkout configuration rejected the request due to invalid values. This reason is returned when the minimum required fields are missing or invalid or the capture context contradicts which products are enabled.
CHECKOUT_ERRORCheckout failed. This reason is returned when a general, non-payment-method-specific error occurs during the UnifiedCheckout checkout flow. When the checkout failure is specifically related to tokenization, the Click to Pay SDK, SRC launch, or Google Pay, the SDK returns a more specific error.
CLICK_TO_PAY_SDK_LOAD_ERRORThis reason is returned when the UI cannot be successfully rendered, for example:<br>- A network failure occurs (the CDN is unavailable, blocked, or timed out).<br>- Browser or device restrictions prevent the SDK from loading.<br>- Incorrect or missing configuration causes Unified Checkout not to request the SDK asset.<br>- The merchant site content security policy (CSP) blocks the SDK.<br>- A runtime error prevents Click to Pay JS initialization.
CREATE_TOKEN_TIMEOUTThe token creation timed out. This reason is returned when the Unified Checkout JavaScript SDK cannot generate the transient token within the expected time frame.
CREATE_TOKEN_XHR_ERRORThis reason is returned when the system attempts to create a token, but a network or XMLHttpRequest (XHR)-level failure occurs before the token can be created. This is a client-side SDK network failure, not a timeout or back-end validation error.
ENCRYPT_CARD_FOR_SRC_ENROLMENT_ERROREncrypt card for Secure Remote Commerce (SRC) enrollment failed. This reason is returned when Unified Checkout attempts to encrypt a card to enroll it in the SRC / Click to Pay system and the encryption step fails. This causes the SRC enrollment to abort.
INVALID_APIKEYReturned when the API key that is used in the server-side capture context request is invalid.
LAUNCH_SRC_CHECKOUT_ERRORThe launch SRC checkout failed. This reason is returned by the Unified Checkout JavaScript SDK when it cannot initialize or open the SRC checkout flow.
SDK_XHR_ERRORSDK failed to load. This reason is returned when the JavaScript SDK fails to load due to an XHR/network error during Unified Checkout initialization.
SHOW_LOAD_CONTAINER_SELECTORThe specified DOM element cannot be found. Returned when the DOM element specified in the show() configuration cannot be found. This is a client-side JavaScript SDK error thrown during rendering of the payment selection UI.
SHOW_LOAD_ERRORThere was a problem encountered when loading the payment screen. Returned when the Unified Payments UI fails to load the payment selection screen (iframe/UI) during the .show() step.
SHOW_LOAD_INVALID_CONTAINERThe supplied container parameter is invalid. Returned when the container provided to up.show() exists but is invalid: wrong type, not suitable to host Unified Checkout (UC) UI, unsupported context, or malformed in configuration.
SHOW_LOAD_SIDEBAR_OPTIONSThe supplied container parameter is invalid when sidebar is selected. Returned when sidebar = true and the containers supplied to up.show() are not valid for the sidebar layout (wrong type, unsupported container, or structurally incompatible).
SHOW_PAYMENT_TIMEOUTOccurs when an error is encountered during the handling of a payment option. Returned when UC cannot progress the customer's selected payment option in time.
SHOW_PAYMENT_UNAVAILABLENo payment types could be presented to the customer. This might be due to browser/device support or errors encountered during the checkout. Returned when zero payment methods can be presented in the .show() phase, typically due to browser/device incompatibility, disabled payment types, or internal errors while loading payment options.
SHOW_TOKEN_TIMEOUTOccurs when the createToken call was unable to proceed. Returned when the createToken call cannot proceed within the expected time while rendering the payment selection UI.
SHOW_TOKEN_XHR_ERROROccurs when a network error is encountered while attempting to create a token. Returned when the createToken step within .show() fails due to an actual network/XHR error (blocked request, CORS/CSP violation, extension interference, unreachable endpoint).
TOKENIZATION_ERRORTokenization failed. Returned when tokenization of the selected payment method fails, due to invalid payment data, a failed internal tokenization call, network issues, or an unsupported/blocked payment environment.
TRIGGER_PAYMENT_TYPE_NOT_SUPPORTEDTrigger is not supported for this payment type. Returned when up.trigger(paymentType) is called with a payment method that does not support trigger mode, is not enabled, not available on the device/browser, or not recognized by UC.
UNIFIED_PAYMENTS_PAYMENT_PARAMETERSOccurs when no valid payment parameters exist when initializing the button. Returned when the merchant calls VAS.UnifiedCheckout(sessionJWT) without providing valid payment parameters, meaning the SDK cannot initialize the payment buttons because the supplied configuration is missing, empty, or malformed.
UNIFIED_PAYMENTS_VALIDATION_FIELDSA validation error occurred. Missing or invalid values in required fields.
UNIFIED_PAYMENTS_VALIDATION_PARAMSTrigger is not supported for this payment type. Returned when up.trigger(paymentType) is called with a payment method that does not support trigger mode, is not enabled, not available on the device/browser, or not recognized by UC.
404The specified resource not found in the system.
500Unexpected server error.

Last published: September 29, 2026