Skip to main content

Message Structure

Request and response message are both use following structure

No.ParameterFormatReferenceDescriptionMemo
1actionStringinquiryTransaction TypeThe specific interfaces with detail description
2deviceNoStringPOS01Cashier Terminal No.To identify the Cashier Terminal used in this transaction
3shopNoStringCN123456Shop No.To identify the merchant / shop in this transaction
4brandString663Brand No.To identify the Brand used in this transaction, allocated by e-Buy
5bodyStringBASE64Message DetailThe specific interfaces with detail description

example

0x00 0xE7{"action":"inquiry","deviceNo":"POS01","shopNo":"CN123456","brand":"663","body":"ewogICAgICAgICAidHJhY2VObyI6ICI5OTAwMDAwOTEwMDAxMDEwMTczMjEyMyIsCiAgICAgICAgICJvcmlnaW5hbFRyYWNlTm8iOiAiOTkwMDAwMDkxMDAwMTAxMDE3MzIxMjQiCiAgICAgfQ=="}
  • 00E7:The length of the message is 231 bytes