where to find plan Ids of PaidPlans? (Corvid APIs)

I have added the #paidplans app as one of my pages and successfully added some custom plans. However I would like to use the paid plans #corvid api to trigger certain purchases. the paid plans documentation clearly states that I need the #planID as an argument to purchasePlan(). However, I cannot seem to find the planIDs for the plans I created in the manage plans section of the paidPlan app.

The documentation also shows that the plans are in the form of a collection but I cannot find this collection. should I create my own collection? if so how do I link it to the paid plans I created in the app?

Paid Plans have their own support pages here.
https://support.wix.com/en/apps-made-by-wix/paid-plans

Have you read through all of this to find your answer first?

As for getting the users piad plan through code, then you can simply use Wix User to get their pricing plan.
https://www.wix.com/corvid/reference/wix-users.User.html

this is not what I was looking for. This is the documentation on the wix paid plans: https://www.wix.com/corvid/reference/draft/wix-paid-plans.html#purchasePlan it is using a so called “plans collection” but when I add the paidplans app i dont see a plans collection other than a manage plans button where I can just add and edit plans. So I do not know how to get the ‘PlanId’ mentioned in the documentation above.

I have the same question! Where do I the id if my plans??

Old post being closed.

You can find the users pricing plan from getPricingPlans function in Wix Users.
https://www.wix.com/corvid/reference/wix-users.User.html#getPricingPlans

Or you can get your pricing plan id from the Wix Paid Plans collection.
https://support.wix.com/en/article/corvid-wix-pricing-plans-paidplansplans-collection-fields