Returns a vector of all subscription IDs associated with the given plan. This is a read-only function. No transaction signature is required.
Parameters
Authorization
None. This is a read-only query.
Return value
Vec<u64> - a list of subscription IDs on the plan. Returns an empty vector if the plan has no subscriptions.
Error cases
None. Returns an empty vector if the plan has no subscriptions.
Examples
This function is useful for building merchant dashboards that show subscriber counts and for keeper bots that need to iterate over all subscriptions on a plan to find due charges.