Skip to content

Search API reference

Find an endpoint or a guide of the Sovgate API reference and jump straight to it.

Rate limits

What happens when you send too many requests, and how to back off.

The API limits how fast each key and each business can send requests, so one busy integration can't slow down everyone else.

  • Payments have their own budget. Reads and other calls can't use up what you need to take payments.
  • Live and test mode are counted apart. Load-testing in test mode never slows your live payments.
  • A refusal does nothing. A request refused for its rate does no work, so nothing is left half done.

When you're limited

The API answers 429 with the code rate_limit and a Retry-After header: the number of seconds to wait.

A rate-limited answer
json
{  "error": {    "type": "invalid_request_error",    "code": "rate_limit",    "message": "Too many requests like this one: try again later."  }}

Wait for Retry-After, then send the request again with the same idempotency key. If you're limited often, spread your requests out, cache what you read often, and use webhooks instead of polling.

Failed attempts to authenticate are slowed down by address. If your business needs a higher limit, contact support.