---
title: "CustomerPayments: Returns 500 results even when pageSize is set to 1000"
description: "Earlier, the maximum page size was hard coded to 500 and so the response for the GET customerPayment endpoint was able to return up to 500 payments."
lang: en
languages:
  en: https://docs.vismasoftware.no/visma-net-erp/release-notes/2021-11-29-customerpayments-returns-500-results-even-when-pagesize-is-set-to-1000/index.md
lastmod: 2021-11-29
---

> Documentation index: https://docs.vismasoftware.no/visma-net-erp/llms.txt


# CustomerPayments: Returns 500 results even when pageSize is set to 1000

Last modified November 29, 2021

2021-11-29


Label: api:customer-ledger


Version: 8.75



Earlier, the maximum page size was hard coded to 500 and so the response for the GET customerPayment endpoint was able to return up to 500 payments. This has now been changed so that the maximum page size is configurable and the value is taken from the web.config file for every  GET endpoint with the maxpageSize filter.



---

[View this page](https://docs.vismasoftware.no/visma-net-erp/release-notes/2021-11-29-customerpayments-returns-500-results-even-when-pagesize-is-set-to-1000/)
