Money
A booking's payments
GEThttps://api.razza.sa/v1/bookings/{booking_id}/payments
Money in and out for one booking.
Needs view_reconciliation
Parameters
| Name | In | Type | Description |
|---|---|---|---|
booking_idrequired | path | string | The booking's public id. |
limit | query | integer | Page size, 50 by default. |
cursor | query | string | next_cursor from the page before. |
updated_since | query | date-time | Only rows changed at or after this moment. A time without an offset is read as Riyadh time. |
Responses
- 200OK
dataarray ofPaymentnext_cursorstringor null - 400A parameter or the body is not valid.
Error - 401No access token, or it is not valid.
Error - 403The business is inactive, not on Qimma, paused for an unpaid razza invoice, or the app lacks the permission or has a restriction that stops it.
Error - 404Not found in this business.
Error - 429Over the app's rate limit. Wait Retry-After seconds.
Error
Payments
GEThttps://api.razza.sa/v1/payments
Every payment, deposit and refund.
Needs view_reconciliation
Parameters
| Name | In | Type | Description |
|---|---|---|---|
limit | query | integer | Page size, 50 by default. |
cursor | query | string | next_cursor from the page before. |
updated_since | query | date-time | Only rows changed at or after this moment. A time without an offset is read as Riyadh time. |
Responses
- 200OK
dataarray ofPaymentnext_cursorstringor null - 400A parameter or the body is not valid.
Error - 401No access token, or it is not valid.
Error - 403The business is inactive, not on Qimma, paused for an unpaid razza invoice, or the app lacks the permission or has a restriction that stops it.
Error - 429Over the app's rate limit. Wait Retry-After seconds.
Error
Invoices
GEThttps://api.razza.sa/v1/invoices
Invoices and credit notes.
Needs view_reconciliation
Parameters
| Name | In | Type | Description |
|---|---|---|---|
limit | query | integer | Page size, 50 by default. |
cursor | query | string | next_cursor from the page before. |
updated_since | query | date-time | Only rows changed at or after this moment. A time without an offset is read as Riyadh time. |
Responses
- 200OK
dataarray ofInvoicenext_cursorstringor null - 400A parameter or the body is not valid.
Error - 401No access token, or it is not valid.
Error - 403The business is inactive, not on Qimma, paused for an unpaid razza invoice, or the app lacks the permission or has a restriction that stops it.
Error - 429Over the app's rate limit. Wait Retry-After seconds.
Error
An invoice
GEThttps://api.razza.sa/v1/invoices/{invoice_id}
One invoice or credit note.
Needs view_reconciliation
Parameters
| Name | In | Type | Description |
|---|---|---|---|
invoice_idrequired | path | string | The invoice's public id. |
Responses
- 200OK
dataInvoice - 400A parameter or the body is not valid.
Error - 401No access token, or it is not valid.
Error - 403The business is inactive, not on Qimma, paused for an unpaid razza invoice, or the app lacks the permission or has a restriction that stops it.
Error - 404Not found in this business.
Error - 429Over the app's rate limit. Wait Retry-After seconds.
Error