moved stripe api to a worker