Rate limits
What happens when you send too fast, and the money limits on every business and key.
Requests
Send requests faster than your key allows and you get 429 with
rate_limited and a Retry-After header in seconds. Wait that long, then
retry with the same Idempotency-Key: no money moves twice (Idempotency).
Don't poll for status in a loop: add a webhook and Swichi tells your server when a payment succeeds or fails.
Money
Swichi also limits how much money moves, per business and, if you like, per key:
- Your business has limits per payment, per day and per month. Going over is refused with
limit_exceeded. The limits grow as Swichi gets to know your business: see Go live. - A key can carry tighter limits of its own, set when you make it. Going over is refused with
key_limit_exceeded. See API keys.