San Francisco based wallet-as-a-service provider raised $52m in new funding led by PayPal Ventures.