Developers / Docs / Idempotency & rate limits
Idempotency & rate limits
Make retries safe and stay within limits.
Illustrative. The Partner API is a proposal. Names, fields and numbers on this page show the intended shape; the final contract will be published as an OpenAPI file with the sandbox.
Idempotency
Every write carries an Idempotency-Key. If a call times out, send it again with the same key and you get the first answer back. Nothing is applied twice. A good key is built from your own bill number, for example bill-2041-r1.
- Keys are remembered for at least 24 hours.
- Same key with different data returns 409.
Rate limits
Limits apply per key and per scope. Exact numbers depend on your plan and are still to be set. Every answer carries headers so you can pace yourself:
| Header | Meaning |
|---|---|
| X-RateLimit-Limit | Calls allowed in the window |
| X-RateLimit-Remaining | Calls left |
| Retry-After | Seconds to wait after a 429 |
The sandbox is generous and free, so test your retry logic there.
