Skip to content
API referenceAPI v1admin-sdk 1.1.52Search docs⌘K
Checkout sessions · Get a session
API reference / Checkout sessions

Get a session

GET/api/v1/checkout/sessions/:idno app scope

A session's status, totals and the order it became.

Path parameters

idstringrequired

The session_id.

Headers

Authorizationheaderrequired

Bearer with your secret key, or the merchant's OAuth token.

Returns

The session, with order_id and completed_at once paid.

Errors

404No session has this ID.