This section will guide you through the implementation of the full aggregation process to access Algoan's score without the use of a connector.
⚠️ Important: Since you will create resources with your own credentials, you need to implement this on your server side to use our APIs.
1. Create a banks user
To begin with, you need to create a Banks User which represents a user about to connect to their bank.
POST /v1/banks-users API to create a new Banks User with these parameters:
adenTriggers.onSynchronizationFinished: Set this parameter to
true. It will automatically trigger the score calculation when the Banks User status will be updated to
partnerId(optional): Algoan gives you the possibility to set your own identifier, if you need to match Algoan's unique identifier with your system.
2. Fetch accounts and transactions
To calculate the score, Algoan needs the user's bank accounts and transactions. After retrieving them, you have to create:
- Accounts using the
POST /v1/banks-users/:id/accountsto create bank accounts
- Transactions using the
POST /v1/banks-users/:id/accounts/:accountId/transactionsto transfer transactions from each bank accounts.
3. Get the score result
When the transfer is finished, the Banks User status needs to be updated to
FINISHED. Since the
onSynchronizationFinished flag is set to
true, it will start the score calculation.
Your connector needs to get the associated Banks User. You will then be able to find the