The Islamic world in the Middle Ages had a system of decentralized money transfer (hawala) where capital could be moved virtually across any region that had a trusted hawala intermediary. European aristocrats in the 1700s (and probably before) from different countries were also able to open lines of credit in other countries. It’s actually referenced in Count of Monte Cristo.