Method, a startup that helps fintech developers build repayment functionality into their apps, has raised $41.5 million in a funding round.