DELETE
https://api.whop.com/api
/
v2
/
checkout_sessions
/
{id}
curl --request DELETE \
  --url https://api.whop.com/api/v2/checkout_sessions/{id}
{
  "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 ***************************

Path Parameters

id
string
required

The ID of the session, which will look like ch_*************

Response

204 - application/json

Successfully deleted

CheckoutSession model