Rate limits
How many requests your account can send, the headers that tell you where you stand, and how to retry a 429 safely.
How limits work
- Limits apply per account, across all its API keys. Live and test are separate accounts, so test traffic never uses your live limits.
- Each request uses a tier: read for
GET, write for every other method. Requests that move money (payments, payouts, conversions, USDT and COP payouts, refunds, reversals, bank verifications) are expensive: they count as a write and as an expensive request. - Each tier is a bucket: it allows a short burst, then refills at a steady rate per second. You can send the burst at once after a quiet moment.
- There is also a cap on requests in flight at the same time: 20 live, 10 test.
- Some routes have their own, lower limits, listed on their pages (for example VPOS card charges, test notifications and C2P reversals). The lowest limit that applies wins.
Default limits
| Tier | Live: per second | Live: burst | Test: per second | Test: burst |
|---|---|---|---|---|
| Read (GET) | 50 | 100 | 20 | 40 |
| Write | 25 | 50 | 10 | 20 |
| Expensive (money movements) | 5 | 10 | 2 | 5 |
Know where you stand
Every API-key response carries two headers (IETF RateLimit draft). RateLimit-Policy names the bucket closest to its limit: q is the burst and w the seconds it takes to refill from empty. RateLimit says what is left: r requests now and t seconds until the bucket is full.
HTTP/1.1 200 OK
RateLimit-Policy: "write";q=50;w=2
RateLimit: "write";r=49;t=1When you hit a limit
The API answers 429 with error: "rate_limited", a Retry-After header and retryAfterSeconds in the body. The request did nothing: no payment, payout or idempotency record was created. Wait at least Retry-After seconds, then send it again. On a POST, reuse the same Idempotency-Key.
HTTP/1.1 429 Too Many Requests
Retry-After: 2
RateLimit-Policy: "expensive";q=10;w=2
RateLimit: "expensive";r=0;t=2
{
"error": "rate_limited",
"message": "Too many requests. Retry after 2 seconds.",
"retryAfterSeconds": 2
}- Check it is a rate limit
errorisrate_limited, or the response has aRateLimitheader. - Wait
Sleep
Retry-Afterseconds plus a little random jitter, so your servers do not all retry at the same moment. - Back off
If it happens again, double the wait each time and stop after a few attempts.
async function callWithRetry(send, maxAttempts = 5) {
for (let attempt = 1; ; attempt++) {
const res = await send();
if (res.status !== 429) return res;
const body = await res.clone().json().catch(() => ({}));
// Only a rate limit is retried. Risk declines (CARD_VELOCITY_BLOCKED, PAYER_BLOCKED) are final.
const rateLimited = body.error === 'rate_limited' || res.headers.has('RateLimit');
if (!rateLimited || attempt >= maxAttempts) return res;
const waitS = Number(res.headers.get('Retry-After')) || 2 ** attempt;
await new Promise((r) => setTimeout(r, waitS * 1000 + Math.random() * 500)); // jitter
}
}Send fewer requests
- Cache lists that rarely change. The API says how long:
GET /v1/banks5 minutes,GET /v1/crypto/networksandGET /v1/payment-methods60 seconds (Cache-Control: private, max-age=…). - Use webhooks instead of polling a payment or payout until it changes. Poll only as a fallback, every few seconds at most, and stop when the status is final.
- Spread batch jobs over time instead of sending them all at once, and keep the number of parallel requests below the in-flight cap.