List plans
Returns a list of all subscription plans on your account, optionally filtered by type, currency, or option status.
Headers
string The Bearer token for authentication.
string The user agent of the request. Must contain at least two identifiers separated by a space.
string The content type of the request.
Parameters
string The type you want to filter based on.
standardmeteredstring The currency you want to filter based on.
boolean The state of options you want to filter based on.
number The number of plans to return.
Response Body
application/jsonboolean Indicates that the request was successful.
object The plans data.
array The list of plans.
string The ID of the plan.
string The title of the plan.
string The summary of the plan.
string The type of the plan.
standardmeteredstring The currency of the plan.
date-time The date and time the plan was created.
array The list of options attached to the plan.
string The ID of the plan option.
string The description of the plan option.
boolean Whether the plan option is active.
number The unit price of the plan option.
number The billing interval of the plan option.
number The number of subscribers to the plan option.
object The attributes of the plan option.
date-time The date and time the plan option was created.