this PR will resolve all the remaining comments of [PR](https://github.com/juspay/hyperswitch/pull/8178)