Hi,
To be clear from the start, I'm not using the bunq sdk, I'm doing an own implementation. Now, I'm trying to import cards into our system. There are 600 cards in total to import. So we need to use pagination because a maximum of 200 can be imported at once. However, there are a couple of problems with this.
Problem 1:
For starters, the 'count=200' query param is not working for me.
I am adding this query param so the url looks like the following:
/v1/user/<user_id>/card?count=200
I get the following back:
$responseData = {array} [2]
Response = {array} [10]
0 = {array} [1]
1 = {array} [1]
2 = {array} [1]
3 = {array} [1]
4 = {array} [1]
5 = {array} [1]
6 = {array} [1]
7 = {array} [1]
8 = {array} [1]
9 = {array} [1]
Pagination = {array} [3]
That's not 200 ..
Problem 2:
Pagination = {array} [3]
future_url = "/v1/user/<user_id>/card?newer_id=<newer_id>"
newer_url = null
older_url = "/v1/user/<user_id>/card?older_id=<older_Id>"
I would expect that newer_url is filled in, and not that we start at the last page. That is not how pagination should work right, starting from the back. Also the older_url is always the same for the next set of cards, so I get stuck in a loop.
Richard Torenvliet