Flex, a fintech provider, has raised $25 million in equity funding and secured a $200 million credit facility, valuing the company at nearly $250 million.…