This is a sample application that shows how to use YAXI's routex services:
- CollectPayment: transfer money from any account to a pre-defined account
- Transactions: retrieve account information (i.e. transactional data) for bank accounts. The app asks for a bank and credentials and then retrieves account information for all accounts accessible for the given credentials and optionally sends it to a pre-configured webhook.
The app consists of two separate projects:
- a backend in Spring Boot which issues tickets (it's how routex's authentication is called) for the frontend and a webhook that receives the data. The webhook also validates that the data originated from routex.
- a React frontend for user interaction
- First, create a YAXI account if not done already
- Create a new API key for the integration environment
- Edit
backend/src/main/resources/application.yamland fill in the API key you created - Change to the
backenddirectory and run./mvnw spring-boot:run(requires a Java Development Kit) - (In another terminal) Change to the
routex-react-demodirectory and runnpm installfollowed bynpm run dev(requires NodeJS and npm) - Visit http://localhost:5173
The frontend doesn't check for expired tickets. If you use the app for longer than 10 minutes after the first load, you will get error responses and need to reload.
The general routex documentation can be found here.
The code in this repository is licensed under the Unlicense. For licensing information on any of the project's dependencies, please refer to their documentation and licenses.