Core concepts
Rate limits and amounts
Limits protect your clients, your money and the service. All of them answer with a clear error, never with silence.
Request rate
Requests are counted per network address, over one minute. Going over answers 429 with the code TOO_MANY_REQUESTS. Wait, then try again with growing pauses.
| What | Limit |
|---|---|
| Any request | About 120 a minute |
POST /payment-links | 20 a minute |
POST /payment-links/{id}/send | 10 a minute |
POST /receivables/invoices/{id}/send | 30 a minute |
POST /shop/items/{id}/codes | 10 a minute |
GET /wallet/statement/document | 10 a minute |
GET /wallet/entries/{id}/document | 30 a minute |
Use webhooks instead of asking repeatedly
Amounts
| What | Smallest | Largest |
|---|---|---|
| A payment link, or a shop price | KES 10.00 | KES 50,000.00 until RadiPay has verified your business, then KES 500,000.00 |
| One shop order | KES 10.00 | The same as the largest payment link |
| Payment links created in 24 hours | 10 until verified, then 100 | |
| Units in one shop order | 1 | 20 |
| Items on a price list | 100 | |
| Voucher codes loaded in one request | 5,000 | |
| Lines on an invoice | 1 | 100 |
| Movements in one statement file | 2,000 |
Your own figures for payment links are always available from GET /payment-links/limits.
M-Pesa prompts
So that nobody can use RadiPay to pester a phone, one phone number can be sent at most 3 prompts in ten minutes from payment links, and 3 from shops, counted across every business. One payment link can start at most 20 payments in ten minutes. A buyer who goes over is asked to wait ten minutes.
Pay pages are for people
The pages your clients pay on (/p/…, /i/…, /s/…) may ask the visitor to pass a human check before a payment starts. They are meant to be opened in a browser by a person. Do not drive them from a script: create the link, invoice or item with the API and send your client the address.