Application and API requests limit

Application limit

As the 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.

This limit includes requests on the application and API together (including postbacks, webhooks or any other requests to the application). 

Grid limit

We introduced a limit for the 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 you to get the “429 - too many requests" error on your integrations or scripts that previously worked without any problem.

In the 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 postbacks 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.

×