Cloud Terminal API

Viva's EFT POS solution allows for REST API connections between EFT POS (card terminal) devices and ECR systems, even across different networks and locations.

Overview

Our EFT POS (Electronic Funds Transfer - Point of Sale) solution utilises REST APIs to allow EFT POS devices and ECR systems to initiate transactions and exchange data. Compared to a traditional TCP/IP-based setup, EFT POS has the benefit of devices not needing to be in the same physical location or on the same local network. All requests and responses from the ECR to EFT POS and vice versa are handled by the REST API service.

Supported Devices

Viva’s REST API (EFT POS) functionality is supported by:

REST API functionality is not currently supported for Paydroid (PAX) devices

This integration supports ISV scheme.

Process Flow

The below diagram outlines the relationship and process flow between the systems involved in an EFT POS communication:

EFT POS Flow

The steps of the above process flow are explained below:

  1. For WAN connections to the REST API, where an ECR needs to discover which EFT POS devices are available before starting an operation, a service endpoint is provided to query and retrieve a list of EFT POS devices that belong to a merchant (optionally filtered).
  2. The ECR sends a Sales Request to the EFT POS, via the REST API service, using either the merchant endpoint Sales Request or the ISV endpoint Sales Request (ISV) .
  3. The REST API service forwards the ECR request to the EFT POS device using a message delivery mechanism.
  4. The EFT POS receives the relayed instruction from the REST API service and carries out the requested operation.
  5. Once the EFT POS operation is completed, the EFT POS relays the response data back to the REST API service, which makes it available for the ECR to retrieve.
  6. During the above process, the ECR enters a polling state, where regular polling requests are made to the REST API service to enquire about the outcome of the original request. Each original request is identified by an ECR-generated sessionId. The ECR retrieves the session result using either the session retrieval endpoint for [merchants](/apis-for-point-of-sale/card-terminals-devices/rest-api/eft-pos-api-documentation/#tag/Sessions/paths/~1ecr~1v1~1sessions~1{sessionId}/get) or ISV partners. Once the EFT POS response is relayed back to the REST API service, the next poll returns the full response.
  7. As an alternative to polling, a webhook mechanism can be set up whereby, once the EFT POS response data is relayed back to the REST API service, the REST API service can push the response to a pre-configured ECR endpoint without the ECR remaining in a polling state. To listen to a successful response, configure the Transaction POS ECR Session Created webhook; to listen to a failure result, configure the Transaction POS ECR Session Failed.

API Documentation

Please see our Cloud Terminal API Documentation, which covers the following API calls:

Get Support

If you would like to integrate with Viva, or if you have any queries about our products and solutions, please see our Contact & Support page to see how we can help!