support gateway pagination