Sorry for not finishing this one out.
You are correct.  The “has next” must pull it’s values from the API response.
I believe that $entity.pagerNumber < $entity.totalPages. should work for you.  To test it put a mapper after the Rest Snap to see what results you are getting.
This should work too. “Also, for the next url we were going to use “$entity.pageNumber + 1” to set the page requirement. Is this valid?”  once again add this to the mapper to see if your logic is correct.
This is a screen shot of my working snap.  Some of it is parameters or variables captured earlier in the pipeline but you should get the idea.
![]()
One note. “Next URL”.  You will notice that I have added variables to it.  I mistakenly thought the ones set above would apply but that is not the case.  You need to rebuild it manually .
FYI: This is an example from Eloqua.  The out of the box does not work for the bulk API.