Lists pricing plans.
The listPlans()
function returns a Promise that resolves to a list of up to 100 pricing plans.
Only users with "Manage Pricing Plans" permissions can use this function to list plans.
IDs of plans to list. You can pass a maximum of 50 IDs. If not specified, all public and hidden plans (based on the options) are listed (up to 50), according to the order displayed in the Dashboard. If non-existent IDs are specified, they are ignored and do not cause errors.
Options to use when getting the list of plans.