List API v1 checkout sessions

Changed on
get/api/v1/checkout/sessions/

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Query parameters

customer_idstring

Filter by customer

limitinteger

Number of sessions to return

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

createdinteger required
idstring required
modestring required
statusstring required
subscription_idstring
urlstring required

Example response

[
  {
    "$schema": "https://example.com/schemas/StripeCheckoutSessionResponse.json",
    "created": 1700000000,
    "id": "cs_test_12345",
    "mode": "subscription",
    "status": "open",
    "subscription_id": "sub_12345",
    "url": "https://checkout.stripe.com/c/pay/cs_test_12345"
  }
]

Changes