Pagination is used for any endpoint with a sufficiently large set of data, mainly the /api/v1/company_clients and /api/v1/transactions endpoints. Using the page method of Kaminari to get a page (ten, in our case) of results. We're passing params[:page] to the page method so that we can control which page we get. And if params[:page] is nil, we'll get the first page, so it works by default.
You can then pass page=2 to go to the second page data set. For example, to retrieve the next set of clients, you would pass specific page when requesting clients (GET /api/v1/company_clients?page=2).