Account Broker
/
Data Model
/
Glossary
Decision Tree
Data Model
1
Overview

Data model underpins the microservice system that connects Client Applications, End Users, Banks, and their Consents in a secure and regulated manner.

plus

Enables tracking of relationships between users, client apps, banks, and consent activities

plus

Ensuring each entity is uniquely identified and traceable for auditing, security, and operational needs.

consists of five main entities

Client-App

plus

User

plus

Reference Banks

plus

Onboarding Credentials

plus

Consent Details

2
Client App

This entity represents third-party applications that integrate with your system (e.g., apps using account aggregation).

plus
Process Flow

A client app initiates registration with your system.

plus

After successful KYC and validation, a Client Unique Reference is assigned.

plus

The client is stored in the Client-App table with its status.

Fields & Description

Client Unique Reference A system-generated ID to uniquely identify the client.

plus

Client Name Human-readable name of the client app (e.g., “Accountant HelpSquad”).

plus

Other KYC Details This includes registration info, contact, license, type (company/individual), etc.

plus

Status Current client status (active, inactive, pending, etc.)

3
User

This entity stores details of individual users registered via client apps.

plus
Process Flow

A user signs up through a Client-App

plus

After identity/KYC checks, the system generates a Unique User Reference.

plus

The user is associated with their client via the Client-App Unique Reference.

plus

The User table stores this relation.

Fields & Description

Username Name or handle used by the end user.

plus

Unique User Reference System-generated user ID.

plus

Status Active, inactive, suspended, etc.

plus

Other KYC Details e.g., email, phone number, national ID.

plus

Client-App Unique Reference Links the user to the registering client app.

4
Reference Banks

This table stores the list of banks the system can communicate with.

plus
Process Flow

Admin or automated process adds banks during onboarding.

plus

Bank details are persisted with a unique Bank Reference.

plus

Status is updated as onboarding progresses.

Fields & Description

Bank Name e.g., HSBC, Lloyds, Barclays.

plus

Bank Details API endpoints, mTLS setup info, dynamic registration support, etc.

plus

Generated Bank Reference System-generated unique ID for internal references.

plus

Onboarding Status Indicates if onboarding is complete, pending, failed, etc.

5
Onboarding Credentials

These are sensitive details stored securely after successful onboarding of a TPP with a bank.

plus
Process Flow

After dynamic or manual TPP registration with a bank, the system receives a Client ID/Secret.

plus

These are stored against the Bank Reference in encrypted form.

plus

Onboarding is considered successful once these are present and verified.

Fields & Description

Bank Reference Links the credential to a specific bank.

plus

Client ID Issued by the bank after registration.

plus

Client Secret Confidential key for secure communication.

plus

Status Active, expired, revoked, etc.

6
Consent Details

This table handles PSU consent information related to accessing bank data.

plus
Process Flow

When a user grants consent, a Consent ID is created.

plus

Upon redirection (or decoupled auth), the Code is sent to the callback.

plus

The system exchanges the Code for an Access Token.

plus

The consent record is stored and associated with User, Client-App, and Bank.

Fields & Description

Consent Reference Unique system-generated ID.

plus

User Reference Ties the consent to a specific user.

plus

Client-App Reference Links to the app that requested consent.

plus

Bank Reference Specifies the bank to which consent is given.

plus

Consent ID ID issued by the bank (ASPSP).

plus

Code Temporary auth code returned after user consent.

plus

Access Token Final token used to access account APIs.