Default limits
Exceeding the limit returns 429 Too Many Requests with a
Retry-After header indicating how many seconds to wait.
Handling 429 responses
1
Respect the Retry-After header
The response header tells you exactly how long to wait before retrying.
2
Use exponential backoff
If
Retry-After is not present, implement exponential backoff starting at 1 second with a maximum of 60 seconds.3
Add idempotency keys
Always include an
Idempotency-Key header on POST requests so retries do not create duplicate transactions.