Get payment plans associated to a ProductId

How do I find all payments plans for a specific ProductId via API or which is the table that holds the payment plans?

Products do not have payment plans. Payment plans are on the invoice level and can be queried on the PayPlan table