Retrieve a Plan
curl --request GET \
--url https://api.whop.com/api/v2/plans/{id}
{
"accepted_payment_methods": [
[]
],
"access_pass": "<string>",
"base_currency": "<string>",
"billing_period": 123,
"card_payments": true,
"created_at": 123,
"direct_link": "<string>",
"id": "<string>",
"initial_price": 123,
"internal_notes": "<string>",
"metadata": {},
"plan_type": "<string>",
"product": "<string>",
"release_method": "<string>",
"release_method_settings": {},
"renewal_price": 123,
"requirements": {},
"stock": 123,
"unlimited_stock": true,
"visibility": "visible"
}
Headers
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
The ID of the Plan, which will look like plan_*************
Query Parameters
Whether or not to expand the Product on the returned Plan(s). Pass an array with each object(s) you want to expand, e.g. [product]
product
Response
An array of payment methods that are accepted for this Plan
Access Pass has been deprecated for Product. Please use product instead and do not use access_pass.
The base currency
How often a user will get charged for their membership (if it is a renewal plan), in number of days
Deprecated. Please use accepted_payment_methods
instead.
The time at which the Plan was created. Measured in seconds since the Unix epoch.
A URL that targets a customer on this specific Plan
The ID of the Plan, which will look like plan_*************
The price to be initially charged when a user first purchases the Plan
A nickname for the Plan set by the company and not visible to the customer
A polymorphic object containing information that can be user defined
Whether the Plan is a renewal or one-time purchase
The Product this Plan is tied to. By default this will just be the ID of the Product, but you can expand it to get more information about the Product by passing [product]
in the expand
parameter.
The method the customer will use to gain access to this Plan's Product
Configurable settings on how this Plan is released.
The price to be charged for each successive billing period
Represents the different restrictions (if any) in place for purchasing the Plan
The amount of stock left in the Plan
Whether or not the Plan offers unlimited stock
The level of visibility of the Plan
visible
, hidden
, archived
, quick_link
Was this page helpful?
curl --request GET \
--url https://api.whop.com/api/v2/plans/{id}
{
"accepted_payment_methods": [
[]
],
"access_pass": "<string>",
"base_currency": "<string>",
"billing_period": 123,
"card_payments": true,
"created_at": 123,
"direct_link": "<string>",
"id": "<string>",
"initial_price": 123,
"internal_notes": "<string>",
"metadata": {},
"plan_type": "<string>",
"product": "<string>",
"release_method": "<string>",
"release_method_settings": {},
"renewal_price": 123,
"requirements": {},
"stock": 123,
"unlimited_stock": true,
"visibility": "visible"
}