Overview
Rate limits protect API reliability across merchant, commerce, and public surfaces. When you hit a limit, the API responds with429.
Rate limits may vary by endpoint and auth mode. Design your integration so bursty retries don’t turn into a thundering herd.
Authentication
Rate limits apply regardless of auth mode:- Merchant:
x-api-key - Commerce:
x-commerce-api-key - Payor/session:
x-session-token+x-signature
Request
Example request (any endpoint):Response
Representative429 response body:
Errors
429rate limit exceeded (respectRetry-Afterheader when present; useretry_afteras a hint)5xxtransient upstream errors (retry with backoff where safe)
Examples
Best practices:- Respect
Retry-Afterwhen present. - Use exponential backoff with jitter for retries.
- Ensure writes are idempotent (use
Idempotency-Key).
pepayincludes safe retry behavior and idempotency key support by default.

