fixed payments api again