For the Golden Visa, the minimum investment must be made upfront, without a mortgage. But you can use a mortgage to top up the amount beyond the minimum investment threshold.