Rate limits
Limits apply per app and per environment, so sandbox traffic never uses production quota.
Default limits
| Limit | Default |
|---|---|
| Requests per second | 20, with bursts up to 40 |
| Requests per minute | 600 |
| Requests per hour | 20,000 |
| Requests per day | 200,000 |
| Requests in flight at once | 20 |
The merchant can change these per app and environment, and set limits for individual endpoints.
The token endpoint has its own limits: 30 requests per minute per client ID and 120 per minute per IP address. Cache your tokens.
Headers
Every response includes the tightest limit that applies:
RateLimit-Limit: 600
RateLimit-Remaining: 587
RateLimit-Reset: 41
When you go over a limit, you get 429 rate-limited with Retry-After in seconds. Wait at least that long before trying again.