Skip to main content
A session groups the vouchers sold by one terminal over a period (for example one shift or one day). A terminal always has one open session: the first one is created when the terminal is registered. This call closes the current session, returns its summary, and opens a new one. Use it for the end-of-shift report.
No body. Mind the trailing slash in the path: /session/.

Headers

string
required

Response

201: summary of the session that was just closed (empty array [] if there was none).
integer
Session id.
string
Session start.
string
Session end.
string
Terminal id and name.
object
Sales amount in TND per operator, at the shop’s selling prices, and total.
object
Number of vouchers sold per value (1dt, 5dt) and total.
object[]
Number of vouchers per operator and value.
Shop logo to print on the report.

Errors