
Retrieve sessionGET
OpenStock Docs
GET
/
api/checkout-api/sessions/{session_id}checkout_apiFetches a single session. Pending sessions past their expiry are marked expired when read.
Authorization#
AuthorizationBearer <token>In: header. A store API key starting with sk_ that has the checkout_api permission.
Path parameters#
session_idrequiredstringThe cs_… ID returned when the session was created.
Responses#
- 200The session.
- 404No session with that ID belongs to this store.
- 401Missing, malformed, disabled or expired API key.