List checkout sessions

Lists the checkout sessions of your organization for the live or test mode of the API key used. The API returns sessions sorted by creation date, with the most recently created sessions first. Use limit, starting_after, and ending_before to paginate through the list. The Link response header contains the URL of the next page.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
integer

Maximum number of checkout sessions to return per page, between 1 and 300. Defaults to 30.

string

Cursor for pagination: the id of the last checkout session on the current page. Returns the sessions created before that session. Cannot be combined with ending_before.

string

Cursor for pagination: the id of the first checkout session on the current page. Returns the sessions created after that session. Cannot be combined with starting_after.

Responses

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