iterate over payload ids