Cloud Printer Product R&D Instruction

Please notice:

For better protection of partners’ data privacy, also SUNMI cloud printer can realize the complete order printing functions. The following specifications are hereby established, which need the joint efforts of SUNMI and partners to realize the printing channel business.

1.Steps

1.1 Method 1: Device to Cloud

流程图1
  • ① Register a partner account at https://partner.sunmi.com/ . Subscribe for SUNMI cloud printer channel service and get the service APP_ID and APP_KEY, which will be used later in API calling. A partner cloud URL also needs to be provided to SUNMI cloud service after the partner interface is developed and released, which will be used by the printer to call the partner’s API back to complete printing.
  • ②We provide a network configuration SDK for printer link WiFi. Partner can integrate this SDK into their own apps.
  • ③The printer SN, which is an unique identifier of the printer, will be automatically obtained when you configure network with SDK. You can use it to bind the device to the corresponding merchant account and complete business communication.
  • ④Partners can use printer SN in their own apps to bind SUNMI printer with their shops.
  • ⑤SUNMI provide cloud API for establishing the relationship between printer SN & partner ID & shop ID. The cloud API will be requested by partner APP.
  • ⑥SUNMI provide cloud API for pushing order & voice. The cloud API will be requested by partner cloud.
  • ⑦SUNMI cloud will automatically push a business message to the printer after receiving the message from partner cloud.
  • ⑧The printer will get and print order data through requesting partner cloud API after receiving message from SUNMI cloud. Partner cloud address will use the URL that partner has registered in SUNMI partner platform.
  • ⑨SUNMI provide a device management service. Partner can directly call SUNMI “Device Management Interface” in their Business APP if partner need to manage their device. More features will be developed to provide merchants with better use experience.

1.2 Method 2: Cloud to Cloud

流程图2
  • ①Register a partner account at https://partner.sunmi.com/ ; subscribe for SUNMI cloud printer service and get the service APP_ID and APP_KEY, which will be used later in API calling; a cloud URL of a partner also needs to be provided to SUNMI cloud service after the partner interface is released, which will be used by the printer to call the partner’s API back to complete printing.
  • ②We provide a network configuration SDK for printer link WiFi. Partner can integrate this SDK into their own apps.
  • ③The printer SN, which is an unique identifier of the printer, will be automatically obtained during the SDK network configuration. You can use it to bind to the corresponding merchant account and complete business communication;
  • ④Partners can use printer SN in their own apps to bind SUNMI printer with their shops.
  • ⑤SUNMI provide cloud API for establishing the relationship between printer SN & partner ID & shop ID. The cloud API will be requested by partner APP.
  • ⑥SUNMI provide cloud API for pushing order & voice. The cloud API will be requested by partner cloud for pushing printing and voice data.
  • ⑦SUNMI cloud will automatically push a business message to the printer after receiving the message from partner cloud.
  • ⑧SUNMI provide a device management service. Partner can directly call SUNMI “Device Management Interface” in their Business APP if partner need to manage their device. More features will be developed to provide merchants with better use experience.