Read a checkout session's public state — publishable-key scope
/v1/storefront/checkout-sessions/{checkoutSessionId}AuthorizationBearer token · headerrequiredPublic API key bearer token.
checkoutSessionIdstringrequiredenvironmentstringrequiredMerchant environment — key-bound keys resolve it from the credential; unbound callers default to sandbox.
sandboxproductionmerchantAccountIdstringrequiredSuccess
dataobjectrequiredShow propertiesHide properties
checkoutSessionIdstringrequiredstatusstringrequiredmodestringexpiresAtstring<date-time>successUrlstringcancelUrlstringrequestIdstringrequiredBad request, including malformed JSON
errorobjectrequiredShow propertiesHide properties
codestringrequiredbad_requestunauthorizedforbiddennot_foundconflictrate_limitedvalidation_failurenot_implementedinternal_errormessagestringrequiredtypestringapi_errorauthentication_errorcard_erroridempotency_errorinvalid_request_errorpermission_errorrate_limit_errorparamstringThe request field that failed validation (dot path), when the error is field-attributable.
requestIdstringdocsUrlstringDeep link to the errors guide section for this code.
detailsobjectMissing or invalid API key
errorobjectrequiredShow propertiesHide properties
codestringrequiredbad_requestunauthorizedforbiddennot_foundconflictrate_limitedvalidation_failurenot_implementedinternal_errormessagestringrequiredtypestringapi_errorauthentication_errorcard_erroridempotency_errorinvalid_request_errorpermission_errorrate_limit_errorparamstringThe request field that failed validation (dot path), when the error is field-attributable.
requestIdstringdocsUrlstringDeep link to the errors guide section for this code.
detailsobjectRoute or scoped resource was not found
errorobjectrequiredShow propertiesHide properties
codestringrequiredbad_requestunauthorizedforbiddennot_foundconflictrate_limitedvalidation_failurenot_implementedinternal_errormessagestringrequiredtypestringapi_errorauthentication_errorcard_erroridempotency_errorinvalid_request_errorpermission_errorrate_limit_errorparamstringThe request field that failed validation (dot path), when the error is field-attributable.
requestIdstringdocsUrlstringDeep link to the errors guide section for this code.
detailsobjectConflict, including idempotency body drift
errorobjectrequiredShow propertiesHide properties
codestringrequiredbad_requestunauthorizedforbiddennot_foundconflictrate_limitedvalidation_failurenot_implementedinternal_errormessagestringrequiredtypestringapi_errorauthentication_errorcard_erroridempotency_errorinvalid_request_errorpermission_errorrate_limit_errorparamstringThe request field that failed validation (dot path), when the error is field-attributable.
requestIdstringdocsUrlstringDeep link to the errors guide section for this code.
detailsobjectValidation failed
errorobjectrequiredShow propertiesHide properties
codestringrequiredbad_requestunauthorizedforbiddennot_foundconflictrate_limitedvalidation_failurenot_implementedinternal_errormessagestringrequiredtypestringapi_errorauthentication_errorcard_erroridempotency_errorinvalid_request_errorpermission_errorrate_limit_errorparamstringThe request field that failed validation (dot path), when the error is field-attributable.
requestIdstringdocsUrlstringDeep link to the errors guide section for this code.
detailsobjectAPI key rate limit exceeded
errorobjectrequiredShow propertiesHide properties
codestringrequiredbad_requestunauthorizedforbiddennot_foundconflictrate_limitedvalidation_failurenot_implementedinternal_errormessagestringrequiredtypestringapi_errorauthentication_errorcard_erroridempotency_errorinvalid_request_errorpermission_errorrate_limit_errorparamstringThe request field that failed validation (dot path), when the error is field-attributable.
requestIdstringdocsUrlstringDeep link to the errors guide section for this code.
detailsobjectError
errorobjectrequiredShow propertiesHide properties
codestringrequiredbad_requestunauthorizedforbiddennot_foundconflictrate_limitedvalidation_failurenot_implementedinternal_errormessagestringrequiredtypestringapi_errorauthentication_errorcard_erroridempotency_errorinvalid_request_errorpermission_errorrate_limit_errorparamstringThe request field that failed validation (dot path), when the error is field-attributable.
requestIdstringdocsUrlstringDeep link to the errors guide section for this code.
detailsobject