Skip to content

Instantly share code, notes, and snippets.

@aneeskodappana
Created October 18, 2022 05:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aneeskodappana/baaae05248e0fd4848d331b47fb349b3 to your computer and use it in GitHub Desktop.
Save aneeskodappana/baaae05248e0fd4848d331b47fb349b3 to your computer and use it in GitHub Desktop.
Mondo API Doc

Api Docs

  • [POST] /activate

Payload

{
	"account_number": "10112",
	"cashier_code": "001",
	"device_uid": "0001e103e112"
}

Response

{
	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

Payload

{
	"device_time": "datetime-with-timezone",
	"starting_amount: "176"
}

Response

{
	statusCode: 1002,
	message: "register-opened"
}
  • [GET] /items

Response

{
	items: [{}, {}, {}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment