Application limit
As cloud-hosted accounts run on our servers we need to make sure they do not get overloaded. Because of this we limit the requests made on the application and API to make sure our servers operate smoothly.
- the requests limit is set to 500 requests per 30 seconds
- the limit includes requests on the application and API together (including callbacks, webhooks or any other requests to the application)
- in API, one request can ask for maximum 500 results (rows).
Grid limit
We introduced a limit for grids like transactions grid, affiliate grid, campaign grid, etc. This limit is set to 1 grid request per 1 second per user.
Possible issue
If you are making a lot of requests this limit may cause “429 - too many requests" error on your integrations or scripts that previously worked without any problem.
In case of PHP scripts we have added an automatic API request retry functionality to our PHP library - PapApi.class.php (from version 5.14.6.5). We recommend updating the PHP library. You can download it from your Merchant panel> Tools> Integration> API Integration> Download PAP API.
In case you are making requests like callbacks or webhooks to the application directly, you need to make sure that you won’t make a grid request more than 1 time per second. You can also add a delay to your processing or in case of the 429 error response, repeat the request with a (1 second) delay.