How to change payment timeout on shopify payment methods

How to change payment timeout on shopify payment methods?

For example, there is a national payment method where the payment is made by bank transfer and has a time limit of 7 days, I would like to reduce it to 2.

Thank you!