Thanks a lot for the solution, @Zerbis.
However, I'm looking for an API based solution to integrate in a platform, so as to automate the whole process. Not looking for a hedging based solution as that is not scalable.
If a service takes the hedging risk on our behalf, that'll will work as well. (But APIs are required.)
There are a lot of Payment processors that are converting BTC to Fiat as it is received, which eliminates the volatility completely. They even offer the merchants the option to structure the conversion, by pre-configuring the setup to store a specific percentage of coins as determined by the merchant. So if you do not want all 100% of the received coins, converted to Fiat, then you tell them what percentage of the coins must be converted immediately and what percentage of coins must be left in BTC.
This is not the ideal solution, but it helps the merchants that does not want to deal with the volatility.
I'm looking for a solution to convert fiat to crypto automatically, not the other way around.
Thanks for the reply, @Kakmakr.