Risk assessment based on 3rd party payments and bank data
TrueLayer + Stripe Demo App
The goal of this project was to build an interactive demo application that showcases the integration of the TrueLayer Open Banking API, the Stripe payment system, and an automated client assessment module. The application demonstrates how third-party payment data and real bank transactions can be combined, displayed, and analyzed to produce a financial risk assessment.
Objective
The goal of this project was to build an interactive demo application that showcases the integration of the TrueLayer Open Banking API, the Stripe payment system, and an automated client assessment module. The application demonstrates how third-party payment data and real bank transactions can be combined, displayed, and analyzed to produce a financial risk assessment.
Key Features
1. Bank Data Retrieval (TrueLayer)
User authentication in a sandbox environment.
Listing bank accounts and displaying account details: balances and transaction history.
2. Sandbox Stripe Payment
The user selects a bank account and a demo product.
A Stripe Checkout Session is initiated using sandbox card details.
Upon successful payment, a mock transaction is added to the chosen account.
3. Mock Transaction Injection
Stripe session details are fetched.
A transaction is generated following the TrueLayer transaction format.
Mock transactions are stored in localStorage.
The transaction list displays both real and mock entries combined.
4. Automated Client Assessment (KYC/KYB Demo)
The system analyzes transactions (real + mock data).
Key evaluation metrics include:
3-month average income and expenses
Expense-to-income ratio
Expense volatility (stability)
Ratio of high-risk transactions (e.g., gambling, payday loans)
Frequency of high-value payments
Results are displayed with visual badges and detailed reasoning.
Includes a simulated processing sequence (e.g., “Analyzing cashflow”, “Detecting recurring income”) to enhance user experience.
By clicking "Allow all" you consent to the storage of cookies on your device for the purpose of improving site navigation, and analyzing site usage. See our Privacy Policy for more.