PagSeguro adapts structure to receive 'open banking' with support from Compass UOL and AWS technologies

Icon of a cart involved in a technology network illustrative.

PagSeguro is a Brazilian banking institution operating since 2006. It leads Brazilian online payments market, offering payment solutions for physical stores and e-commerce. In 2019, it created PagBank, a digital bank that currently has more than 9 million customers and 1.4 million active users.

As a financial institution, PagSeguro needed to adjust its systems to the Brazilian Central Bank’s Open Banking project, which would require a series of modifications and integrations in its software ecosystems. With the consultancy of Compass UOL and employing AWS’ technologies and know-how, the institution adapted its software architecture to receive the open banking system, according to the established requirements and standards.

Our challenges

PagSeguro needed to modify its software structure in order to meet the mandatory technical requirements of the phase 3 of Bacen's Open Banking project. For that, it had the challenge of integrating the open banking solution with PagSeguro's ecosystem and implementing all the regulatory requirements.
The structure should be set to accommodate new inter-institutional operations, such as the exchange of registration data, and other information on transactions carried out and customer preferences, with the goal of enabling financial transactions by companies or payment initiating institutions (Payment Initiated Service Provider – PISP). In addition to PIX (instant money exchange), phase 3 includes TED, TEF, bank slips and debited payments.
Compass UOL's software development squad created APIs for system integration between the financial agents participating in the Open Banking project, together with PagSeguro professionals. AWS, in addition to system hosting technologies, brought its expertise on standards, security policies and APIs authentication required by the banking system, based on open banking projects developed in other countries.

Our solutions

    1.

  1. We held technical and business meetings with AWS open banking architects to help PagSeguro architects build security and authentication policies for the new system's APIs.
  2. 2.

  3. We developed the solution architecture based on microservices, applying CleanArch concepts, integration and unit tests to secure coverage; documentation and test guidance were carried out to base the consent functionalities; dependencies management was done using Maven and Gradle technologies, in addition to the execution of launching and development pipelines, using Jenkins automation technology.
  4. 3.

  5. We used AWS' Amazon API Gateway to connect multiple API endpoints, in addition to using the Amazon Elastic Container Service to allow applications to run in the same environment, without reprogramming.
  6. 4.

  7. We hosted the environments on AWS, also responsible for the dashboards for which settings such as secrets and scaling were made.
  8. 5.

  9. We document the APIs development processes, according to experience standards for the developers involved in the project.

Main results

illustrative icon.

Full compliance to phases 2 and 3 to Brazilian Central Bank's Open Banking project.

illustrative icon.

Availability of APIs and User Interfaces that enable payments via PIX, with integrated Open Banking benefits.

illustrative icon.

Improved developer experience.

illustrative icon.

Fluid experience for the user when making payments, with interoperability through security APIs.

illustrative icon.

Initiation of payments via PIX on the PagSeguro system without friction.

illustrative icon.

Items developed already approved by OpenIdFoundation.

Our differentials

  • Partnership with AWS, which guarantees an adherent and innovative solution.
  • Agile development.
  • Knowledge of PagSeguro's business.
  • Team of specialized and certified professionals in the main AWS cloud technologies.
  • Constant exchange of knowledge and availability of the technical team, providing advice on good data engineering practices.