GET
/
v2
/
checkout_sessions
curl --request GET \
  --url https://api.whop.com/api/v2/checkout_sessions
{
  "pagination": {
    "current_page": 123,
    "total_page": 123,
    "total_count": 123
  },
  "data": [
    {
      "id": "<string>",
      "redirect_url": "<string>",
      "affiliate_code": "<string>",
      "metadata": {},
      "plan_id": "<string>",
      "purchase_url": "<string>"
    }
  ]
}

Headers

Authorization
string

Your API key, which can be found on the Whop Business Dashboard. You must prepend your key with the word 'Bearer', which will look like Bearer ***************************

Query Parameters

plan_id
string

The ID of the plan that the checkout session is associated with, which will look like plan_*************

page
integer
default:1

The page number to retrieve

per
integer
default:10

The number of resources to return per page. There is a limit of 50 results per page.

Response

200 - application/json
List Checkout Sessions
pagination
object

Pagination model

data
object[]

CheckoutSession model