Creating & Sending Request

Crafting request, powering transactions.

Creating & Sending Request

Crafting request, powering transactions.

To initiate a transaction, the POS application communicates with the Smart Terminal via the Smart Terminal SDK. This process includes constructing the transaction request, encoding it into a format compatible with the terminal, and transmitting it for processing. The SDK offers dedicated APIs to streamline this communication, handling request encoding, transmission, and response handling in a reliable and structured manner.

Sequence Flow

Process Flow

  1. POS creates a request object.
  2. The POS application calls encodeRequest() from the ICodecManager to convert the request object into a byte format, ensuring it can be properly interpreted and processed by the Terminal.
  3. The SDK encodes the request.
  4. POS calls sendRequest() from the IReader to send the encoded request.
  5. The SDK sends the encoded request to the Smart Terminal.
  6. The Smart Terminal processes the incoming request and responds to the SDK with a result indicating whether it was successfully received.
    SuccessfulThe SDK returns a success response to the POS.
    FailsThe SDK returns an error response to the POS.