Rate Limiting
To maintain system performance and ensure fair usage for all clients, the following rate limits per minute apply to the Plum APIs:
Rate Limits for each API (Per Minute)
- getOrderDetailsAPI: 200 requests
- getVouchersAPI: 50 requests
- getBalanceAPI: 10 requests
- placeOrderAPI: 20 requests
- getOrderHistoryAPI: 200 requests
- getFiltersAPI: 50 requests
When the limit for any API is crossed, the system returns the following response:
{
"errors": [
{
"message": "auth.request_limit_exceeded",
"penaltySeconds": 60
}
]
}
Recommendations
- Spread out API calls to avoid hitting the per-minute threshold.
- Cache responses for static or slow-changing data such as vouchers and filters.
- Use retries with exponential backoff, respecting the penaltySeconds value before retrying.
Updated about 1 month ago
