---
search:
  tags:
    - Orders
    - GET
seo:
  description: >-
    Resolves a checkout session by its token. Does not auto-rotate an expired…
    Reference for the GET /checkout_sessions/{id} endpoint in the Bolder API v2.
sidebar:
  label: Get a checkout session
  badge: GET
title: Get a checkout session
type: openapi-operation
---
Resolves a checkout session by its token. Does not auto-rotate an expired session the way the hosted checkout page does — an expired session returns 410 with a `replacement` session in the body.

`GET /checkout_sessions/{id}`

**Responses**

- `200` — Checkout session
- `410` — Session expired

Response example, 200:

```json
{
  "token": "string",
  "status": "string",
  "order_id": 0,
  "return_url": "string",
  "expires_at": "2019-08-24T14:15:22Z",
  "last_viewed_at": "2019-08-24T14:15:22Z",
  "view_count": 0,
  "checkout_url": "string"
}
```
