---
title: "CheckoutSession"
description: "A Stripe Checkout Session in setup mode: it saves a card without charging it."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Billing API

A Stripe Checkout Session in setup mode: it saves a card without charging it.

## Fields

- `CheckoutSession.id` (string, required)
- `CheckoutSession.status` (string, required)
  - one of `"open"`, `"complete"`, `"expired"`
- `CheckoutSession.clientSecret` (string, required) — For Stripe's Checkout Elements SDK in the browser. Shown only here.
- `CheckoutSession.publishableKey` (string, required) — Stripe's publishable key, for the same SDK.


Source: https://docs.ezghcloud.com/billing-api/schemas/CheckoutSession/index.md
