U.S. payments firm Stripe said on Wednesday it has raised $245 million in a new round of funding, valuing the company at $20 billion.