---
title: "Get a checkout session by ID"
method: GET
path: "/api/v1/checkout-sessions/{id}"
tags: ["Checkout Sessions"]
---

# Get a checkout session by ID

`GET /api/v1/checkout-sessions/{id}`

## Path parameters

- `id` string, required

## Response `200`

Checkout session details

- GetCheckoutSessionResponse
  - `session` CheckoutSession, required
    - `billing_day_anchor` integer, nullable
    - `billing_start_date` string, date, nullable
    - `checkout_type` 'SELF_SERVE' | 'SUBSCRIPTION_ACTIVATION', required
    - `checkout_url` string, nullable
    - `completed_at` string, date-time, nullable
    - `coupon_code` string, nullable
    - `created_at` string, date-time, required
    - `customer_id` string, MeteroidId, required
    - `expires_at` string, date-time, nullable — When the session expires. None means the session never expires.
    - `id` string, MeteroidId, required
    - `net_terms` integer, nullable
    - `plan_version_id` string, MeteroidId, required
    - `status` 'CREATED' | 'AWAITING_PAYMENT' | 'COMPLETED' | 'EXPIRED' | 'CANCELLED', required
    - `subscription_id` string, MeteroidId
    - `trial_duration_days` integer, nullable

## Other responses

- `401` — Unauthorized
- `404` — Not found
- `500` — Internal server error

## Changes

- **2026-01-28** (v1) `44bcc86fb202` — 1 info
  - the endpoint scheme security `bearer_auth` was added to the API
- **2026-01-19** (v1) `7d4a46169b06` — 1 info
  - endpoint added
- **2025-07-09** (v1) `dece17f86f99` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/meteroid-oss/apis/meteroid/changes/api/v1/checkout-sessions/:id/get.md)

---

[API](https://skmtc.dev/meteroid-oss/apis/meteroid.md) · [All operations](https://skmtc.dev/meteroid-oss/apis/meteroid/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/meteroid-oss/meteroid/revisions/44bcc86fb202/schema)
