List all available API to get and create Score and Analysis.
Each requests must be set with an Authorization header using a Bearer JSON Web Token after authenticating with your client credentials.
Authentication
Algoan provides JSON Web Tokens based on the OAuth2 protocol to authenticate your organization.
When you create a new project, you will need to use the service account shared by Algoan containing a client_id
and a client_secret
.
NOTE: this is the only API where request's parameters are formatted as snake case.
Create a new access token
Generates a new access token to use Algoan's APIs
OAuth2 request body with two grant types - client_credentials
and refresh_token
Access Token instance
Customer
represents a user able to connect/aggregate their bank accounts. It is unique per organization, project and custom identifier.
Create a customer
Creates a new customer instance
New customer to create
New customer created
Bad request
Unauthorized, please make sure you are properly authenticated
Forbidden, please make sure you are allowed to use this route
Unprocessable Entity
Analysis
An analysis is a snapshot of a customer's financial situation based on the connected bank accounts. It contains results from both products Score and Credit Insights.
NOTE: To get Credit Insights results or a Score, the analysis need to contain at least one CHECKING Account with a minimum of 20 transactions.
Create a new analysis
Creates a new analysis for a given customer. There are several possible scenarios depending on the number of created analyses for a customer.
First analysis
If you create for the first time an analysis for the customer, there are three possible scenarios:
- You are able to fetch accounts and transactions from an AISP and send them to Algoan. In this case, the Score and Credit Insights analysis will automatically be launched as soon as the analysis instance is created.
- If you are using a connector, you should first create an analysis with no accounts and no transactions. An automatic event will then be sent to your hosted connector so it can automatically fetch data from the AISP. The analysis will be computed right after.
- If you are not using a connector and no accounts and no transactions are provided in the request body, a 403 HTTP error will be returned.
Next analyses
If you are trying to create a new analysis for a customer that already has at least one analysis, here is a list of possible scenarios:
- As soon as you create an analysis with new accounts and transactions, the new analysis result will be based on all accounts and transactions that belong to the customer (including those used in previous analyses).
- If you are using a connector, you should first create an analysis with no accounts and no transactions. An automatic event will then be sent to your hosted connector so it can automatically fetch the latest transactions of the previously connected bank accounts. The analysis will be computed right after. This new analysis result will be based on all accounts and transactions that belong to the customer (including those used in previous analyses).
- If you are not using a connector and create a new analysis with no accounts no transactions in the request body, a 403 HTTP error will be returned.
Upload Budget Insight Open Banking data
If you have integrated Budget Insight on your side, you can create an analysis with Budget Insight raw data. To do this, choose BUDGET_INSIGHT_V2_0
format and upload users' connections.
If you use Budget Insight's webhooks, listen to the CONNECTION_SYNCED
event. If you don't, you need to retrieve:
- Connections
- Connector attached to the connections
- Accounts
- Transactions
Upload Linxo Connect Open Banking data
If you have integrated Linxo Connect on your side, you can create an analysis with Linxo Connect Direct Account API raw data. To do this, choose LINXO_CONNECT_DIRECT_ACCOUNT_API_V3
format and upload users' accounts.
We also support the Account API mode. Select the LINXO_CONNECT_ACCOUNT_API_V2
format if you have integrated Linxo Connect Account API.
Upload Tink Open Banking data
Choose the TINK_V2
format if you have already integrated Tink on your side.
Upload Mastercard Open Banking Enterprise data
Choose the MASTERCARD_OPEN_BANKING_ENTERPRISE_V2
format if you have already integrated Mastercard Open Banking Enterprise (formerly Aiia) on your side.
Upload Mastercard Open Banking data
Choose the MASTERCARD_OPEN_BANKING
format if you have already integrated MASTERCARD_OPEN_BAKING on your side.
New analysis to create
Analysis in progress
Bad request
Unauthorized, please make sure you are properly authenticated
Forbidden, please make sure you are allowed to use this route
Customer not found