Brazil based payment infrastructure startup raised $40m in Series C funding led by QED Investors and Kaszek.