Conventions and limits
Conventions
Section titled “Conventions”- JSON over HTTPS. Send
Content-Type: application/jsonwith a JSON object on POST and PATCH. - Ids are strings. Bookings and invoices use their public ids, such as
BK-000123. - Unknown parameters are refused. A query parameter the endpoint doesn’t list answers
400 unknown_parameter, so a misspelt filter never returns everything. - Times are ISO 8601 in Riyadh time (+03:00). Clock times are
HH:MM. - Amounts are strings in SAR with two decimals, such as
"120.00". Withoutview_pricesthey arenull. - Lists come in pages of 50 (up to 100 with
limit). Passnext_cursorback ascursoruntil it isnull. - Syncing. Every list takes
updated_since, so an app can fetch only what changed since its last sync. - Within v1 razza only adds fields, endpoints and events. Ignore fields you don’t know. A breaking change becomes v2, announced six months ahead.
Limits
Section titled “Limits”| Limit | Value |
|---|---|
| Requests a minute per app | 120 |
| Requests a day per app (Riyadh day) | 50000 |
| Apps per business | 5 |
| Webhook endpoints per app | 3 |
| Token requests an hour from one address | 120 |
Over a limit, the API answers 429 with a Retry-After header in seconds. A Qimma contract can raise an app’s limits.