- [POST] /activate
{
"account_number": "10112",
"cashier_code": "001",
"device_uid": "0001e103e112"
}
{
statusCode: 1001,
back_office_url: "",
pin: "01234"
}
pin - pin for the cashier code entered in previous step, entered by the admin (ID of an employee). we will send account_number and this pin in header for sub sequent apis
- [POST] /open-register
{
"device_time": "datetime-with-timezone",
"starting_amount: "176"
}
{
statusCode: 1002,
message: "register-opened"
}
- [GET] /items
{
items: [{}, {}, {}]
}