# Limits (/fr/docs/limits)

Unless a row says otherwise, these limits are the same in sandbox and live, so what works in your tests works in production.

## Request rate [#request-rate]

|                    |                                                                                             |
| ------------------ | ------------------------------------------------------------------------------------------- |
| **Per credential** | 25 requests per second sustained, with bursts of up to 50. Each API key has its own budget. |
| **Over the limit** | `429 rate_limited` with a `Retry-After` header: the seconds to wait before trying again.    |

```json title="429 — too many requests"
{
  "error": {
    "type": "rate_limited",
    "code": "rate_limited",
    "message": "Too many requests.",
    "request_id": "req_6d665507f62a5773882fc053"
  }
}
```

**How to stay under it:** listen to [webhooks](/docs/webhooks) instead of polling, walk lists with `limit=100`, and on a `429` wait `Retry-After` and resend **the same request with the same `Idempotency-Key`**: it never moves money twice.

## Resources [#resources]

| What                           | Limit                              | When you pass it           |
| ------------------------------ | ---------------------------------- | -------------------------- |
| Items per list page            | `limit` from 1 to 100              | `400 invalid_parameter`    |
| Payouts per batch              | 1,000                              | `400 invalid_parameter`    |
| Active API keys                | 20 per account                     | `409 too_many_api_keys`    |
| Allowed IP addresses           | 3 per account                      | `409 too_many_allowed_ips` |
| Allowed IP range               | up to `/24` (IPv4) or `/48` (IPv6) | `400 invalid_parameter`    |
| Webhook endpoints              | 10 per account                     | `422 too_many_endpoints`   |
| Test events (`ping`)           | 5 per endpoint per minute          | `429 rate_limited`         |
| Deliveries listed per endpoint | the latest 100                     | —                          |

## Webhooks [#webhooks]

|                     |                                                                                             |
| ------------------- | ------------------------------------------------------------------------------------------- |
| Time to answer      | 10 seconds. Anything but a `2xx` in time is a failure, including a redirect.                |
| Attempts            | 10, over about a day: 30 s, 2 min, 10 min, 30 min, 1 h, 2 h, 4 h, 8 h and 8 h apart (±20%). |
| Signature tolerance | Reject a `t` more than 5 minutes from your clock.                                           |
| Secret rotation     | Both secrets sign for 24 hours.                                                             |
| Endpoint URL        | `https`, public, port 443.                                                                  |

## Idempotency keys [#idempotency-keys]

A key stays bound to its first request **forever**: there is no expiry window to plan around. Derive it from your own id (`payout-order-5531`) so a retry after a crash reuses it. See [Idempotency](/docs/idempotency).

## Money [#money]

|                            |                                                                                                                                                                                              |
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Amounts                    | Decimal strings with exactly the precision of their currency (`"100.00"` for USD). More decimals is `400 invalid_parameter`.                                                                 |
| Pay-in minimum and maximum | Per method and currency, in `min_amount` and `max_amount` of `GET /v1/capabilities` (`amount_below_minimum`, `amount_above_maximum` otherwise). Read them there instead of hard-coding them. |

See [Amounts and currencies](/docs/money) and [What you can do](/docs/capabilities).

<Callout title="Need more?">
  If your volume needs a higher request rate, ask the Caibo team.
</Callout>
