Is there a way to retrieve specific payment methods in Shopify using the Shopify API?

Is there a way to determine the availability of payment methods like Shopify Payments, PayPal Express, Authorize.net, and Stripe in a Shopify store using the Shopify API? I’m looking to check this using the Shopify API within my Shopify App. Any insights or guidance would be greatly appreciated.

My basic idea is to check whether one of the above payment methods is available in-store or not. I want to show the message in My app that "This app will not work until you set up one of the above payment methods.

Please check the attached screenshot.

Thank you for your help in advance.