This repository contains reference implementations for integrating BANKSapi's WEB/Connect banking widgets into your applications. WEB/Connect is a suite of web components that enables you to seamlessly integrate banking features into your app.
WEB/Connect provides embeddable banking functionality through web components. For an overview of features and benefits, visit our Banking Widgets page.
This repository demonstrates the implementation of three core BANKSapi libraries:
- @banksapitechnology/bam-web-component - Advanced Bank Access Management (BAM) for adding, editing, and removing bank accesses
- @banksapitechnology/regprotect-web-component - Regulatory-compliant authentication with banks
- @banksapitechnology/embeddable-finance-web-components - Banking data visualization and financial transaction initialization
A standard Vue.js web application demonstrating the integration of banking widgets in a browser environment.
Features:
- Pure Vue.js implementation
- Browser-based banking widget integration
- Event handling and routing examples
- Token management demonstration
A cross-platform mobile application built with Vue.js and Capacitor, showcasing banking widgets in native iOS and Android apps.
Features:
- Vue.js + Capacitor framework
- iOS and Android support
- Native app deployment capabilities
- Mobile-optimized banking widget integration
- Node.js (v16 or higher)
- npm or yarn package manager
- BANKSapi API credentials (contact us to obtain)
- Clone the repository:
git clone https://github.com/your-org/banking-widgets-demo.git
cd banking-widgets-demo- Choose an example application:
For Vue.js Web App:
cd vue-app
npm ci
npm run devFor Capacitor Mobile App:
cd capacitor-vue-app
npm ci
npm run cap:run:ios or npm run cap:run:androidTo use the banking widgets, you'll need a valid BANKS/Connect token:
- Follow our Quick Start Guide
- Read through the "Create a User Token" chapter
- Generate your token using your BANKSapi credentials
- Finally, pass the token to the BANKSapi web components
Important: Always create tokens on your backend to avoid exposing API credentials.
The web components communicate through events, allowing you to:
- Track user interactions
- Implement custom logging
- Handle authentication flows
- Maintain routing consistency
- Add custom behaviors specific to your application
- Backend token generation to protect API credentials
- Regulatory-compliant bank authentication
- PSD2 compliance through RegProtect component
- Install the required packages:
npm install @banksapitechnology/bam-web-component
npm install @banksapitechnology/regprotect-web-component
npm install @banksapitechnology/embeddable-finance-web-components-
Import and use the components in your application
-
Handle authentication:
- Fetch token
- Pass token to components
- Handle 401 Unauthorized events
-
Listen for and handle component events
For detailed implementation instructions, refer to the README files in each example directory.
- Developer Portal - Complete technical documentation
- Banking Widgets Overview - Features and benefits
- Quick Start Guide - Step-by-step setup instructions
For questions, bug reports, improvements, or integration assistance:
- Contact Us
- Check our Developer Portal
- Open an issue in this repository
This repository is provided as a reference implementation. For licensing information regarding the BANKSapi web components, please contact us.
Maintained by BANKSapi Technology GmbH