Hi Jakob, thanks for helping out. I understand the pagination part, except the Bunq SDK doesn't return the pagination object when you call it. It will only return the payments returned from the API, in the screenshot I pasted the source code of the bunq SDK which returns the payments. In the .value are the actual payments, while in .pagination is the pagination object. So there's no way to know the newer_id, when retrieving payments with the Bunq SDK.
Do you perhaps know what the value of newer_id actually is? Is it the payment_id, if that's the case I could just get the last known payment in my database and pass that as newer_id and then I'm able to set pagination.count to a big number as it will only retrieve the newest payments.