A Checkout Session's outcome, read from Stripe
Reads the session from Stripe on the connected account and returns its curated outcome: status (open, complete, expired), payment_status (paid, unpaid, no_payment_required), mode, customer_id, subscription_id, payment_intent_id, amount_total, currency, customer_email, client_reference_id, metadata (your keys only). Use it on the success page; a SEPA debit reads unpaid until it clears, then stripe_checkout_completed arrives. A session another project created is 403; an id unknown within this project's sessions is 404 STRIPE_CHECKOUT_SESSION_NOT_FOUND. Never lifecycle-gated.
Request
- Base URL: https://api.run402.com
- URL: https://api.run402.com/projects/v1/{project_id}/stripe/checkout-sessions/{checkout_session_id}
- Auth: one of:
- HTTP bearer
- API key in header SIGN-IN-WITH-X
- HTTP bearer
- HTTP bearer
Path parameters
Run402 project ID. Public IDs are not UUIDs.
The project through which the organization's Stripe account is reached. A service_key acts only for its OWN project; principals and grant keys authorize via project.stripe.manage (mutations) or project.read (reads). The account belongs to the project's owning organization, read fresh.
The Stripe Checkout Session id this project created.
Headers
SIWX auth header — base64-encoded JSON payload containing a signed CAIP-122 (EIP-4361) message. See https://docs.x402.org/extensions/sign-in-with-x.
Response
The outcome.
Changes
No recorded changes to this operation across all 1 revision of this API.