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

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
Default: "1"
integer

The page number to retrieve

per
Default: "10"
integer

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

Response

200 - application/json
data
object[]
pagination
object

Pagination model