bunq / sdk_php

PHP SDK for bunq API
MIT License
83 stars 54 forks source link

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

Open samihsoylu opened 2 years ago

samihsoylu commented 2 years ago

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