Subscription plan ID

How do I get the plan id for my subscription plans listed at:
https://squareupsandbox.com/dashboard/plans

I can click on the … and then “create subscription” and then look at the URL to get the plan id, but that is a very sketchy way to get the id. Are these plan IDs not clearly listed anywhere?

Can we pull up the available plans via the API? I searched and could not find anything.

Yes, with the Catalog APIs ListCatalog with type SUBSCRIPTION_PLAN you’ll get all the plan_ids. :slightly_smiling_face: