Approx cost of developing a payment gateway supporting 2 currencies.

Hello! The titles basically says it.

I’m trying to estimate the cost (tech and legal) of developing a payment gateway (handling around 300,000 transactions per year) from scratch.