---
search:
  tags:
    - storefront
    - GET
seo:
  description: >-
    Read a checkout session's public state —… Reference for the GET
    /v1/storefront/checkout-sessions/{checkoutSessionId} endpoint in the Vortex
    Payments API.
sidebar:
  label: Read a checkout session's public state — publishable-key scope
  badge: GET
title: Read a checkout session's public state — publishable-key scope
type: openapi-operation
---
`GET /v1/storefront/checkout-sessions/{checkoutSessionId}`

**curl**

```bash
curl "https://api.vortex.nyc/v1/storefront/checkout-sessions/{checkoutSessionId}?environment=sandbox&merchantAccountId=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
```

**TypeScript**

```ts
import { getStorefrontCheckoutSession, createVortex } from "@vortex-api/vortex/2026-09";

const vortex = createVortex({ apiKey: process.env.VORTEX_API_KEY });
const { data } = await getStorefrontCheckoutSession({
  client: vortex,
  path: { checkoutSessionId: "..." },
  query: { environment: "sandbox", merchantAccountId: "..." },
});
```

**Responses**

- `200` — Success
- `400` — Bad request, including malformed JSON
- `401` — Missing or invalid API key
- `404` — Route or scoped resource was not found
- `409` — Conflict, including idempotency body drift
- `422` — Validation failed
- `429` — API key rate limit exceeded
- `default` — Error

Response example, 200:

```json
{
  "data": {
    "checkoutSessionId": "string",
    "status": "string",
    "mode": "string",
    "expiresAt": "2019-08-24T14:15:22Z",
    "successUrl": "string",
    "cancelUrl": "string"
  },
  "requestId": "string"
}
```
