Retrieve a checkout session


Errors

In addition to the Errors applicable to all API endpoints, the following errors are specific to retrieving a checkout session:

status code error code description
404 checkout-session.not-found No checkout session was found meeting the requirements. Make sure to use the right checkoutSessionId and API key. Objects in test mode can only be accessed using test keys and objects in live object with live keys.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The unique identifier of the Checkout Session object.

Query Params
string
enum
Defaults to no

Set to all if the references within the response need to be expanded to the full objects

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json