Skip to content
العربية

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

NameInTypeDescription
booking_idrequiredpathstringThe booking's public id.
limitqueryintegerPage size, 50 by default.
cursorquerystringnext_cursor from the page before.
updated_sincequerydate-timeOnly rows changed at or after this moment. A time without an offset is read as Riyadh time.

Responses

  • 200OKdataarray 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

NameInTypeDescription
limitqueryintegerPage size, 50 by default.
cursorquerystringnext_cursor from the page before.
updated_sincequerydate-timeOnly rows changed at or after this moment. A time without an offset is read as Riyadh time.

Responses

  • 200OKdataarray 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

NameInTypeDescription
limitqueryintegerPage size, 50 by default.
cursorquerystringnext_cursor from the page before.
updated_sincequerydate-timeOnly rows changed at or after this moment. A time without an offset is read as Riyadh time.

Responses

  • 200OKdataarray 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

NameInTypeDescription
invoice_idrequiredpathstringThe invoice's public id.

Responses

  • 200OKdataInvoice
  • 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