Wix Paid Plans API: How to retrieve the number of payments a user has made for a certain plan?

Thanks for the quick reply!