Ir para o conteúdo

Apks PayStore

Below, we have an overview showing the main types of applications participating in the platform as well as how they interact with each other. In specific diagrams of each application, it can be seen what exactly each application provides is responsible for doing.

assets/images/Arquitetura

Payments App (Payments.apk)


This application runs as a service on Android and is responsible for carrying out all operations related to payments (TEF), whether the payment itself, chargebacks (cancellations) or even queries of payments already made for, for example, the generation of reports.

Below is a list of the main features of the application:

  • Provide an interface (API) for other applications to execute payment operations via IPC, Intent and ContentProvider;
  • Provide graphical user interface to perform operations;
  • Provide access to the "calculator" for making payments;
  • Availability of reports;
  • Interface for payment selection to carry out a reversal;
  • Viewing pending transactions with the possibility of manual resolution (confirmation or undoing);
  • Redisplay of receipts of the last payment or of a selected payment;
  • Pinpad information view;
  • Viewing available flags for payment;
  • Accreditation process, when the application is installed for the first time;
  • Access PayStore Server to get terminal settings;
  • Send information regarding payments made to PayStore Server;
  • Send information regarding pending payments to PayStore Server;
  • Control appointments for:
  • Sending payment information to the PayStore Server;
  • Execution of pending resolution process;
  • Execution of data purge process.

Payment Modules


The payments-app module is responsible for generating the Payments APP application, referencing dependencies and assembling the components. The others are libs used by the application or modules that group functionalities that can be used in other applications.

assets/images/paymentsApk

payments-api: Lib made available for third parties to integrate with the platform to carry out operations, such as payment (debit/credit/voucher), reversal, undoing, search for information on payments made, etc.

Acquirer Specific App (.apk)


This application runs as a service on Android and is responsible for performing integrations with a specific acquirer. Thus, for each acquirer enabled for a terminal, there must be an application of this type running.

Below is a list of the main features of the application:

  • Provide an interface via IPC for payment application (Payments App) for transactions with the acquirer;
  • Store information regarding payments;
  • Provide interface via ContentProvider to access payment information.

Acquirer Modules


assets/images/adquirenteApk

Platform App (platform.apk)


This is the main application of the platform, since it is responsible for managing the device (phone) and displaying the main interaction screens with the user (operator).

This application will only be present on terminals that are owned by the capture network, that is, terminals used exclusively to be means of payment.

Below is a list of the main features of the application:

  • Be device launcher, displaying screen with installed applications;
  • Terminal power saving management, enabling and disabling devices such as WiFi and bluetooth when the terminal is in idle mode;
  • Implementation of own taskbar;
  • Screen for viewing terminal notifications;
  • Management of means of communication (automatic or manual), activating/deactivating WiFi and communication by operator (GPRS, 3G, 4G, etc.);
  • Maintenance of terminal operators;
  • Interface for viewing general information of the terminal;

Plataform Modules


assets/images/plataformaApk

Paystore Client App (paystore-client.apk)


This is the application responsible for managing the installations and updates of all platform and third-party applications.

This application will only be present on terminals that are owned by the capture network, that is, terminals used exclusively to be means of payment.

Below is a list of the main features of the application:

  • List apps available on PayStore for installation;
  • List applications installed on the terminal;
  • Manage application updates, according to information from PayStore.

PayStore Client Modules


assets/images/paystoreClientApk

This application has a single module, namely the paystore-client-app which contains all the code for this application.