Pagination troubleshooting

I’m using the payments v2 api to pull a list of payments from the start of this year. Using the python requests library to send the request and everything except for pagination is working fine.

The original url that I’m sending the request to is:

Once that returns I take the response and add the cursor to my parameters. After I get the data i need from that page of results i send the request again adding the cursor to the request so that the request is:

But the next page of data dosen’t come. The response just returns the same stuff I just got. I tried to send it with just the cursor as a parameter but that didn’t work either.

What am I missing?

Hi @storm, welcome to the forums!

That looks correct at first glance; can you provide your Square application id so I can take a look at our logs to see if something is going on?