{
  "opencollection": "1.0.0",
  "info": {
    "name": "Whop REST API (v1) Checkout Configurations Plans API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Plans",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List plans",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.whop.com/api/v1/plans",
            "params": [
              {
                "name": "company_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "product_ids",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List plans"
        },
        {
          "info": {
            "name": "Create a plan",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.whop.com/api/v1/plans",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a plan"
        },
        {
          "info": {
            "name": "Retrieve a plan",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.whop.com/api/v1/plans/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a plan"
        },
        {
          "info": {
            "name": "Update a plan",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.whop.com/api/v1/plans/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a plan"
        },
        {
          "info": {
            "name": "Delete a plan",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.whop.com/api/v1/plans/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a plan"
        },
        {
          "info": {
            "name": "Calculate tax for a plan",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.whop.com/api/v1/plans/:id/calculate_tax",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Estimates tax for a plan at a given billing address. Path segment modeled from the documented `calculate-tax` operation."
        }
      ]
    }
  ],
  "bundled": true
}