Ajax invest call