The deal comes as the funding of Latin American startups sharply dropped this year.