Payment Gateway Restrictions

Hello All,

I’m currently working on a new payment gateway and I was wondering if it is possible to add gateway restrictions in a way that would prevent the gateway to show on the frontend.

For example, when I have a payment method that can only be used with an amount between 15 and 3000 USD, the menthod shouldn’t be available in the frontend when the amount isn’t between 15 and 3000.

Hope someone can help me with this as I could find any information about this.