Documentation/Guides/
Rate limits and back-pressure
Two mechanisms protect the service and every institution on it. Both answer at once, before anything is stored, and both tell you when to come back in Retry-After (seconds).
Rate limits (429)
| Limit | When it applies | Answer |
|---|---|---|
| Failed authentications | 20 failed authentications from one address within 10 minutes. The address is refused for 10 minutes on every client endpoint, a right key included. | 429 Too many failed authentication attempts from this address; retry after the number of seconds in Retry-After |
| Per API key | More than 3 000 requests a minute on one key, with bursts of 1 000, per server instance. | 429 Too many requests for this API key; retry after the number of seconds in Retry-After |
| Per address, unknown key | More than 120 requests a minute from one address with a key the server instance has not yet seen authenticate. | 429 Too many requests from this address; retry after the number of seconds in Retry-After |
The client address is the one our hosting provider saw. An IPv6 client is counted by its /64 network. Each server instance keeps its own counters: plan your traffic within the limits above, never above them.
Back-pressure (503 Service busy)
Each server instance decides a fixed number of payments and card events at once, and one institution at most its share of them. Over that, the next request answers at once:
HTTP/1.1 503 Service Unavailable
Retry-After: 1
Content-Type: application/json
{"error":"Service busy","error_code":"SERVICE_BUSY"}
Nothing was stored. A repeat (the same key and Idempotency-Key) of a request still being decided answers the same. Retry the same request after Retry-After, with back-off: the payment's own reference and the Idempotency-Key make the retry safe (Idempotency and retries).
Customer events (Customer events) have a pool of their own (one institution at most its share of it), so a burst of sign-ins never takes the payments' decisions; over it they answer the same 503 Service busy, and their source_system + external_event_id make the retry safe.
When the API key itself cannot be checked the answer is 503 {"error":"Service unavailable","error_code":"SERVICE_UNAVAILABLE"} with Retry-After: 5; it is not a key error and does not count as a failed authentication.
Body size (413)
A body larger than 64 000 bytes (payments, card events, customer events) or 2 000 000 bytes (CDD) is refused with 413 before it is read and before the key is checked. Split a large CDD file into several requests.
© 2026 Underlayer, Lithuania. info@underlayer.eu System status Privacy notice