Payment ECR
Overview
Wonder Terminal API allows you to integrate the payment terminal devices provided by Wonder with your application, enabling payment, refunds, and other operations that interact with the terminal device.
Before proceeding with the actual integration work, it is important to understand the working principles and processes of Terminal API.
- Enable Terminal API. You need to log in to the merchant backend or contact a salesperson to enable Terminal API.
- Set Shared Key. To protect communication security, whether it is local communication or cloud communication, message encryption needs to be enabled for information exchange. Therefore, it is necessary to set a password that meets the specifications for encryption and decryption through the merchant backend.
- Use The Correct Endpoint. Terminal API provides two different communication methods for integration in different scenarios.
- Local Communication. The feature of local communication is that it integrates with your application through the local area network, avoiding the impact of network quality caused by the Internet.
- Cloud Communication. If your application cannot be deployed locally, consider using cloud communication to interact.
- Serial port (RS232). If your application cannot be deployed locally, and you cannot use cloud communication, you can consider using serial port communication (RS232) to interact with the terminal device.
ECR Connect
Guide on how to connect Business and ECR terminal device >
ECR Interface Protocol
The ECR communication interface protocol and communication encryption methods >
ECR via RS232 (Retail)
The communication connection protocol and data format of ECR RS232, and provide the generation of serial port data instances >
ECR via RS232 (Transit)
The communication connection protocol and data format of ECR RS232, and provide the generation of serial port data instances >