Payment API Rate limits
Payout API Rate limits
SecureID API Rate limits
Response Headers
Cashfree APIs include rate-limiting information in the response headers, such as:X-RateLimit-Limit
: The maximum number of requests allowed in the current window.X-RateLimit-Remaining
: The number of requests remaining in the current window.X-RateLimit-Reset
: The time (in seconds) until the rate limit resets.
Throttling
If the limit is exceeded, the API returns a429
Too Many Requests status code. Clients are advised to respect the retry-after time mentioned in the response headers before sending further requests.
Best Practices
- Implement exponential backoff strategies to handle retries gracefully.
- Monitor API usage and avoid excessive calls by caching responses where applicable.
- Use API keys responsibly and ensure the application logic adheres to the documented rate limits.