429. Each API request consumes quota from your allocated allowance.
Quotas
Our throttling system enforces the following request quotas per minute:- Live mode: 60 requests per minute
- Sandbox: 60 requests per minute
Avoid polling - Polling APIs repeatedly to check for status changes is strictly discouraged and will rapidly exhaust your rate limits.Use Webhooks Instead: For real-time status updates, utilize webhooks instead of polling. Webhooks provide instantaneous notifications when status changes occur, eliminating the necessity for repeated API calls.For webhook implementation details, see Webhooks.
Anticipate traffic surges: Proactively plan for high-volume events by contacting xPay support at hello@xpaycheckout.com to discuss your expected traffic patterns and ensure your integration can handle the load.
Response
When you exceed the throttling threshold, requests return a429 Too Many Requests status code:
HTTP Status Code: 429