Skip to main content
Pasteaza applies rate limits to protect the API and keep performance stable for all merchants.
Standard merchants can make up to 100 requests per minute.

What happens when you exceed the limit

If you exceed your request limit, Pasteaza returns a 429 Too Many Requests response. The response may include a Retry-After header that tells you when to try again.
1

Read the status code

Check for 429 Too Many Requests before retrying the request.
2

Read the Retry-After header

Wait for the time indicated in the Retry-After header when it is present.
3

Retry with backoff

Use exponential backoff for repeated retries instead of sending requests in a tight loop.
4

Reduce request volume

Cache repeated lookups and avoid polling when webhooks can deliver updates.

Example response

{
  "status": false,
  "message": "Too many requests. Please retry later.",
  "code": "rate_limit_exceeded"
}

Best practices

  • Cache responses that do not change often.
  • Use webhooks instead of polling where possible.
  • Back off progressively after each retry.
  • Log rate-limit errors so you can monitor traffic patterns.
  • Handle Retry-After headers in your HTTP client.

Why this matters

Rate limits help protect your integration from abuse and keep your API usage predictable. They also reduce accidental overload if your application retries too aggressively.