When you get the RATE_LIMIT_ERROR
how many queries per second is your application calling Square?
As for rate limits you are correct, Square does have rate limits but we don’t document the limits. We encourage you to handle the limit gracefully by building a retry mechanism. This mechanism should have an exponential backoff schedule to reduce requests when volume is necessary. Also some randomness wouldn’t hurt to avoid a thundering herd effect.