Terminal status of a Checkout Session

1 min readEdit this page
GET
/v1/billing/checkout/sessions/{session_id}/status

Returns the caller's Checkout Session status: processing, succeeded, failed, or expired. 404 if the session is not the caller's.

Requires the billing:read scope.

Authorization

x-api-key<token>

Anthropic-style API key header.

In: header

Path Parameters

session_id*string

Stripe Checkout Session id.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/billing/checkout/sessions/string/status"
{}
{  "error": "string",  "error_description": "string"}
{  "error": "string",  "error_description": "string"}
{  "error": "string",  "error_description": "string"}

How is this guide?