Why isn't the limit parameter working when I list accounts, subscriptions, or invoices using either the v2 or v3 API?

The limit parameter impacts the number of results that are returned per API request, and is not used to bring back a maximum number of results. The Pager will continue to make API requests until the entire record set is exhausted.

For example, let's say we have a total of 100 Subscriptions in total. If you specify a limit of 100 then there will be a single API request that returns all 100 records. However, if you specify a limit of 50, then there will be 2 API requests required to consume all of the records.

API v2 documentation

API v3 documentation