bunq/sdk_php

Pagination does not allow to list more than 10 results in a single request

samihsoylu opened this issue · 0 comments

Steps to reproduce:

public function getPaymentsFromMonetaryAccount(int $monetaryAccountId, int $count = 50): array
        $pagination = new Pagination();
        $pagination->setCount($count);

        return Payment::listing(
            $monetaryAccountId,
            [],
            $pagination->getUrlParamsCountOnly()
        )->getValue();
}

What should happen:

  1. Return 50 results

What happens:

  1. Returns 10 results

Traceback

SDK version and environment

  • Tested on fd4ad5f
  • Sandbox
  • Production