Rate Limits

Learn in detail on rate limits and its usage.

You can now view your API usage and rate limits on your dashboard. Go to Developers > Rate Limits

You can view various metrics such as:

  • Rate Limit
  • Latest Usage
  • Average Usage
  • Burst limit
  • Request Count
  • Violation Count

Rate Limit
The rate limit value shows the number of API calls that were made in a minute. Say for example, if the rate limit is 400 - this means you can call a maximum of 400 API calls in a minute.

Latest Usage
The latest usage percentage shows the average of API calls done in the last 4 hours.

Average Usage
The average of API calls done in a minute. Let's say, for example, the rate limit is 400 - this means you can call a maximum of 400 API calls in a minute, but you make only 100 API calls in a minute. This means the average usage is 25% (100/400 *100).

Burst Limit
The burst limit is the API limit that is allocated for a specific period of time.

Apart from these metrics, there are two other metrics available. You can download these metrics.

  • Request Count - The number of API requests in the selected time period.
  • Violation Count - The number of violation counts in the selected time period.
3456

Rate Limiits


Rate limiting

We use rate limiting for all endpoints. Rate limiting is based on your IP and your account Id. By default, the following rate limits are applied per minute. You can also view your rate limits in the response headers.

Rate Limits in Sandbox

APIRate limit value per minuteRate limit type
Create Order30Account
Get Order60Account
Get Payments30Account
Pay Order30IP
Get Settlements20Account
Initiate Refund30Account
Get refund60Account

Rate Limit in Production

APIRate limit value per minuteRate limit type
Create Order200Account
Get Order400Account
Get Payments100Account
Get Payments by ID130Account
Pay Order100IP
Get Settlements30Account
Initiate Refund100Account
Get Refund30Account

📘

Custom Rate Limits

The above tabulated information are the default rate limits. However, we have the option to provide custom rate limits and burst limits at an account level depending on the usage and use case. Please contact [email protected] to know more.

Rate limiting headers

All responses will have the following headers to help you understand rate limiting.

Header nameExampleDescription
x-ratelimit-limit100Max number of calls that can be made in a minute
x-ratelimit-remaining30Remaining number of calls that can be made in a minute
x-ratelimit-retry0Number of seconds you will have to wait to make the next call
x-ratelimit-typeapp_id or ipType of rate limiting applied