List all available API to get and create Score and Analysis for businesses.

Server
https://api.algoan.com
Server Variables

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

Auth
Request Body

OAuth2 request body with two grant types - client_credentials and refresh_token

objectobject

Auth request body to generate a new access token

client_idstring

Your client ID

client_secretuuid

Your client secret

grant_typestring

Specify the type of grant access

Enum: client_credentials

POST /v1/oauth/token
Copy
Responses
201

Access Token instance

objectobject
access_tokenstring

The access token required for each API.

expires_innumber

Number of seconds until the access token expires

refresh_expires_innumber

Number of seconds until the refresh token expires

refresh_tokenstring

Refresh token used to generate a new access token

token_typestring

Type of access token (will always be set to bearer)

Response
Copy

Business

represents a business able to connect/aggregate their bank accounts. It is unique per organization, project and custom identifier.

Get a list of all the buisnesses

Get a list of buisnesses

Auth
Query String
limitstring

Limit the number of returned buisnesses

pagestring

Indicates the query offset

filterstring

Filter buisnesses

GET /v2/businesses
Copy
Responses
200

Buisnesse response

objectobject
resourcesarray[object]
idstring

Algoan unique identifier

customIdentifierstring

A custom identifier that will be attached to your business. This can be used to identify a business based on your internal reference.

aggregationDetailsobject

Information about the AIS provider used for this report

aggregatorNamestring

Name of the aggregator company

Enum: BUDGET_INSIGHT,BRIDGE,TINK,OTHER

callbackUrlstring

Callback URL set for a business. Used to redirect the business back to your user journey if you are using the aggregation in REDIRECT mode.

tokenstring

Temporary access token set for Algoan's UI to communicate with the aggregator's API

modestring

Mode used for the business journey:

  • REDIRECT: uses the redirection mode. The UI is managed by the aggregator in a dedicated page.
  • API: uses the aggregator's API. The UI is managed by Algoan.
  • IFRAME: uses the iframe mode. The UI is managed by the aggregator in an iframe element.

Enum: REDIRECT,API,IFRAME

redirectUrlstring

Redirect URL used for the end-user. Specific to REDIRECT mode

apiUrlstring

URL used to call API using API mode

iframeUrlstring

Iframe URL used for the end-user. Specific to IFRAME mode

userIdstring

Aggregator user identifier

If the value is reset, it means the user access has been revoked.

clientIdstring

Aggregator client ID used to authenticate a user with your organization

businessDetailsobject

Information about the business

openBankingInformationobject

Information about the business retrieved from the Open Banking process

ownersarray[object]

Owners of the accounts

Same names are merged.

namestring

Name of the owner

createdAtdate-time

Business date of creation

updatedAtdate-time

Latest update of the business

paginationobject

details about the pagination of returned resources

nextstring

Next page

previousstring

Previous page

firststring

First page

laststring

Last page

totalPagesnumber

Total number of pages

totalResourcesnumber

total number of resources

400

Bad request

401

Unauthorized, please make sure you are properly authenticated

403

Forbidden, please make sure you are allowed to use this route

Response
Copy

Create a business

Creates a new business instance

Auth
Request Body

New business to create

objectobject

Information about a business and its journey through Algoan.

customIdentifierstring

A custom identifier that will be attached to your business. This can be used to identify a business based on your internal reference.

aggregationDetailsobject

Information about the AIS provider used for this report

callbackUrlstring

Callback URL set for a business. Used to redirect the business back to your user journey if you are using the aggregation in REDIRECT mode.

tokenstring

Temporary access token set for Algoan's UI to communicate with the aggregator's API

redirectUrlstring

Redirect URL used for the end-user. Specific to REDIRECT mode

apiUrlstring

URL used to call API using API mode

iframeUrlstring

Iframe URL used for the end-user. Specific to IFRAME mode

userIdstring

Aggregator user identifier

If the value is reset, it means the user access has been revoked.

clientIdstring

Aggregator client ID used to authenticate a user with your organization

businessDetailsobject

Information about the business

POST /v2/businesses
Copy
Responses
201

New buisness created

objectobject

Information about a business and its journey through Algoan.

idstring

Algoan unique identifier

customIdentifierstring

A custom identifier that will be attached to your business. This can be used to identify a business based on your internal reference.

aggregationDetailsobject

Information about the AIS provider used for this report

aggregatorNamestring

Name of the aggregator company

Enum: BUDGET_INSIGHT,BRIDGE,TINK,OTHER

callbackUrlstring

Callback URL set for a business. Used to redirect the business back to your user journey if you are using the aggregation in REDIRECT mode.

tokenstring

Temporary access token set for Algoan's UI to communicate with the aggregator's API

modestring

Mode used for the business journey:

  • REDIRECT: uses the redirection mode. The UI is managed by the aggregator in a dedicated page.
  • API: uses the aggregator's API. The UI is managed by Algoan.
  • IFRAME: uses the iframe mode. The UI is managed by the aggregator in an iframe element.

Enum: REDIRECT,API,IFRAME

redirectUrlstring

Redirect URL used for the end-user. Specific to REDIRECT mode

apiUrlstring

URL used to call API using API mode

iframeUrlstring

Iframe URL used for the end-user. Specific to IFRAME mode

userIdstring

Aggregator user identifier

If the value is reset, it means the user access has been revoked.

clientIdstring

Aggregator client ID used to authenticate a user with your organization

businessDetailsobject

Information about the business

openBankingInformationobject

Information about the business retrieved from the Open Banking process

ownersarray[object]

Owners of the accounts

Same names are merged.

namestring

Name of the owner

createdAtdate-time

Business date of creation

updatedAtdate-time

Latest update of the business

400

Bad request

401

Unauthorized, please make sure you are properly authenticated

403

Forbidden, please make sure you are allowed to use this route

422

Unprocessable Entity

Response
Copy

Get a single Business

Returns a business based on a single ID

Auth
Path Params
idstring

ID of the business to fetch

GET /v2/businesses/{id}
Copy
Responses
200

Business response

objectobject

Information about a business and its journey through Algoan.

idstring

Algoan unique identifier

customIdentifierstring

A custom identifier that will be attached to your business. This can be used to identify a business based on your internal reference.

aggregationDetailsobject

Information about the AIS provider used for this report

aggregatorNamestring

Name of the aggregator company

Enum: BUDGET_INSIGHT,BRIDGE,TINK,OTHER

callbackUrlstring

Callback URL set for a business. Used to redirect the business back to your user journey if you are using the aggregation in REDIRECT mode.

tokenstring

Temporary access token set for Algoan's UI to communicate with the aggregator's API

modestring

Mode used for the business journey:

  • REDIRECT: uses the redirection mode. The UI is managed by the aggregator in a dedicated page.
  • API: uses the aggregator's API. The UI is managed by Algoan.
  • IFRAME: uses the iframe mode. The UI is managed by the aggregator in an iframe element.

Enum: REDIRECT,API,IFRAME

redirectUrlstring

Redirect URL used for the end-user. Specific to REDIRECT mode

apiUrlstring

URL used to call API using API mode

iframeUrlstring

Iframe URL used for the end-user. Specific to IFRAME mode

userIdstring

Aggregator user identifier

If the value is reset, it means the user access has been revoked.

clientIdstring

Aggregator client ID used to authenticate a user with your organization

businessDetailsobject

Information about the business

openBankingInformationobject

Information about the business retrieved from the Open Banking process

ownersarray[object]

Owners of the accounts

Same names are merged.

namestring

Name of the owner

createdAtdate-time

Business date of creation

updatedAtdate-time

Latest update of the business

400

Bad request

401

Unauthorized, please make sure you are properly authenticated

403

Forbidden, please make sure you are allowed to use this route

404

Business not found

Response
Copy

Delete a single Business

Deletes all data related to the business (accounts and transactions included)

Auth
Path Params
idstring

ID of the business to fetch

DELETE /v2/businesses/{id}
Copy
Responses
204

Empty response

No response body
400

Bad request

401

Unauthorized, please make sure you are properly authenticated

403

Forbidden, please make sure you are allowed to use this route

404

Business not found

Response
Copy

Update a Business

Update a single business based on a single ID

Auth
Path Params
idstring

ID of the business to fetch

Request Body

Aggregator details set by a connector

objectobject

Aggregator details set by a connector

aggregationDetailsobject

Information about the AIS provider used for this report

callbackUrlstring

Callback URL set for a business. Used to redirect the business back to your user journey if you are using the aggregation in REDIRECT mode.

tokenstring

Temporary access token set for Algoan's UI to communicate with the aggregator's API

redirectUrlstring

Redirect URL used for the end-user. Specific to REDIRECT mode

apiUrlstring

URL used to call API using API mode

iframeUrlstring

Iframe URL used for the end-user. Specific to IFRAME mode

userIdstring

Aggregator user identifier

If the value is reset, it means the user access has been revoked.

clientIdstring

Aggregator client ID used to authenticate a user with your organization

PATCH /v2/businesses/{id}
Copy
Responses
200

Business response

objectobject

Information about a business and its journey through Algoan.

idstring

Algoan unique identifier

customIdentifierstring

A custom identifier that will be attached to your business. This can be used to identify a business based on your internal reference.

aggregationDetailsobject

Information about the AIS provider used for this report

aggregatorNamestring

Name of the aggregator company

Enum: BUDGET_INSIGHT,BRIDGE,TINK,OTHER

callbackUrlstring

Callback URL set for a business. Used to redirect the business back to your user journey if you are using the aggregation in REDIRECT mode.

tokenstring

Temporary access token set for Algoan's UI to communicate with the aggregator's API

modestring

Mode used for the business journey:

  • REDIRECT: uses the redirection mode. The UI is managed by the aggregator in a dedicated page.
  • API: uses the aggregator's API. The UI is managed by Algoan.
  • IFRAME: uses the iframe mode. The UI is managed by the aggregator in an iframe element.

Enum: REDIRECT,API,IFRAME

redirectUrlstring

Redirect URL used for the end-user. Specific to REDIRECT mode

apiUrlstring

URL used to call API using API mode

iframeUrlstring

Iframe URL used for the end-user. Specific to IFRAME mode

userIdstring

Aggregator user identifier

If the value is reset, it means the user access has been revoked.

clientIdstring

Aggregator client ID used to authenticate a user with your organization

businessDetailsobject

Information about the business

openBankingInformationobject

Information about the business retrieved from the Open Banking process

ownersarray[object]

Owners of the accounts

Same names are merged.

namestring

Name of the owner

createdAtdate-time

Business date of creation

updatedAtdate-time

Latest update of the business

400

Bad request

401

Unauthorized, please make sure you are properly authenticated

403

Forbidden, please make sure you are allowed to use this route

404

Business not found

Response
Copy

Analysis

An analysis is a snapshot of a business'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 1 transactions.

Create a new analysis

Creates a new analysis for a given business. There are several possible scenarios depending on the number of created analyses for a business.

First analysis

If you create for the first time an analysis for the business, 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 business 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 business (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 business (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:

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.

Auth
Request Body

New analysis to create

objectobject

Account related to the analysis

formatstring

Original format of the open banking data (default to ALGOAN). BUDGET_INSIGHT_V2 refers to the second version of Budget Insight API.

Enum: ALGOAN,BUDGET_INSIGHT_V2_0,LINXO_CONNECT_DIRECT_ACCOUNT_API_V3,LINXO_CONNECT_ACCOUNT_API_V2,TINK_V2,MASTERCARD_OPEN_BANKING,MASTERCARD_OPEN_BANKING_ENTERPRISE_V2,HYBRID

Default: ALGOAN

parametersobject

Optional parameters related to the analysis.

If disableScores and disableCreditInsights are both set to true, the analysis will be have to be triggered manually later by calling POST /analyses/{analysisId}/trigger with { disableScores: false, disableCreditInsights: false }.

disableScoresboolean

Set to true if you only want to launch a Credit Insights analysis

Default: false

disableCreditInsightsboolean

Set to true if you only want to launch the Score

Default: false

useBalanceDateboolean

Set to true if you want to use the most recent account balance date as a reference date for the analysis instead of using the current date

Default: false

periodobject

Parameters used to compute the analyzed period.

modestring

Analysis configuration mode:

  • DAYS: Analysis is computed using the transactions of the m past days.
  • MONTHS: Analysis is computed using the transactions of the n last rolling months.
  • MONTHS_TRUNCATED: Analysis is computed using the transactions of the n last calendar months.
  • MONTHS_AND_CURRENT: Analysis is computed using the transactions of the n last calendar months and the current month.

m and n refer respectively to the value of numberOfDays and numberOfMonths.

Enum: DAYS,MONTHS,MONTHS_TRUNCATED,MONTHS_AND_CURRENT

numberOfDaysnumber

Number of analyzed days.

numberOfMonthsnumber

Number of analyzed months.

includeCheckingAccountsOnTruncateWindowboolean

Used if mode is MONTHS_TRUNCATED. If true only the transactions of checking accounts are used to compute analysis window dates.

launchReportboolean

Set to true if you want to automatically launch a report creation after the analysis is completed. You will be notified on your webhook when the report status is COMPLETED (or ERROR).

Default: false

dataOriginstring

Describes the origin of the analysis' data:

  • OPEN_BANKING: Data fetched from an aggregator.
  • PDF: Data fetched from a PDF file
  • UNKNOWN: Default value

Enum: OPEN_BANKING,PDF,UNKNOWN

accountsarray

Accounts including transactions (Algoan format)

typestring

Account's type. UNKNOWN accounts will not be included in the analysis.

Enum: CHECKING,SAVINGS,LOAN,CREDIT_CARD,UNKNOWN

balancenumber

Last known account balance

balanceDatedate-time

Last known account balance's date (format ISO)

currencystring

Account's currency. Non EUR accounts will not be included in the analysis.

ownersarray[object]

Owners of the account

namestring

name of the owner

numberstring

Account's number

ibanstring

Account's iban

bicstring

Account's bic

namestring

Account's name taken from the bank's website

bankobject

Owner's bank information

idstring

Aggregator unique identifier

logoUrlstring

URL of the bank's logo

namestring

Name of the bank

countrystring

Country Code of the bank

usagestring

Purpose of the account. PROFESSIONAL will not be included in the analysis.

Enum: PROFESSIONAL,PERSONAL,UNKNOWN

ownershipstring

Relationship between the business and the account. ATTORNEY will not be included in the analysis.

Enum: HOLDER,CO_HOLDER,ATTORNEY,OTHER

countrystring

The alpha-2 code country of the account (format ISO 3166-1 alpha-2)

comingnumber

Amount of coming operations (not yet debited)

detailsobject

The details of the account

savingsobject

Details specific to SAVINGS type accounts

typestring

Savings account's type

Enum: SHORT_TERM,LONG_TERM,UNKNOWN

openedAtdate-time

Opening date of the saving account

maximumAmountnumber

Maximum amount authorized for this account

interestRatenumber

Interest rate of the saving account (between 0 and 1)

loanobject
typestring

Details specific to LOAN type accounts

Enum: REVOLVING,PERSONAL,MORTGAGE,OTHER

amountnumber

Loan's amount

startDatedate-time

Loan's start date (format ISO)

endDatedate-time

Loan's end date (format ISO)

durationnumber

Loan's duration in months

insuranceLabelstring

Label of the insurance

paymentnumber

Monthly amount of the loan

remainingCapitalnumber

Amount of capital left to repay

interestRatenumber

Interest rate of the loan (between 0 and 1)

aggregatorobject

Informations specific to the aggregator

idstring

Unique identifier set by the aggregator

isComputedboolean

Whether the account will be / has been used during the Analysis computation

Default: true

transactionsarray[object]
descriptionstring

Description of the transaction. If description is an empty string, a 400 HTTP error will be returned.

datesobject

Dates associated with the transaction. At least one date is required, depending on the type of account. For instance, if it is a "checking" account, the "debitedAt" date is required.

debitedAtdate-time

Debit date as seen on the bank statement. This property may not be set if the transaction is not yet debited. This can occurs if there's a differed payement.

bookedAtdate-time

Realization date of the transaction

amountnumber

Amount of the transaction (negative if debit)

currencystring

Transaction's currency

Default: EUR

isComingboolean

Indicates if the transaction will be debited or credited on the account in the future

aggregatorobject

Additional information relative to the transaction provided by the aggregator

idstring

id of the transaction provided by the aggregator

categorystring

Category provided by the aggregator

typestring

Type provided by the aggregator

triggerAccountSyncboolean

If false, the account synchronization will not be triggered, even if the account list is empty.

POST /v2/businesses/{id}/analyses
Copy
Responses
202

Analysis in progress

objectobject

An analysis launched with open banking data but no Credit Insights nor Score has been computed yet.

idstring

Unique analysis identifier

formatstring

Original format of the open banking data (default to ALGOAN). BUDGET_INSIGHT_V2 refers to the second version of Budget Insight API.

Enum: ALGOAN,BUDGET_INSIGHT_V2_0,LINXO_CONNECT_DIRECT_ACCOUNT_API_V3,LINXO_CONNECT_ACCOUNT_API_V2,TINK_V2,MASTERCARD_OPEN_BANKING,MASTERCARD_OPEN_BANKING_ENTERPRISE_V2,HYBRID

Default: ALGOAN

parametersobject

Optional parameters related to the analysis.

If disableScores and disableCreditInsights are both set to true, the analysis will be have to be triggered manually later by calling POST /analyses/{analysisId}/trigger with { disableScores: false, disableCreditInsights: false }.

disableScoresboolean

Set to true if you only want to launch a Credit Insights analysis

Default: false

disableCreditInsightsboolean

Set to true if you only want to launch the Score

Default: false

useBalanceDateboolean

Set to true if you want to use the most recent account balance date as a reference date for the analysis instead of using the current date

Default: false

periodobject

Parameters used to compute the analyzed period.

modestring

Analysis configuration mode:

  • DAYS: Analysis is computed using the transactions of the m past days.
  • MONTHS: Analysis is computed using the transactions of the n last rolling months.
  • MONTHS_TRUNCATED: Analysis is computed using the transactions of the n last calendar months.
  • MONTHS_AND_CURRENT: Analysis is computed using the transactions of the n last calendar months and the current month.

m and n refer respectively to the value of numberOfDays and numberOfMonths.

Enum: DAYS,MONTHS,MONTHS_TRUNCATED,MONTHS_AND_CURRENT

numberOfDaysnumber

Number of analyzed days.

numberOfMonthsnumber

Number of analyzed months.

includeCheckingAccountsOnTruncateWindowboolean

Used if mode is MONTHS_TRUNCATED. If true only the transactions of checking accounts are used to compute analysis window dates.

isComputedUsingProjectConfigboolean

Whether the analyzed period has been computed using the project's configurations or the values in period

launchReportboolean

Set to true if you want to automatically launch a report creation after the analysis is completed. You will be notified on your webhook when the report status is COMPLETED (or ERROR).

Default: false

statusstring

State of the analysis:

  • CREATED: you've just created the analysis. Algoan is waiting for accounts and transactions to be uploaded
  • FETCHING_DATA: accounts and transactions are being fetched by an asynchronous process (e.g. bank_details_required resthook event), you can force the emission of this event by calling the POST /analyses endpoint without accounts and transactions.
  • IN_PROGRESS: as soon as banking details are uploaded, the analysis is in "IN_PROGRESS" state. If you try to request Credit Insights or Score, the API will return a 202 HTTP status code.
  • COMPLETED: means that the analysis process is finished. Conditions:
    • If Credit Insights is disabled, the analysis is complete as soon as scores and metadata are defined
    • If Score is disabled, the analysis is complete as soon as creditInsights and metadata are defined
    • If you've launched both Score and Credit Insights, the analysis is completed as soon as all fields are defined
  • ERROR: the analysis is in an error state if Score or Credit Insights cannot be calculated. Therefore, an error property will be defined, giving you the reason for failure.

Enum: CREATED,FETCHING_DATA,ERROR,IN_PROGRESS,COMPLETED

sourcestring

Describes the origin of the analysis' launch:

  • INTERNAL: relaunched by Algoan if an internal error occurred (will not be billed)
  • CLIENT: created and launched by a client
  • CASH_FLOW_UPDATE: created and launched after a client cashflow update
  • ACCOUNT_SELECTION_UPDATE: created and launched after a client updated the list of selected accounts
  • REFRESH: created and launched after a client requested a refresh of the analysis

Enum: INTERNAL,CLIENT,CASH_FLOW_UPDATE,ACCOUNT_SELECTION_UPDATE,REFRESH

dataOriginstring

Describes the origin of the analysis' data:

  • OPEN_BANKING: Data fetched from an aggregator.
  • PDF: Data fetched from a PDF file
  • UNKNOWN: Default value

Enum: OPEN_BANKING,PDF,UNKNOWN

createdAtdate-time

Analysis date of creation

updatedAtdate-time

Latest update of the analysis

400

Bad request

401

Unauthorized, please make sure you are properly authenticated

403

Forbidden, please make sure you are allowed to use this route

404

Business not found

Response
Copy

Get all analyses

Get a list of all the business's Analysis

Auth
GET /v2/businesses/{id}/analyses
Copy
Responses
200

List of analyses

objectobject
resourcesarray
idstring

Unique analysis identifier

formatstring

Original format of the open banking data (default to ALGOAN). BUDGET_INSIGHT_V2 refers to the second version of Budget Insight API.

Enum: ALGOAN,BUDGET_INSIGHT_V2_0,LINXO_CONNECT_DIRECT_ACCOUNT_API_V3,LINXO_CONNECT_ACCOUNT_API_V2,TINK_V2,MASTERCARD_OPEN_BANKING,MASTERCARD_OPEN_BANKING_ENTERPRISE_V2,HYBRID

Default: ALGOAN

parametersobject

Optional parameters related to the analysis.

If disableScores and disableCreditInsights are both set to true, the analysis will be have to be triggered manually later by calling POST /analyses/{analysisId}/trigger with { disableScores: false, disableCreditInsights: false }.

disableScoresboolean

Set to true if you only want to launch a Credit Insights analysis

Default: false

disableCreditInsightsboolean

Set to true if you only want to launch the Score

Default: false

useBalanceDateboolean

Set to true if you want to use the most recent account balance date as a reference date for the analysis instead of using the current date

Default: false

periodobject

Parameters used to compute the analyzed period.

modestring

Analysis configuration mode:

  • DAYS: Analysis is computed using the transactions of the m past days.
  • MONTHS: Analysis is computed using the transactions of the n last rolling months.
  • MONTHS_TRUNCATED: Analysis is computed using the transactions of the n last calendar months.
  • MONTHS_AND_CURRENT: Analysis is computed using the transactions of the n last calendar months and the current month.

m and n refer respectively to the value of numberOfDays and numberOfMonths.

Enum: DAYS,MONTHS,MONTHS_TRUNCATED,MONTHS_AND_CURRENT

numberOfDaysnumber

Number of analyzed days.

numberOfMonthsnumber

Number of analyzed months.

includeCheckingAccountsOnTruncateWindowboolean

Used if mode is MONTHS_TRUNCATED. If true only the transactions of checking accounts are used to compute analysis window dates.

isComputedUsingProjectConfigboolean

Whether the analyzed period has been computed using the project's configurations or the values in period

launchReportboolean

Set to true if you want to automatically launch a report creation after the analysis is completed. You will be notified on your webhook when the report status is COMPLETED (or ERROR).

Default: false

statusstring

State of the analysis:

  • CREATED: you've just created the analysis. Algoan is waiting for accounts and transactions to be uploaded
  • FETCHING_DATA: accounts and transactions are being fetched by an asynchronous process (e.g. bank_details_required resthook event), you can force the emission of this event by calling the POST /analyses endpoint without accounts and transactions.
  • IN_PROGRESS: as soon as banking details are uploaded, the analysis is in "IN_PROGRESS" state. If you try to request Credit Insights or Score, the API will return a 202 HTTP status code.
  • COMPLETED: means that the analysis process is finished. Conditions:
    • If Credit Insights is disabled, the analysis is complete as soon as scores and metadata are defined
    • If Score is disabled, the analysis is complete as soon as creditInsights and metadata are defined
    • If you've launched both Score and Credit Insights, the analysis is completed as soon as all fields are defined
  • ERROR: the analysis is in an error state if Score or Credit Insights cannot be calculated. Therefore, an error property will be defined, giving you the reason for failure.

Enum: CREATED,FETCHING_DATA,ERROR,IN_PROGRESS,COMPLETED

sourcestring

Describes the origin of the analysis' launch:

  • INTERNAL: relaunched by Algoan if an internal error occurred (will not be billed)
  • CLIENT: created and launched by a client
  • CASH_FLOW_UPDATE: created and launched after a client cashflow update
  • ACCOUNT_SELECTION_UPDATE: created and launched after a client updated the list of selected accounts
  • REFRESH: created and launched after a client requested a refresh of the analysis

Enum: INTERNAL,CLIENT,CASH_FLOW_UPDATE,ACCOUNT_SELECTION_UPDATE,REFRESH

dataOriginstring

Describes the origin of the analysis' data:

  • OPEN_BANKING: Data fetched from an aggregator.
  • PDF: Data fetched from a PDF file
  • UNKNOWN: Default value

Enum: OPEN_BANKING,PDF,UNKNOWN

createdAtdate-time

Analysis date of creation

updatedAtdate-time

Latest update of the analysis

metadataobject

Indicators about the Open Banking data used to execute the Analysis. Deprecated properties correspond to Credit Insights indicators.

referenceDatedate-time

Reference date of the analysis

creditInsightsobject

Indicators about the Open Banking data used to compute the Credit Insights product

minWindowDatedate

Date of the oldest transaction used to compute the product

maxWindowDatedate

Date of the most recent transaction used to compute the product

creditScoreobject

Indicators about the Open Banking data used to compute the Credit Score product

minWindowDatedate

Date of the oldest transaction used to compute the product

maxWindowDatedate

Date of the most recent transaction used to compute the product

activityScoreobject

A score measuring the activity of all aggregated accounts of a bank user. This score might be used to filter out users who are not active enough or to indicate that we probably don't have access to the main account.

valuenumber

Ranges from 1 to 100, and it can be interpreted as follows:

  • Less than 10: almost no activity (very few transactions, dormant account or new account).
  • Between 10 and 19: insufficient activity (generally too few transactions, little or no history).
  • Between 20 and 49: limited activity (often no regular income or bill payments) which suggests a secondary account.
  • 50 and above: normal activity and characteristic of an active and main account.
numberOfDaysInWindownumber

Number of analysed days.

calendararray[object]
monthstring

calendar month of the history

nbDaysnumber

Number of days of the month covered in the banking history. Allows to know which months are truncated.

creditInsightsobject

Object containing results from Credit Insights

versionstring

Credit Insights' version

cashFlowsarray[object]

All cash flows used to launch the analysis

typestring

Enum: CASH_DEPOSIT,CASH_WITHDRAWAL,CHECK_DEPOSIT,CHECK,INCOMING_TRANSFER,INCOMING_INTERNAL_TRANSFER,OUTGOING_TRANSFER,OUTGOING_INTERNAL_TRANSFER,CARD_REFUND,CARD,INCOMING_CARD,DIRECT_DEBIT,CREDIT,DEBIT

category

This is the list of all possible transactions categories. Some of them are not currently implemented yet. To have a detailed list, ask your Business Success Manager.

stringstring

Enum: INTERNAL_TRANSFER,NON_OPERATING_NEW_FINANCING,NON_OPERATING_SHAREHOLDER_INCOMING,RED_FLAG_REFUND_INCIDENT_FEES,RED_FLAG_REJECTION_ON_LOAN_REPAYMENT,RED_FLAG_REJECTION_ON_PAYMENT,RED_FLAG_RELEASE_FOR_ACCOUNT_SEIZURE,REFUND_SOCIAL,REVENUE,OTHER

labelstring

This value differs from labelRoot when a Cashflow can be split into two smaller pieces. These pieces share similarities in terms of amount and dates

totalAmountnumber

Total amount of the cash flow over the period of analysis. Transactions that are or has been rejected are included in this sum. Negative if expense, positive if income.

monthlyAmountnumber

Monthly amount of the cash flow.

calendararray[object]
monthstring

Calendar month of the transaction

amountnumber

Negative if expense, positive if income.

transactionsarray[object]

Concerned transactions

idstring

Unique transaction identifier

accountIdstring

Algoan's account identifier

descriptionstring

Description of the transaction. If description is an empty string, a 400 HTTP error will be returned.

datesobject

Dates associated with the transaction. At least one date is required, depending on the type of account. For instance, if it is a "checking" account, the "debitedAt" date is required.

debitedAtdate-time

Debit date as seen on the bank statement. This property may not be set if the transaction is not yet debited. This can occurs if there's a differed payement.

bookedAtdate-time

Realization date of the transaction

amountnumber

Amount of the transaction (negative if debit)

currencystring

Transaction's currency

Default: EUR

enrichmentsobject

Properties computed by Algoan

category

Value computed by Credit Insights. This property describes the reason why a transaction is made.

stringstring

Enum: INTERNAL_TRANSFER,NON_OPERATING_NEW_FINANCING,NON_OPERATING_SHAREHOLDER_INCOMING,RED_FLAG_REFUND_INCIDENT_FEES,RED_FLAG_REJECTION_ON_LOAN_REPAYMENT,RED_FLAG_REJECTION_ON_PAYMENT,RED_FLAG_RELEASE_FOR_ACCOUNT_SEIZURE,REFUND_SOCIAL,REVENUE,OTHER

typestring

Value computed by Credit Insights. This property describes the mode of transaction.

Enum: CASH_DEPOSIT,CASH_WITHDRAWAL,CHECK_DEPOSIT,CHECK,INCOMING_TRANSFER,INCOMING_INTERNAL_TRANSFER,OUTGOING_TRANSFER,OUTGOING_INTERNAL_TRANSFER,CARD_REFUND,CARD,INCOMING_CARD,DIRECT_DEBIT,CREDIT,DEBIT

isComingboolean

Indicates if the transaction will be debited or credited on the account in the future

aggregatorobject

Additional information relative to the transaction provided by the aggregator

idstring

id of the transaction provided by the aggregator

isNonAnalysedboolean

Indicates if the transaction is included in the last generated analysis

scoresobject

Scores assessing the probability of default Depending on your Score configuration you can have one or many scores computed. Each score will be billed independently.

creditScoreobject

default score with a 12-month horizon

versionstring

Score's version

valuenumber

Between 0 and 1000. 0 is risky, 1000 is safe. This number is a transformation of the probability of default that is usually set between 0 and 1 (where 0 is safe and 1 is risky)

maximum: 1000

minimum: 0

indicatorsobject

Indicators about credit score behavior. These values reflect the behavior of the score in a way that is comprehensible for the human eye. Each of them is like an axis where the value varies from -5 to 5. The combination of these numbers is correlated to the score value. A negative value means the axis impacts the score value in a bad way where a positive value can inflate the score value. This representation is a mirror of Algoan Score. Its objective is to provide keys to an understanding of Score for a specific business.

paymentScoreobject

default score with a 4-month horizon

versionstring

Score's version

valuenumber

Between 1 and 10. 1 is risky, 10 is safe. This number represents the interval of risk. It's based on a transformation of the probability of default

maximum: 10

minimum: 1

errorobject

This property is defined if the analysis is in an ERROR state

codestring

Description :

  • NOT_ENOUGH_TRANSACTIONS: At least 20 transactions debited between YYYY-MM-DD and YYYY-MM-DD are required to compute the analysis.
  • CURRENCY_NOT_SUPPORTED: No checking or credit card accounts with currency EUR have been detected
  • USAGE_NOT_SUPPORTED: No personal checking or credit card accounts have been detected
  • NO_CHECKING_ACCOUNT: At least one PERSONAL checking account with currency EUR is required for an analysis
  • ACCOUNT_TYPE_NOT_SUPPORTED: At least one checking account is required to compute the analysis
  • OWNERSHIP_NOT_SUPPORTED: No checking or credit card accounts with ownership different than ATTORNEY have been detected
  • LOW_ACTIVITY_SCORE: The activity score is too low to compute the analysis. This error requires to be activated in the project configuration.
  • ZERO_INCOME: The income is equal to 0. This error requires to be activated in the project configuration.

Enum: INTERNAL_ERROR,NOT_ENOUGH_TRANSACTIONS,CURRENCY_NOT_SUPPORTED,USAGE_NOT_SUPPORTED,NO_CHECKING_ACCOUNT,ACCOUNT_TYPE_NOT_SUPPORTED,OWNERSHIP_NOT_SUPPORTED,LOW_ACTIVITY_SCORE,ZERO_INCOME

messagestring

A human readable error message

paginationobject

details about the pagination of returned resources

nextstring

Next page

previousstring

Previous page

firststring

First page

laststring

Last page

totalPagesnumber

Total number of pages

totalResourcesnumber

total number of resources

400

Bad request

401

Unauthorized, please make sure you are properly authenticated

403

Forbidden, please make sure you are allowed to use this route

404

Business not found

Response
Copy

Get an analysis

Get a unique analysis

Auth
GET /v2/businesses/{id}/analyses/{analysisId}
Copy
Responses
200

Analysis instance

objectobject

An analysis launched with open banking data

idstring

Unique analysis identifier

formatstring

Original format of the open banking data (default to ALGOAN). BUDGET_INSIGHT_V2 refers to the second version of Budget Insight API.

Enum: ALGOAN,BUDGET_INSIGHT_V2_0,LINXO_CONNECT_DIRECT_ACCOUNT_API_V3,LINXO_CONNECT_ACCOUNT_API_V2,TINK_V2,MASTERCARD_OPEN_BANKING,MASTERCARD_OPEN_BANKING_ENTERPRISE_V2,HYBRID

Default: ALGOAN

parametersobject

Optional parameters related to the analysis.

If disableScores and disableCreditInsights are both set to true, the analysis will be have to be triggered manually later by calling POST /analyses/{analysisId}/trigger with { disableScores: false, disableCreditInsights: false }.

disableScoresboolean

Set to true if you only want to launch a Credit Insights analysis

Default: false

disableCreditInsightsboolean

Set to true if you only want to launch the Score

Default: false

useBalanceDateboolean

Set to true if you want to use the most recent account balance date as a reference date for the analysis instead of using the current date

Default: false

periodobject

Parameters used to compute the analyzed period.

modestring

Analysis configuration mode:

  • DAYS: Analysis is computed using the transactions of the m past days.
  • MONTHS: Analysis is computed using the transactions of the n last rolling months.
  • MONTHS_TRUNCATED: Analysis is computed using the transactions of the n last calendar months.
  • MONTHS_AND_CURRENT: Analysis is computed using the transactions of the n last calendar months and the current month.

m and n refer respectively to the value of numberOfDays and numberOfMonths.

Enum: DAYS,MONTHS,MONTHS_TRUNCATED,MONTHS_AND_CURRENT

numberOfDaysnumber

Number of analyzed days.

numberOfMonthsnumber

Number of analyzed months.

includeCheckingAccountsOnTruncateWindowboolean

Used if mode is MONTHS_TRUNCATED. If true only the transactions of checking accounts are used to compute analysis window dates.

isComputedUsingProjectConfigboolean

Whether the analyzed period has been computed using the project's configurations or the values in period

launchReportboolean

Set to true if you want to automatically launch a report creation after the analysis is completed. You will be notified on your webhook when the report status is COMPLETED (or ERROR).

Default: false

statusstring

State of the analysis:

  • CREATED: you've just created the analysis. Algoan is waiting for accounts and transactions to be uploaded
  • FETCHING_DATA: accounts and transactions are being fetched by an asynchronous process (e.g. bank_details_required resthook event), you can force the emission of this event by calling the POST /analyses endpoint without accounts and transactions.
  • IN_PROGRESS: as soon as banking details are uploaded, the analysis is in "IN_PROGRESS" state. If you try to request Credit Insights or Score, the API will return a 202 HTTP status code.
  • COMPLETED: means that the analysis process is finished. Conditions:
    • If Credit Insights is disabled, the analysis is complete as soon as scores and metadata are defined
    • If Score is disabled, the analysis is complete as soon as creditInsights and metadata are defined
    • If you've launched both Score and Credit Insights, the analysis is completed as soon as all fields are defined
  • ERROR: the analysis is in an error state if Score or Credit Insights cannot be calculated. Therefore, an error property will be defined, giving you the reason for failure.

Enum: CREATED,FETCHING_DATA,ERROR,IN_PROGRESS,COMPLETED

sourcestring

Describes the origin of the analysis' launch:

  • INTERNAL: relaunched by Algoan if an internal error occurred (will not be billed)
  • CLIENT: created and launched by a client
  • CASH_FLOW_UPDATE: created and launched after a client cashflow update
  • ACCOUNT_SELECTION_UPDATE: created and launched after a client updated the list of selected accounts
  • REFRESH: created and launched after a client requested a refresh of the analysis

Enum: INTERNAL,CLIENT,CASH_FLOW_UPDATE,ACCOUNT_SELECTION_UPDATE,REFRESH

dataOriginstring

Describes the origin of the analysis' data:

  • OPEN_BANKING: Data fetched from an aggregator.
  • PDF: Data fetched from a PDF file
  • UNKNOWN: Default value

Enum: OPEN_BANKING,PDF,UNKNOWN

createdAtdate-time

Analysis date of creation

updatedAtdate-time

Latest update of the analysis

metadataobject

Indicators about the Open Banking data used to execute the Analysis. Deprecated properties correspond to Credit Insights indicators.

referenceDatedate-time

Reference date of the analysis

creditInsightsobject

Indicators about the Open Banking data used to compute the Credit Insights product

minWindowDatedate

Date of the oldest transaction used to compute the product

maxWindowDatedate

Date of the most recent transaction used to compute the product

creditScoreobject

Indicators about the Open Banking data used to compute the Credit Score product

minWindowDatedate

Date of the oldest transaction used to compute the product

maxWindowDatedate

Date of the most recent transaction used to compute the product

activityScoreobject

A score measuring the activity of all aggregated accounts of a bank user. This score might be used to filter out users who are not active enough or to indicate that we probably don't have access to the main account.

valuenumber

Ranges from 1 to 100, and it can be interpreted as follows:

  • Less than 10: almost no activity (very few transactions, dormant account or new account).
  • Between 10 and 19: insufficient activity (generally too few transactions, little or no history).
  • Between 20 and 49: limited activity (often no regular income or bill payments) which suggests a secondary account.
  • 50 and above: normal activity and characteristic of an active and main account.
numberOfDaysInWindownumber

Number of analysed days.

calendararray[object]
monthstring

calendar month of the history

nbDaysnumber

Number of days of the month covered in the banking history. Allows to know which months are truncated.

creditInsightsobject

Object containing results from Credit Insights

versionstring

Credit Insights' version

cashFlowsarray[object]

All cash flows used to launch the analysis

typestring

Enum: CASH_DEPOSIT,CASH_WITHDRAWAL,CHECK_DEPOSIT,CHECK,INCOMING_TRANSFER,INCOMING_INTERNAL_TRANSFER,OUTGOING_TRANSFER,OUTGOING_INTERNAL_TRANSFER,CARD_REFUND,CARD,INCOMING_CARD,DIRECT_DEBIT,CREDIT,DEBIT

category

This is the list of all possible transactions categories. Some of them are not currently implemented yet. To have a detailed list, ask your Business Success Manager.

stringstring

Enum: INTERNAL_TRANSFER,NON_OPERATING_NEW_FINANCING,NON_OPERATING_SHAREHOLDER_INCOMING,RED_FLAG_REFUND_INCIDENT_FEES,RED_FLAG_REJECTION_ON_LOAN_REPAYMENT,RED_FLAG_REJECTION_ON_PAYMENT,RED_FLAG_RELEASE_FOR_ACCOUNT_SEIZURE,REFUND_SOCIAL,REVENUE,OTHER

labelstring

This value differs from labelRoot when a Cashflow can be split into two smaller pieces. These pieces share similarities in terms of amount and dates

totalAmountnumber

Total amount of the cash flow over the period of analysis. Transactions that are or has been rejected are included in this sum. Negative if expense, positive if income.

monthlyAmountnumber

Monthly amount of the cash flow.

calendararray[object]
monthstring

Calendar month of the transaction

amountnumber

Negative if expense, positive if income.

transactionsarray[object]

Concerned transactions

idstring

Unique transaction identifier

accountIdstring

Algoan's account identifier

descriptionstring

Description of the transaction. If description is an empty string, a 400 HTTP error will be returned.

datesobject

Dates associated with the transaction. At least one date is required, depending on the type of account. For instance, if it is a "checking" account, the "debitedAt" date is required.

debitedAtdate-time

Debit date as seen on the bank statement. This property may not be set if the transaction is not yet debited. This can occurs if there's a differed payement.

bookedAtdate-time

Realization date of the transaction

amountnumber

Amount of the transaction (negative if debit)

currencystring

Transaction's currency

Default: EUR

enrichmentsobject

Properties computed by Algoan

category

Value computed by Credit Insights. This property describes the reason why a transaction is made.

stringstring

Enum: INTERNAL_TRANSFER,NON_OPERATING_NEW_FINANCING,NON_OPERATING_SHAREHOLDER_INCOMING,RED_FLAG_REFUND_INCIDENT_FEES,RED_FLAG_REJECTION_ON_LOAN_REPAYMENT,RED_FLAG_REJECTION_ON_PAYMENT,RED_FLAG_RELEASE_FOR_ACCOUNT_SEIZURE,REFUND_SOCIAL,REVENUE,OTHER

typestring

Value computed by Credit Insights. This property describes the mode of transaction.

Enum: CASH_DEPOSIT,CASH_WITHDRAWAL,CHECK_DEPOSIT,CHECK,INCOMING_TRANSFER,INCOMING_INTERNAL_TRANSFER,OUTGOING_TRANSFER,OUTGOING_INTERNAL_TRANSFER,CARD_REFUND,CARD,INCOMING_CARD,DIRECT_DEBIT,CREDIT,DEBIT

isComingboolean

Indicates if the transaction will be debited or credited on the account in the future

aggregatorobject

Additional information relative to the transaction provided by the aggregator

idstring

id of the transaction provided by the aggregator

isNonAnalysedboolean

Indicates if the transaction is included in the last generated analysis

scoresobject

Scores assessing the probability of default Depending on your Score configuration you can have one or many scores computed. Each score will be billed independently.

creditScoreobject

default score with a 12-month horizon

versionstring

Score's version

valuenumber

Between 0 and 1000. 0 is risky, 1000 is safe. This number is a transformation of the probability of default that is usually set between 0 and 1 (where 0 is safe and 1 is risky)

maximum: 1000

minimum: 0

indicatorsobject

Indicators about credit score behavior. These values reflect the behavior of the score in a way that is comprehensible for the human eye. Each of them is like an axis where the value varies from -5 to 5. The combination of these numbers is correlated to the score value. A negative value means the axis impacts the score value in a bad way where a positive value can inflate the score value. This representation is a mirror of Algoan Score. Its objective is to provide keys to an understanding of Score for a specific business.

paymentScoreobject

default score with a 4-month horizon

versionstring

Score's version

valuenumber

Between 1 and 10. 1 is risky, 10 is safe. This number represents the interval of risk. It's based on a transformation of the probability of default

maximum: 10

minimum: 1

errorobject

This property is defined if the analysis is in an ERROR state

codestring

Description :

  • NOT_ENOUGH_TRANSACTIONS: At least 20 transactions debited between YYYY-MM-DD and YYYY-MM-DD are required to compute the analysis.
  • CURRENCY_NOT_SUPPORTED: No checking or credit card accounts with currency EUR have been detected
  • USAGE_NOT_SUPPORTED: No personal checking or credit card accounts have been detected
  • NO_CHECKING_ACCOUNT: At least one PERSONAL checking account with currency EUR is required for an analysis
  • ACCOUNT_TYPE_NOT_SUPPORTED: At least one checking account is required to compute the analysis
  • OWNERSHIP_NOT_SUPPORTED: No checking or credit card accounts with ownership different than ATTORNEY have been detected
  • LOW_ACTIVITY_SCORE: The activity score is too low to compute the analysis. This error requires to be activated in the project configuration.
  • ZERO_INCOME: The income is equal to 0. This error requires to be activated in the project configuration.

Enum: INTERNAL_ERROR,NOT_ENOUGH_TRANSACTIONS,CURRENCY_NOT_SUPPORTED,USAGE_NOT_SUPPORTED,NO_CHECKING_ACCOUNT,ACCOUNT_TYPE_NOT_SUPPORTED,OWNERSHIP_NOT_SUPPORTED,LOW_ACTIVITY_SCORE,ZERO_INCOME

messagestring

A human readable error message

400

Bad request

401

Unauthorized, please make sure you are properly authenticated

403

Forbidden, please make sure you are allowed to use this route

404

Analysis not found

Response
Copy

Update an analysis

Update an analysis.

  • If the payload contains field error, the analysis' error will be updated, the analysis' status will be set to ERROR and the updating process terminates immediately.
  • If the payload contains field accounts, only when the analysis has currently no account, the payload's accounts will be added to the analysis and then an analysis process will be launched.
  • If the payload contains field trigger, the analysis will be updated with the accounts and transactions but the trigger will be disabled. The analysis will not be computed until the trigger is enabled. You will be able to add accounts and transactions multiple times before triggering the analysis computation with or without different sources. If the sources are different, each call need to specify the format it uses, also the analysis format will be set to HYBRID.

Auth
Request Body

The update payload

objectobject

Account related to the analysis

formatstring

Original format of the open banking data (default to ALGOAN). BUDGET_INSIGHT_V2 refers to the second version of Budget Insight API.

Enum: ALGOAN,BUDGET_INSIGHT_V2_0,LINXO_CONNECT_DIRECT_ACCOUNT_API_V3,LINXO_CONNECT_ACCOUNT_API_V2,TINK_V2,MASTERCARD_OPEN_BANKING,MASTERCARD_OPEN_BANKING_ENTERPRISE_V2,HYBRID

Default: ALGOAN

errorobject

This property is defined if the analysis is in an ERROR state

codestring

Description :

  • NOT_ENOUGH_TRANSACTIONS: At least 20 transactions debited between YYYY-MM-DD and YYYY-MM-DD are required to compute the analysis.
  • CURRENCY_NOT_SUPPORTED: No checking or credit card accounts with currency EUR have been detected
  • USAGE_NOT_SUPPORTED: No personal checking or credit card accounts have been detected
  • NO_CHECKING_ACCOUNT: At least one PERSONAL checking account with currency EUR is required for an analysis
  • ACCOUNT_TYPE_NOT_SUPPORTED: At least one checking account is required to compute the analysis
  • OWNERSHIP_NOT_SUPPORTED: No checking or credit card accounts with ownership different than ATTORNEY have been detected
  • LOW_ACTIVITY_SCORE: The activity score is too low to compute the analysis. This error requires to be activated in the project configuration.
  • ZERO_INCOME: The income is equal to 0. This error requires to be activated in the project configuration.

Enum: INTERNAL_ERROR,NOT_ENOUGH_TRANSACTIONS,CURRENCY_NOT_SUPPORTED,USAGE_NOT_SUPPORTED,NO_CHECKING_ACCOUNT,ACCOUNT_TYPE_NOT_SUPPORTED,OWNERSHIP_NOT_SUPPORTED,LOW_ACTIVITY_SCORE,ZERO_INCOME

messagestring

A human readable error message

triggerboolean

Wether the analysis should be trigger directly or not.

If false, the analysis will be updated with the new accounts and transactions but will not be triggered. You will need to trigger it manually by calling POST /analyses/{analysisId}/trigger afterwards.

Default: true

accountsarray

Accounts including transactions (Algoan format)

typestring

Account's type. UNKNOWN accounts will not be included in the analysis.

Enum: CHECKING,SAVINGS,LOAN,CREDIT_CARD,UNKNOWN

balancenumber

Last known account balance

balanceDatedate-time

Last known account balance's date (format ISO)

currencystring

Account's currency. Non EUR accounts will not be included in the analysis.

ownersarray[object]

Owners of the account

namestring

name of the owner

numberstring

Account's number

ibanstring

Account's iban

bicstring

Account's bic

namestring

Account's name taken from the bank's website

bankobject

Owner's bank information

idstring

Aggregator unique identifier

logoUrlstring

URL of the bank's logo

namestring

Name of the bank

countrystring

Country Code of the bank

usagestring

Purpose of the account. PROFESSIONAL will not be included in the analysis.

Enum: PROFESSIONAL,PERSONAL,UNKNOWN

ownershipstring

Relationship between the business and the account. ATTORNEY will not be included in the analysis.

Enum: HOLDER,CO_HOLDER,ATTORNEY,OTHER

countrystring

The alpha-2 code country of the account (format ISO 3166-1 alpha-2)

comingnumber

Amount of coming operations (not yet debited)

detailsobject

The details of the account

savingsobject

Details specific to SAVINGS type accounts

typestring

Savings account's type

Enum: SHORT_TERM,LONG_TERM,UNKNOWN

openedAtdate-time

Opening date of the saving account

maximumAmountnumber

Maximum amount authorized for this account

interestRatenumber

Interest rate of the saving account (between 0 and 1)

loanobject
typestring

Details specific to LOAN type accounts

Enum: REVOLVING,PERSONAL,MORTGAGE,OTHER

amountnumber

Loan's amount

startDatedate-time

Loan's start date (format ISO)

endDatedate-time

Loan's end date (format ISO)

durationnumber

Loan's duration in months

insuranceLabelstring

Label of the insurance

paymentnumber

Monthly amount of the loan

remainingCapitalnumber

Amount of capital left to repay

interestRatenumber

Interest rate of the loan (between 0 and 1)

aggregatorobject

Informations specific to the aggregator

idstring

Unique identifier set by the aggregator

isComputedboolean

Whether the account will be / has been used during the Analysis computation

Default: true

transactionsarray[object]
descriptionstring

Description of the transaction. If description is an empty string, a 400 HTTP error will be returned.

datesobject

Dates associated with the transaction. At least one date is required, depending on the type of account. For instance, if it is a "checking" account, the "debitedAt" date is required.

debitedAtdate-time

Debit date as seen on the bank statement. This property may not be set if the transaction is not yet debited. This can occurs if there's a differed payement.

bookedAtdate-time

Realization date of the transaction

amountnumber

Amount of the transaction (negative if debit)

currencystring

Transaction's currency

Default: EUR

isComingboolean

Indicates if the transaction will be debited or credited on the account in the future

aggregatorobject

Additional information relative to the transaction provided by the aggregator

idstring

id of the transaction provided by the aggregator

categorystring

Category provided by the aggregator

typestring

Type provided by the aggregator

PATCH /v2/businesses/{id}/analyses/{analysisId}
Copy
Responses
200

Analysis in progress

objectobject

An analysis launched with open banking data

idstring

Unique analysis identifier

formatstring

Original format of the open banking data (default to ALGOAN). BUDGET_INSIGHT_V2 refers to the second version of Budget Insight API.

Enum: ALGOAN,BUDGET_INSIGHT_V2_0,LINXO_CONNECT_DIRECT_ACCOUNT_API_V3,LINXO_CONNECT_ACCOUNT_API_V2,TINK_V2,MASTERCARD_OPEN_BANKING,MASTERCARD_OPEN_BANKING_ENTERPRISE_V2,HYBRID

Default: ALGOAN

parametersobject

Optional parameters related to the analysis.

If disableScores and disableCreditInsights are both set to true, the analysis will be have to be triggered manually later by calling POST /analyses/{analysisId}/trigger with { disableScores: false, disableCreditInsights: false }.

disableScoresboolean

Set to true if you only want to launch a Credit Insights analysis

Default: false

disableCreditInsightsboolean

Set to true if you only want to launch the Score

Default: false

useBalanceDateboolean

Set to true if you want to use the most recent account balance date as a reference date for the analysis instead of using the current date

Default: false

periodobject

Parameters used to compute the analyzed period.

modestring

Analysis configuration mode:

  • DAYS: Analysis is computed using the transactions of the m past days.
  • MONTHS: Analysis is computed using the transactions of the n last rolling months.
  • MONTHS_TRUNCATED: Analysis is computed using the transactions of the n last calendar months.
  • MONTHS_AND_CURRENT: Analysis is computed using the transactions of the n last calendar months and the current month.

m and n refer respectively to the value of numberOfDays and numberOfMonths.

Enum: DAYS,MONTHS,MONTHS_TRUNCATED,MONTHS_AND_CURRENT

numberOfDaysnumber

Number of analyzed days.

numberOfMonthsnumber

Number of analyzed months.

includeCheckingAccountsOnTruncateWindowboolean

Used if mode is MONTHS_TRUNCATED. If true only the transactions of checking accounts are used to compute analysis window dates.

isComputedUsingProjectConfigboolean

Whether the analyzed period has been computed using the project's configurations or the values in period

launchReportboolean

Set to true if you want to automatically launch a report creation after the analysis is completed. You will be notified on your webhook when the report status is COMPLETED (or ERROR).

Default: false

statusstring

State of the analysis:

  • CREATED: you've just created the analysis. Algoan is waiting for accounts and transactions to be uploaded
  • FETCHING_DATA: accounts and transactions are being fetched by an asynchronous process (e.g. bank_details_required resthook event), you can force the emission of this event by calling the POST /analyses endpoint without accounts and transactions.
  • IN_PROGRESS: as soon as banking details are uploaded, the analysis is in "IN_PROGRESS" state. If you try to request Credit Insights or Score, the API will return a 202 HTTP status code.
  • COMPLETED: means that the analysis process is finished. Conditions:
    • If Credit Insights is disabled, the analysis is complete as soon as scores and metadata are defined
    • If Score is disabled, the analysis is complete as soon as creditInsights and metadata are defined
    • If you've launched both Score and Credit Insights, the analysis is completed as soon as all fields are defined
  • ERROR: the analysis is in an error state if Score or Credit Insights cannot be calculated. Therefore, an error property will be defined, giving you the reason for failure.

Enum: CREATED,FETCHING_DATA,ERROR,IN_PROGRESS,COMPLETED

sourcestring

Describes the origin of the analysis' launch:

  • INTERNAL: relaunched by Algoan if an internal error occurred (will not be billed)
  • CLIENT: created and launched by a client
  • CASH_FLOW_UPDATE: created and launched after a client cashflow update
  • ACCOUNT_SELECTION_UPDATE: created and launched after a client updated the list of selected accounts
  • REFRESH: created and launched after a client requested a refresh of the analysis

Enum: INTERNAL,CLIENT,CASH_FLOW_UPDATE,ACCOUNT_SELECTION_UPDATE,REFRESH

dataOriginstring

Describes the origin of the analysis' data:

  • OPEN_BANKING: Data fetched from an aggregator.
  • PDF: Data fetched from a PDF file
  • UNKNOWN: Default value

Enum: OPEN_BANKING,PDF,UNKNOWN

createdAtdate-time

Analysis date of creation

updatedAtdate-time

Latest update of the analysis

metadataobject

Indicators about the Open Banking data used to execute the Analysis. Deprecated properties correspond to Credit Insights indicators.

referenceDatedate-time

Reference date of the analysis

creditInsightsobject

Indicators about the Open Banking data used to compute the Credit Insights product

minWindowDatedate

Date of the oldest transaction used to compute the product

maxWindowDatedate

Date of the most recent transaction used to compute the product

creditScoreobject

Indicators about the Open Banking data used to compute the Credit Score product

minWindowDatedate

Date of the oldest transaction used to compute the product

maxWindowDatedate

Date of the most recent transaction used to compute the product

activityScoreobject

A score measuring the activity of all aggregated accounts of a bank user. This score might be used to filter out users who are not active enough or to indicate that we probably don't have access to the main account.

valuenumber

Ranges from 1 to 100, and it can be interpreted as follows:

  • Less than 10: almost no activity (very few transactions, dormant account or new account).
  • Between 10 and 19: insufficient activity (generally too few transactions, little or no history).
  • Between 20 and 49: limited activity (often no regular income or bill payments) which suggests a secondary account.
  • 50 and above: normal activity and characteristic of an active and main account.
numberOfDaysInWindownumber

Number of analysed days.

calendararray[object]
monthstring

calendar month of the history

nbDaysnumber

Number of days of the month covered in the banking history. Allows to know which months are truncated.

creditInsightsobject

Object containing results from Credit Insights

versionstring

Credit Insights' version

cashFlowsarray[object]

All cash flows used to launch the analysis

typestring

Enum: CASH_DEPOSIT,CASH_WITHDRAWAL,CHECK_DEPOSIT,CHECK,INCOMING_TRANSFER,INCOMING_INTERNAL_TRANSFER,OUTGOING_TRANSFER,OUTGOING_INTERNAL_TRANSFER,CARD_REFUND,CARD,INCOMING_CARD,DIRECT_DEBIT,CREDIT,DEBIT

category

This is the list of all possible transactions categories. Some of them are not currently implemented yet. To have a detailed list, ask your Business Success Manager.

stringstring

Enum: INTERNAL_TRANSFER,NON_OPERATING_NEW_FINANCING,NON_OPERATING_SHAREHOLDER_INCOMING,RED_FLAG_REFUND_INCIDENT_FEES,RED_FLAG_REJECTION_ON_LOAN_REPAYMENT,RED_FLAG_REJECTION_ON_PAYMENT,RED_FLAG_RELEASE_FOR_ACCOUNT_SEIZURE,REFUND_SOCIAL,REVENUE,OTHER

labelstring

This value differs from labelRoot when a Cashflow can be split into two smaller pieces. These pieces share similarities in terms of amount and dates

totalAmountnumber

Total amount of the cash flow over the period of analysis. Transactions that are or has been rejected are included in this sum. Negative if expense, positive if income.

monthlyAmountnumber

Monthly amount of the cash flow.

calendararray[object]
monthstring

Calendar month of the transaction

amountnumber

Negative if expense, positive if income.

transactionsarray[object]

Concerned transactions

idstring

Unique transaction identifier

accountIdstring

Algoan's account identifier

descriptionstring

Description of the transaction. If description is an empty string, a 400 HTTP error will be returned.

datesobject

Dates associated with the transaction. At least one date is required, depending on the type of account. For instance, if it is a "checking" account, the "debitedAt" date is required.

debitedAtdate-time

Debit date as seen on the bank statement. This property may not be set if the transaction is not yet debited. This can occurs if there's a differed payement.

bookedAtdate-time

Realization date of the transaction

amountnumber

Amount of the transaction (negative if debit)

currencystring

Transaction's currency

Default: EUR

enrichmentsobject

Properties computed by Algoan

category

Value computed by Credit Insights. This property describes the reason why a transaction is made.

stringstring

Enum: INTERNAL_TRANSFER,NON_OPERATING_NEW_FINANCING,NON_OPERATING_SHAREHOLDER_INCOMING,RED_FLAG_REFUND_INCIDENT_FEES,RED_FLAG_REJECTION_ON_LOAN_REPAYMENT,RED_FLAG_REJECTION_ON_PAYMENT,RED_FLAG_RELEASE_FOR_ACCOUNT_SEIZURE,REFUND_SOCIAL,REVENUE,OTHER

typestring

Value computed by Credit Insights. This property describes the mode of transaction.

Enum: CASH_DEPOSIT,CASH_WITHDRAWAL,CHECK_DEPOSIT,CHECK,INCOMING_TRANSFER,INCOMING_INTERNAL_TRANSFER,OUTGOING_TRANSFER,OUTGOING_INTERNAL_TRANSFER,CARD_REFUND,CARD,INCOMING_CARD,DIRECT_DEBIT,CREDIT,DEBIT

isComingboolean

Indicates if the transaction will be debited or credited on the account in the future

aggregatorobject

Additional information relative to the transaction provided by the aggregator

idstring

id of the transaction provided by the aggregator

isNonAnalysedboolean

Indicates if the transaction is included in the last generated analysis

scoresobject

Scores assessing the probability of default Depending on your Score configuration you can have one or many scores computed. Each score will be billed independently.

creditScoreobject

default score with a 12-month horizon

versionstring

Score's version

valuenumber

Between 0 and 1000. 0 is risky, 1000 is safe. This number is a transformation of the probability of default that is usually set between 0 and 1 (where 0 is safe and 1 is risky)

maximum: 1000

minimum: 0

indicatorsobject

Indicators about credit score behavior. These values reflect the behavior of the score in a way that is comprehensible for the human eye. Each of them is like an axis where the value varies from -5 to 5. The combination of these numbers is correlated to the score value. A negative value means the axis impacts the score value in a bad way where a positive value can inflate the score value. This representation is a mirror of Algoan Score. Its objective is to provide keys to an understanding of Score for a specific business.

paymentScoreobject

default score with a 4-month horizon

versionstring

Score's version

valuenumber

Between 1 and 10. 1 is risky, 10 is safe. This number represents the interval of risk. It's based on a transformation of the probability of default

maximum: 10

minimum: 1

errorobject

This property is defined if the analysis is in an ERROR state

codestring

Description :

  • NOT_ENOUGH_TRANSACTIONS: At least 20 transactions debited between YYYY-MM-DD and YYYY-MM-DD are required to compute the analysis.
  • CURRENCY_NOT_SUPPORTED: No checking or credit card accounts with currency EUR have been detected
  • USAGE_NOT_SUPPORTED: No personal checking or credit card accounts have been detected
  • NO_CHECKING_ACCOUNT: At least one PERSONAL checking account with currency EUR is required for an analysis
  • ACCOUNT_TYPE_NOT_SUPPORTED: At least one checking account is required to compute the analysis
  • OWNERSHIP_NOT_SUPPORTED: No checking or credit card accounts with ownership different than ATTORNEY have been detected
  • LOW_ACTIVITY_SCORE: The activity score is too low to compute the analysis. This error requires to be activated in the project configuration.
  • ZERO_INCOME: The income is equal to 0. This error requires to be activated in the project configuration.

Enum: INTERNAL_ERROR,NOT_ENOUGH_TRANSACTIONS,CURRENCY_NOT_SUPPORTED,USAGE_NOT_SUPPORTED,NO_CHECKING_ACCOUNT,ACCOUNT_TYPE_NOT_SUPPORTED,OWNERSHIP_NOT_SUPPORTED,LOW_ACTIVITY_SCORE,ZERO_INCOME

messagestring

A human readable error message

400

Bad request

401

Unauthorized, please make sure you are properly authenticated

403

Forbidden, please make sure you are allowed to use this route

404

Analysis not found

Response
Copy

Trigger the analysis computation

Trigger the analysis computation.

This endpoint allows you to create an analysis from multiple sources (aggregators, e.g. Powens and Mastercard Open Banking). It will need to be done in 3 steps:

  1. Create an empty analysis: POST /analyses without any accounts
  2. Update the analysis with the accounts and transactions but disable the trigger: PATCH /analyses/{analysisId} for each source { format: MASTERCARD_OPEN_BANKING_ENTERPRISE_V2, trigger: false }
  3. After all the sources have been fetched, trigger the analysis computation: POST /analyses/{analysisId}/trigger

This endpoint also allows you to initiate an analysis at your discretion. You have the flexibility to include the accounts in several PATCH /analyses/:id requests, and then initiate the analysis once all the accounts have been successfully patched.

Alternatively, if you have created an analysis with the parameters disableScores and disableCreditInsights set to true, you can trigger the analysis computation switching the same parameters to false.

Auth
Request Body

The trigger payload

objectobject
disableScoresboolean

Set to true if you only want to launch a Credit Insights analysis

By default, it will be set to the value set in the POST /analyses request

disableCreditInsightsboolean

Set to true if you only want to launch the Score

By default, it will be set to the value set in the POST /analyses request

POST /v2/businesses/{id}/analyses/{analysisId}/trigger
Copy
Responses
200

Analysis in progress

objectobject

An analysis launched with open banking data

idstring

Unique analysis identifier

formatstring

Original format of the open banking data (default to ALGOAN). BUDGET_INSIGHT_V2 refers to the second version of Budget Insight API.

Enum: ALGOAN,BUDGET_INSIGHT_V2_0,LINXO_CONNECT_DIRECT_ACCOUNT_API_V3,LINXO_CONNECT_ACCOUNT_API_V2,TINK_V2,MASTERCARD_OPEN_BANKING,MASTERCARD_OPEN_BANKING_ENTERPRISE_V2,HYBRID

Default: ALGOAN

parametersobject

Optional parameters related to the analysis.

If disableScores and disableCreditInsights are both set to true, the analysis will be have to be triggered manually later by calling POST /analyses/{analysisId}/trigger with { disableScores: false, disableCreditInsights: false }.

disableScoresboolean

Set to true if you only want to launch a Credit Insights analysis

Default: false

disableCreditInsightsboolean

Set to true if you only want to launch the Score

Default: false

useBalanceDateboolean

Set to true if you want to use the most recent account balance date as a reference date for the analysis instead of using the current date

Default: false

periodobject

Parameters used to compute the analyzed period.

modestring

Analysis configuration mode:

  • DAYS: Analysis is computed using the transactions of the m past days.
  • MONTHS: Analysis is computed using the transactions of the n last rolling months.
  • MONTHS_TRUNCATED: Analysis is computed using the transactions of the n last calendar months.
  • MONTHS_AND_CURRENT: Analysis is computed using the transactions of the n last calendar months and the current month.

m and n refer respectively to the value of numberOfDays and numberOfMonths.

Enum: DAYS,MONTHS,MONTHS_TRUNCATED,MONTHS_AND_CURRENT

numberOfDaysnumber

Number of analyzed days.

numberOfMonthsnumber

Number of analyzed months.

includeCheckingAccountsOnTruncateWindowboolean

Used if mode is MONTHS_TRUNCATED. If true only the transactions of checking accounts are used to compute analysis window dates.

isComputedUsingProjectConfigboolean

Whether the analyzed period has been computed using the project's configurations or the values in period

launchReportboolean

Set to true if you want to automatically launch a report creation after the analysis is completed. You will be notified on your webhook when the report status is COMPLETED (or ERROR).

Default: false

statusstring

State of the analysis:

  • CREATED: you've just created the analysis. Algoan is waiting for accounts and transactions to be uploaded
  • FETCHING_DATA: accounts and transactions are being fetched by an asynchronous process (e.g. bank_details_required resthook event), you can force the emission of this event by calling the POST /analyses endpoint without accounts and transactions.
  • IN_PROGRESS: as soon as banking details are uploaded, the analysis is in "IN_PROGRESS" state. If you try to request Credit Insights or Score, the API will return a 202 HTTP status code.
  • COMPLETED: means that the analysis process is finished. Conditions:
    • If Credit Insights is disabled, the analysis is complete as soon as scores and metadata are defined
    • If Score is disabled, the analysis is complete as soon as creditInsights and metadata are defined
    • If you've launched both Score and Credit Insights, the analysis is completed as soon as all fields are defined
  • ERROR: the analysis is in an error state if Score or Credit Insights cannot be calculated. Therefore, an error property will be defined, giving you the reason for failure.

Enum: CREATED,FETCHING_DATA,ERROR,IN_PROGRESS,COMPLETED

sourcestring

Describes the origin of the analysis' launch:

  • INTERNAL: relaunched by Algoan if an internal error occurred (will not be billed)
  • CLIENT: created and launched by a client
  • CASH_FLOW_UPDATE: created and launched after a client cashflow update
  • ACCOUNT_SELECTION_UPDATE: created and launched after a client updated the list of selected accounts
  • REFRESH: created and launched after a client requested a refresh of the analysis

Enum: INTERNAL,CLIENT,CASH_FLOW_UPDATE,ACCOUNT_SELECTION_UPDATE,REFRESH

dataOriginstring

Describes the origin of the analysis' data:

  • OPEN_BANKING: Data fetched from an aggregator.
  • PDF: Data fetched from a PDF file
  • UNKNOWN: Default value

Enum: OPEN_BANKING,PDF,UNKNOWN

createdAtdate-time

Analysis date of creation

updatedAtdate-time

Latest update of the analysis

metadataobject

Indicators about the Open Banking data used to execute the Analysis. Deprecated properties correspond to Credit Insights indicators.

referenceDatedate-time

Reference date of the analysis

creditInsightsobject

Indicators about the Open Banking data used to compute the Credit Insights product

minWindowDatedate

Date of the oldest transaction used to compute the product

maxWindowDatedate

Date of the most recent transaction used to compute the product

creditScoreobject

Indicators about the Open Banking data used to compute the Credit Score product

minWindowDatedate

Date of the oldest transaction used to compute the product

maxWindowDatedate

Date of the most recent transaction used to compute the product

activityScoreobject

A score measuring the activity of all aggregated accounts of a bank user. This score might be used to filter out users who are not active enough or to indicate that we probably don't have access to the main account.

valuenumber

Ranges from 1 to 100, and it can be interpreted as follows:

  • Less than 10: almost no activity (very few transactions, dormant account or new account).
  • Between 10 and 19: insufficient activity (generally too few transactions, little or no history).
  • Between 20 and 49: limited activity (often no regular income or bill payments) which suggests a secondary account.
  • 50 and above: normal activity and characteristic of an active and main account.
numberOfDaysInWindownumber

Number of analysed days.

calendararray[object]
monthstring

calendar month of the history

nbDaysnumber

Number of days of the month covered in the banking history. Allows to know which months are truncated.

creditInsightsobject

Object containing results from Credit Insights

versionstring

Credit Insights' version

cashFlowsarray[object]

All cash flows used to launch the analysis

typestring

Enum: CASH_DEPOSIT,CASH_WITHDRAWAL,CHECK_DEPOSIT,CHECK,INCOMING_TRANSFER,INCOMING_INTERNAL_TRANSFER,OUTGOING_TRANSFER,OUTGOING_INTERNAL_TRANSFER,CARD_REFUND,CARD,INCOMING_CARD,DIRECT_DEBIT,CREDIT,DEBIT

category

This is the list of all possible transactions categories. Some of them are not currently implemented yet. To have a detailed list, ask your Business Success Manager.

stringstring

Enum: INTERNAL_TRANSFER,NON_OPERATING_NEW_FINANCING,NON_OPERATING_SHAREHOLDER_INCOMING,RED_FLAG_REFUND_INCIDENT_FEES,RED_FLAG_REJECTION_ON_LOAN_REPAYMENT,RED_FLAG_REJECTION_ON_PAYMENT,RED_FLAG_RELEASE_FOR_ACCOUNT_SEIZURE,REFUND_SOCIAL,REVENUE,OTHER

labelstring

This value differs from labelRoot when a Cashflow can be split into two smaller pieces. These pieces share similarities in terms of amount and dates

totalAmountnumber

Total amount of the cash flow over the period of analysis. Transactions that are or has been rejected are included in this sum. Negative if expense, positive if income.

monthlyAmountnumber

Monthly amount of the cash flow.

calendararray[object]
monthstring

Calendar month of the transaction

amountnumber

Negative if expense, positive if income.

transactionsarray[object]

Concerned transactions

idstring

Unique transaction identifier

accountIdstring

Algoan's account identifier

descriptionstring

Description of the transaction. If description is an empty string, a 400 HTTP error will be returned.

datesobject

Dates associated with the transaction. At least one date is required, depending on the type of account. For instance, if it is a "checking" account, the "debitedAt" date is required.

debitedAtdate-time

Debit date as seen on the bank statement. This property may not be set if the transaction is not yet debited. This can occurs if there's a differed payement.

bookedAtdate-time

Realization date of the transaction

amountnumber

Amount of the transaction (negative if debit)

currencystring

Transaction's currency

Default: EUR

enrichmentsobject

Properties computed by Algoan

category

Value computed by Credit Insights. This property describes the reason why a transaction is made.

stringstring

Enum: INTERNAL_TRANSFER,NON_OPERATING_NEW_FINANCING,NON_OPERATING_SHAREHOLDER_INCOMING,RED_FLAG_REFUND_INCIDENT_FEES,RED_FLAG_REJECTION_ON_LOAN_REPAYMENT,RED_FLAG_REJECTION_ON_PAYMENT,RED_FLAG_RELEASE_FOR_ACCOUNT_SEIZURE,REFUND_SOCIAL,REVENUE,OTHER

typestring

Value computed by Credit Insights. This property describes the mode of transaction.

Enum: CASH_DEPOSIT,CASH_WITHDRAWAL,CHECK_DEPOSIT,CHECK,INCOMING_TRANSFER,INCOMING_INTERNAL_TRANSFER,OUTGOING_TRANSFER,OUTGOING_INTERNAL_TRANSFER,CARD_REFUND,CARD,INCOMING_CARD,DIRECT_DEBIT,CREDIT,DEBIT

isComingboolean

Indicates if the transaction will be debited or credited on the account in the future

aggregatorobject

Additional information relative to the transaction provided by the aggregator

idstring

id of the transaction provided by the aggregator

isNonAnalysedboolean

Indicates if the transaction is included in the last generated analysis

scoresobject

Scores assessing the probability of default Depending on your Score configuration you can have one or many scores computed. Each score will be billed independently.

creditScoreobject

default score with a 12-month horizon

versionstring

Score's version

valuenumber

Between 0 and 1000. 0 is risky, 1000 is safe. This number is a transformation of the probability of default that is usually set between 0 and 1 (where 0 is safe and 1 is risky)

maximum: 1000

minimum: 0

indicatorsobject

Indicators about credit score behavior. These values reflect the behavior of the score in a way that is comprehensible for the human eye. Each of them is like an axis where the value varies from -5 to 5. The combination of these numbers is correlated to the score value. A negative value means the axis impacts the score value in a bad way where a positive value can inflate the score value. This representation is a mirror of Algoan Score. Its objective is to provide keys to an understanding of Score for a specific business.

paymentScoreobject

default score with a 4-month horizon

versionstring

Score's version

valuenumber

Between 1 and 10. 1 is risky, 10 is safe. This number represents the interval of risk. It's based on a transformation of the probability of default

maximum: 10

minimum: 1

errorobject

This property is defined if the analysis is in an ERROR state

codestring

Description :

  • NOT_ENOUGH_TRANSACTIONS: At least 20 transactions debited between YYYY-MM-DD and YYYY-MM-DD are required to compute the analysis.
  • CURRENCY_NOT_SUPPORTED: No checking or credit card accounts with currency EUR have been detected
  • USAGE_NOT_SUPPORTED: No personal checking or credit card accounts have been detected
  • NO_CHECKING_ACCOUNT: At least one PERSONAL checking account with currency EUR is required for an analysis
  • ACCOUNT_TYPE_NOT_SUPPORTED: At least one checking account is required to compute the analysis
  • OWNERSHIP_NOT_SUPPORTED: No checking or credit card accounts with ownership different than ATTORNEY have been detected
  • LOW_ACTIVITY_SCORE: The activity score is too low to compute the analysis. This error requires to be activated in the project configuration.
  • ZERO_INCOME: The income is equal to 0. This error requires to be activated in the project configuration.

Enum: INTERNAL_ERROR,NOT_ENOUGH_TRANSACTIONS,CURRENCY_NOT_SUPPORTED,USAGE_NOT_SUPPORTED,NO_CHECKING_ACCOUNT,ACCOUNT_TYPE_NOT_SUPPORTED,OWNERSHIP_NOT_SUPPORTED,LOW_ACTIVITY_SCORE,ZERO_INCOME

messagestring

A human readable error message

400

Bad request

401

Unauthorized, please make sure you are properly authenticated

403

Forbidden, please make sure you are allowed to use this route

404

Analysis not found

Response
Copy

Get the daily balances of the analysis

Get the sum of daily balances for all aggregated accounts in the analysis.

Auth
GET /v2/businesses/{id}/analyses/{analysisId}/balances
Responses
200

List of balances

objectobject
resourcesarray[object]
balancenumber

Account balance at a specific date

datedate-time

Date of the account balance (format ISO)

paginationobject

details about the pagination of returned resources

nextstring

Next page

previousstring

Previous page

firststring

First page

laststring

Last page

totalPagesnumber

Total number of pages

totalResourcesnumber

total number of resources

401

Unauthorized, please make sure you are properly authenticated

403

Forbidden, please make sure you are allowed to use this route

404

Business/Analysis not found

Response

Score

Score attached to the analysis

Get scores

Returns the analysis score

Auth
Path Params
idstring

ID of the business to fetch

analysisIdstring

ID of the analysis to fetch

GET /v2/businesses/{id}/analyses/{analysisId}/scores
Responses
200

Score response

objectobject

Scores assessing the probability of default Depending on your Score configuration you can have one or many scores computed. Each score will be billed independently.

creditScoreobject

default score with a 12-month horizon

versionstring

Score's version

valuenumber

Between 0 and 1000. 0 is risky, 1000 is safe. This number is a transformation of the probability of default that is usually set between 0 and 1 (where 0 is safe and 1 is risky)

maximum: 1000

minimum: 0

indicatorsobject

Indicators about credit score behavior. These values reflect the behavior of the score in a way that is comprehensible for the human eye. Each of them is like an axis where the value varies from -5 to 5. The combination of these numbers is correlated to the score value. A negative value means the axis impacts the score value in a bad way where a positive value can inflate the score value. This representation is a mirror of Algoan Score. Its objective is to provide keys to an understanding of Score for a specific business.

paymentScoreobject

default score with a 4-month horizon

versionstring

Score's version

valuenumber

Between 1 and 10. 1 is risky, 10 is safe. This number represents the interval of risk. It's based on a transformation of the probability of default

maximum: 10

minimum: 1

202

Score computation is still in progress

401

Unauthorized, please make sure you are properly authenticated

403

Forbidden, please make sure you are allowed to use this route

404

Business/Analysis not found

422

Unprocessable Entity, please make sure the product is not disabled on the project

Response

Get all accounts

Get a list of businesses's accounts used for the analysis

Auth
GET /v2/businesses/{id}/analyses/{analysisId}/accounts
Responses
200

List of accounts

objectobject
resourcesarray[object]
idstring

Unique Account identifier

typestring

Account's type. UNKNOWN accounts will not be included in the analysis.

Enum: CHECKING,SAVINGS,LOAN,CREDIT_CARD,UNKNOWN

balancenumber

Last known account balance

balanceDatedate-time

Last known account balance's date (format ISO)

currencystring

Account's currency. Non EUR accounts will not be included in the analysis.

ownersarray[object]

Owners of the account

namestring

name of the owner

numberstring

Account's number

ibanstring

Account's iban

bicstring

Account's bic

namestring

Account's name taken from the bank's website

bankobject

Owner's bank information

idstring

Aggregator unique identifier

logoUrlstring

URL of the bank's logo

namestring

Name of the bank

countrystring

Country Code of the bank

usagestring

Purpose of the account. PROFESSIONAL will not be included in the analysis.

Enum: PROFESSIONAL,PERSONAL,UNKNOWN

ownershipstring

Relationship between the business and the account. ATTORNEY will not be included in the analysis.

Enum: HOLDER,CO_HOLDER,ATTORNEY,OTHER

countrystring

The alpha-2 code country of the account (format ISO 3166-1 alpha-2)

createdAtdate-time

Algoan's account date of creation

updatedAtdate-time

Latest update of the account

comingnumber

Amount of coming operations (not yet debited)

detailsobject

The details of the account

savingsobject

Details specific to SAVINGS type accounts

typestring

Savings account's type

Enum: SHORT_TERM,LONG_TERM,UNKNOWN

openedAtdate-time

Opening date of the saving account

maximumAmountnumber

Maximum amount authorized for this account

interestRatenumber

Interest rate of the saving account (between 0 and 1)

loanobject
typestring

Details specific to LOAN type accounts

Enum: REVOLVING,PERSONAL,MORTGAGE,OTHER

amountnumber

Loan's amount

startDatedate-time

Loan's start date (format ISO)

endDatedate-time

Loan's end date (format ISO)

durationnumber

Loan's duration in months

insuranceLabelstring

Label of the insurance

paymentnumber

Monthly amount of the loan

remainingCapitalnumber

Amount of capital left to repay

interestRatenumber

Interest rate of the loan (between 0 and 1)

aggregatorobject

Informations specific to the aggregator

idstring

Unique identifier set by the aggregator

relatedAccountIdsarray[string]

Ids of the accounts related to the current account. Checking accounts can be related to more than one credit card Accounts. Credit card accounts can be related to one checking account at most. This fields is filled only if Credit Insights is calculated

isComputedboolean

Whether the account will be / has been used during the Analysis computation

Default: true

isMergedboolean

Whether the account has been merged with another account

This will happen when the same account is retrieved multiple times from the same bank Or after a refresh of the aggregation.

Default: false

paginationobject

details about the pagination of returned resources

nextstring

Next page

previousstring

Previous page

firststring

First page

laststring

Last page

totalPagesnumber

Total number of pages

totalResourcesnumber

total number of resources

401

Unauthorized, please make sure you are properly authenticated

403

Forbidden, please make sure you are allowed to use this route

404

Business/Analysis not found

Response

Get the daily balances

Get the daily balances for one account used for the analysis

Auth
GET /v2/businesses/{id}/analyses/{analysisId}/accounts/{accountId}/balances
Responses
200

List of balances

objectobject
resourcesarray[object]
balancenumber

Account balance at a specific date

datedate-time

Date of the account balance (format ISO)

paginationobject

details about the pagination of returned resources

nextstring

Next page

previousstring

Previous page

firststring

First page

laststring

Last page

totalPagesnumber

Total number of pages

totalResourcesnumber

total number of resources

401

Unauthorized, please make sure you are properly authenticated

403

Forbidden, please make sure you are allowed to use this route

404

Business/Analysis not found

Response

Get all transactions

Get all business's transactions used for the analysis

Auth
GET /v2/businesses/{id}/analyses/{analysisId}/transactions
Responses
200

List of transactions

objectobject
resourcesarray[object]
idstring

Unique transaction identifier

accountIdstring

Algoan's account identifier

descriptionstring

Description of the transaction. If description is an empty string, a 400 HTTP error will be returned.

datesobject

Dates associated with the transaction. At least one date is required, depending on the type of account. For instance, if it is a "checking" account, the "debitedAt" date is required.

debitedAtdate-time

Debit date as seen on the bank statement. This property may not be set if the transaction is not yet debited. This can occurs if there's a differed payement.

bookedAtdate-time

Realization date of the transaction

amountnumber

Amount of the transaction (negative if debit)

currencystring

Transaction's currency

Default: EUR

enrichmentsobject

Properties computed by Algoan

category

Value computed by Credit Insights. This property describes the reason why a transaction is made.

stringstring

Enum: INTERNAL_TRANSFER,NON_OPERATING_NEW_FINANCING,NON_OPERATING_SHAREHOLDER_INCOMING,RED_FLAG_REFUND_INCIDENT_FEES,RED_FLAG_REJECTION_ON_LOAN_REPAYMENT,RED_FLAG_REJECTION_ON_PAYMENT,RED_FLAG_RELEASE_FOR_ACCOUNT_SEIZURE,REFUND_SOCIAL,REVENUE,OTHER

typestring

Value computed by Credit Insights. This property describes the mode of transaction.

Enum: CASH_DEPOSIT,CASH_WITHDRAWAL,CHECK_DEPOSIT,CHECK,INCOMING_TRANSFER,INCOMING_INTERNAL_TRANSFER,OUTGOING_TRANSFER,OUTGOING_INTERNAL_TRANSFER,CARD_REFUND,CARD,INCOMING_CARD,DIRECT_DEBIT,CREDIT,DEBIT

isComingboolean

Indicates if the transaction will be debited or credited on the account in the future

aggregatorobject

Additional information relative to the transaction provided by the aggregator

idstring

id of the transaction provided by the aggregator

isNonAnalysedboolean

Indicates if the transaction is included in the last generated analysis

paginationobject

details about the pagination of returned resources

nextstring

Next page

previousstring

Previous page

firststring

First page

laststring

Last page

totalPagesnumber

Total number of pages

totalResourcesnumber

total number of resources

401

Unauthorized, please make sure you are properly authenticated

403

Forbidden, please make sure you are allowed to use this route

404

Business/Analysis not found

Response

Get all account's transactions

Get a list of business's transactions for one account used for the analysis

Auth
GET /v2/businesses/{id}/analyses/{analysisId}/accounts/{accountId}/transactions
Responses
200

List of transactions

objectobject
resourcesarray[object]
idstring

Unique transaction identifier

accountIdstring

Algoan's account identifier

descriptionstring

Description of the transaction. If description is an empty string, a 400 HTTP error will be returned.

datesobject

Dates associated with the transaction. At least one date is required, depending on the type of account. For instance, if it is a "checking" account, the "debitedAt" date is required.

debitedAtdate-time

Debit date as seen on the bank statement. This property may not be set if the transaction is not yet debited. This can occurs if there's a differed payement.

bookedAtdate-time

Realization date of the transaction

amountnumber

Amount of the transaction (negative if debit)

currencystring

Transaction's currency

Default: EUR

enrichmentsobject

Properties computed by Algoan

category

Value computed by Credit Insights. This property describes the reason why a transaction is made.

stringstring

Enum: INTERNAL_TRANSFER,NON_OPERATING_NEW_FINANCING,NON_OPERATING_SHAREHOLDER_INCOMING,RED_FLAG_REFUND_INCIDENT_FEES,RED_FLAG_REJECTION_ON_LOAN_REPAYMENT,RED_FLAG_REJECTION_ON_PAYMENT,RED_FLAG_RELEASE_FOR_ACCOUNT_SEIZURE,REFUND_SOCIAL,REVENUE,OTHER

typestring

Value computed by Credit Insights. This property describes the mode of transaction.

Enum: CASH_DEPOSIT,CASH_WITHDRAWAL,CHECK_DEPOSIT,CHECK,INCOMING_TRANSFER,INCOMING_INTERNAL_TRANSFER,OUTGOING_TRANSFER,OUTGOING_INTERNAL_TRANSFER,CARD_REFUND,CARD,INCOMING_CARD,DIRECT_DEBIT,CREDIT,DEBIT

isComingboolean

Indicates if the transaction will be debited or credited on the account in the future

aggregatorobject

Additional information relative to the transaction provided by the aggregator

idstring

id of the transaction provided by the aggregator

isNonAnalysedboolean

Indicates if the transaction is included in the last generated analysis

paginationobject

details about the pagination of returned resources

nextstring

Next page

previousstring

Previous page

firststring

First page

laststring

Last page

totalPagesnumber

Total number of pages

totalResourcesnumber

total number of resources

401

Unauthorized, please make sure you are properly authenticated

403

Forbidden, please make sure you are allowed to use this route

404

Business/Analysis not found

Response

Get list of webhook subscriptions

Get the list of event subscriptions.

Auth
Query String
filterstring

Stringified query to filter the subscriptions list

GET /v1/subscriptions
Responses
200

Successful operation

arrayarray[object]
idstring

Unique subscription identifier

eventNamestring

The name of the event. Details can be found in the Events section

Enum: aggregator_link_required,bank_details_required,bank_details_fetched,analysis_completed,analysis_failed,report_completed,report_failed

secretstring

Secret shared between the Algoan Platform and the webhook owner

targetstring

The url of the webhook that will be called when an event is emitted by the Algoan platform

statusstring

Whether the webhook is active or not. ACTIVE at the creation.

Enum: ACTIVE,INACTIVE,DEACTIVATE

Default: ACTIVE

401

Unauthorized, please make sure you are properly authenticated

403

Forbidden, please make sure you are allowed to use this route

Response

Create a new webhook subscription

Create a new subscription. Allow you to subscribe your webhook to an event.

Auth
Request Body
objectobject
targetstring

The url of the webhook that will be called when an event is emitted by the Algoan platform

eventNamestring

The name of the event. Details can be found in the Events section

Enum: aggregator_link_required,bank_details_required,bank_details_fetched,analysis_completed,analysis_failed,report_completed,report_failed

secretstring

Secret shared between the Algoan Platform and the webhook owner

POST /v1/subscriptions
Responses
201

Successful operation

objectobject

Webhook's subscription

idstring

Unique subscription identifier

eventNamestring

The name of the event. Details can be found in the Events section

Enum: aggregator_link_required,bank_details_required,bank_details_fetched,analysis_completed,analysis_failed,report_completed,report_failed

secretstring

Secret shared between the Algoan Platform and the webhook owner

targetstring

The url of the webhook that will be called when an event is emitted by the Algoan platform

statusstring

Whether the webhook is active or not. ACTIVE at the creation.

Enum: ACTIVE,INACTIVE,DEACTIVATE

Default: ACTIVE

400

Bad request

401

Unauthorized, please make sure you are properly authenticated

403

Forbidden, please make sure you are allowed to use this route

Response

Update a subscription

Update a webhook subscription if your webhook has been disabled.

Auth
Path Params
subscriptionIdstring

The id of the subscription.

Request Body
objectobject
statusstring

Whether the webhook is active or not. ACTIVE at the creation.

Enum: ACTIVE,INACTIVE,DEACTIVATE

Default: ACTIVE

PATCH /v1/subscriptions/{subscriptionId}
Responses
200

Successful operation

objectobject

Webhook's subscription

idstring

Unique subscription identifier

eventNamestring

The name of the event. Details can be found in the Events section

Enum: aggregator_link_required,bank_details_required,bank_details_fetched,analysis_completed,analysis_failed,report_completed,report_failed

secretstring

Secret shared between the Algoan Platform and the webhook owner

targetstring

The url of the webhook that will be called when an event is emitted by the Algoan platform

statusstring

Whether the webhook is active or not. ACTIVE at the creation.

Enum: ACTIVE,INACTIVE,DEACTIVATE

Default: ACTIVE

400

Bad request

401

Unauthorized, please make sure you are properly authenticated

403

Forbidden, please make sure you are allowed to use this route

404

Subscription not found

Response

Get a subscription

Get a given subscription

Auth
Path Params
subscriptionIdstring

The id of the subscription.

GET /v1/subscriptions/{subscriptionId}
Responses
200

Successful operation

objectobject

Webhook's subscription

idstring

Unique subscription identifier

eventNamestring

The name of the event. Details can be found in the Events section

Enum: aggregator_link_required,bank_details_required,bank_details_fetched,analysis_completed,analysis_failed,report_completed,report_failed

secretstring

Secret shared between the Algoan Platform and the webhook owner

targetstring

The url of the webhook that will be called when an event is emitted by the Algoan platform

statusstring

Whether the webhook is active or not. ACTIVE at the creation.

Enum: ACTIVE,INACTIVE,DEACTIVATE

Default: ACTIVE

400

Bad request

401

Unauthorized, please make sure you are properly authenticated

403

Forbidden, please make sure you are allowed to use this route

404

Subscription not found

Response

Delete the subscription

Delete the subscription

Auth
Path Params
subscriptionIdstring

The id of the subscription.

DELETE /v1/subscriptions/{subscriptionId}
Responses
200

Successful operation

objectobject

Webhook's subscription

idstring

Unique subscription identifier

eventNamestring

The name of the event. Details can be found in the Events section

Enum: aggregator_link_required,bank_details_required,bank_details_fetched,analysis_completed,analysis_failed,report_completed,report_failed

secretstring

Secret shared between the Algoan Platform and the webhook owner

targetstring

The url of the webhook that will be called when an event is emitted by the Algoan platform

statusstring

Whether the webhook is active or not. ACTIVE at the creation.

Enum: ACTIVE,INACTIVE,DEACTIVATE

Default: ACTIVE

400

Bad request

401

Unauthorized, please make sure you are properly authenticated

403

Forbidden, please make sure you are allowed to use this route

404

Subscription not found

Response

Get a list of events

Get a list of events that have been sent for a given subscription.

Auth
Path Params
subscriptionIdstring

The id of the created subscription.

Query String
businessIdstring

The id of the business concerned by the event

lowIndexnumber

The index from events are requested

highIndexnumber

The index to which events are requested

GET /v1/subscriptions/{subscriptionId}/events
Responses
200

Successful

objectobject
resourcesarray
subscriptionobject

Subscription properties

idstring

Unique subscription identifier

targetstring

The url of the webhook that will be called when an event is emitted by the Algoan platform

eventNamestring

The name of the event. Details can be found in the Events section

Enum: aggregator_link_required,bank_details_required,bank_details_fetched,analysis_completed,analysis_failed,report_completed,report_failed

payloadobject

Payload sent through the webhook

businessIdstring

id of the Business the event has been emitted for

timenumber

When the webhook event has been sent

indexstring

Index of the event

statusesarray[object]

List of statuses

namestring

Name of the status:

  • IN_PROGRESS: Algoan has just created the event and is about to call the webhook
  • ACK: The connector has acknowledged the request
  • PROCESSED: Notifies Algoan that the process has been fully completed
  • FAILED: Warns Algoan that an error occurred during the process
  • ERROR: The API did not acknowledge the request
  • WARNING: A warning email has been sent to the organization's contact
  • CRITICAL: A critical email has been sent to the organization's contact

Enum: IN_PROGRESS,ACK,PROCESSED,FAILED,ERROR,WARNING,CRITICAL

createdAtdate-time

Set when the status has been created

paginationobject

details about the pagination of returned resources

nextstring

Next page

previousstring

Previous page

firststring

First page

laststring

Last page

totalPagesnumber

Total number of pages

totalResourcesnumber

total number of resources

400

Bad request

401

Unauthorized, please make sure you are properly authenticated

403

Forbidden, please make sure you are allowed to use this route

404

Subscription not found

Response

Update an event

Update the status of an event to notify Algoan if everything went fine or not

Auth
Path Params
subscriptionIdstring

The id of the created subscription.

eventIdstring

The id of the event to update.

Request Body
objectobject
statusstring

Name of the status:

  • IN_PROGRESS: Algoan has just created the event and is about to call the webhook
  • ACK: The connector has acknowledged the request
  • PROCESSED: Notifies Algoan that the process has been fully completed
  • FAILED: Warns Algoan that an error occurred during the process
  • ERROR: The API did not acknowledge the request
  • WARNING: A warning email has been sent to the organization's contact
  • CRITICAL: A critical email has been sent to the organization's contact

Enum: IN_PROGRESS,ACK,PROCESSED,FAILED,ERROR,WARNING,CRITICAL

PATCH /v1/subscriptions/{subscriptionId}/events/{eventId}
Responses
200

Successful

objectobject
subscriptionobject

Subscription properties

idstring

Unique subscription identifier

targetstring

The url of the webhook that will be called when an event is emitted by the Algoan platform

eventNamestring

The name of the event. Details can be found in the Events section

Enum: aggregator_link_required,bank_details_required,bank_details_fetched,analysis_completed,analysis_failed,report_completed,report_failed

payloadobject

Payload sent through the webhook

businessIdstring

id of the Business the event has been emitted for

timenumber

When the webhook event has been sent

indexstring

Index of the event

statusesarray[object]

List of statuses

namestring

Name of the status:

  • IN_PROGRESS: Algoan has just created the event and is about to call the webhook
  • ACK: The connector has acknowledged the request
  • PROCESSED: Notifies Algoan that the process has been fully completed
  • FAILED: Warns Algoan that an error occurred during the process
  • ERROR: The API did not acknowledge the request
  • WARNING: A warning email has been sent to the organization's contact
  • CRITICAL: A critical email has been sent to the organization's contact

Enum: IN_PROGRESS,ACK,PROCESSED,FAILED,ERROR,WARNING,CRITICAL

createdAtdate-time

Set when the status has been created

400

Bad request

401

Unauthorized, please make sure you are properly authenticated

403

Forbidden, please make sure you are allowed to use this route

404

Subscription/Event not found

Response

Transaction Data

endpoints attached to our Transaction Data Product. Transaction Data is a product that enables your prospects to easily share their Open Banking Data.

Register a business

Register a business for Transaction Data. If no business already exists for the given customIdentifier, a new business is created. Otherwise, the existing business is returned.

Auth
Request Body
objectobject
customIdentifierstring

A custom identifier that will be attached to your business. This can be used to identify a business based on your internal reference.

POST /v2/register
Responses
201

A business has been registered.

objectobject
businessobject

Information about a business and its journey through Algoan.

idstring

Algoan unique identifier

customIdentifierstring

A custom identifier that will be attached to your business. This can be used to identify a business based on your internal reference.

aggregationDetailsobject

Information about the AIS provider used for this report

aggregatorNamestring

Name of the aggregator company

Enum: BUDGET_INSIGHT,BRIDGE,TINK,OTHER

callbackUrlstring

Callback URL set for a business. Used to redirect the business back to your user journey if you are using the aggregation in REDIRECT mode.

tokenstring

Temporary access token set for Algoan's UI to communicate with the aggregator's API

modestring

Mode used for the business journey:

  • REDIRECT: uses the redirection mode. The UI is managed by the aggregator in a dedicated page.
  • API: uses the aggregator's API. The UI is managed by Algoan.
  • IFRAME: uses the iframe mode. The UI is managed by the aggregator in an iframe element.

Enum: REDIRECT,API,IFRAME

redirectUrlstring

Redirect URL used for the end-user. Specific to REDIRECT mode

apiUrlstring

URL used to call API using API mode

iframeUrlstring

Iframe URL used for the end-user. Specific to IFRAME mode

userIdstring

Aggregator user identifier

If the value is reset, it means the user access has been revoked.

clientIdstring

Aggregator client ID used to authenticate a user with your organization

businessDetailsobject

Information about the business

openBankingInformationobject

Information about the business retrieved from the Open Banking process

ownersarray[object]

Owners of the accounts

Same names are merged.

namestring

Name of the owner

createdAtdate-time

Business date of creation

updatedAtdate-time

Latest update of the business

401

Unauthorized, please make sure you are properly authenticated

403

The user is not authorized to register a business. Please make sure you are using the right credentials.

Response

Create a session

Create a Transaction Data session for the given business.

Auth
Request Body
objectobject
businessIdstring

The unique identifier of the business

POST /v2/sessions
Responses
201

A business has been registered.

objectobject

Information about a session.

idstring

Algoan unique identifier

businessIdstring

Algoan unique identifier of the business

codestring

Code used to authenticate the session on Transaction Data

statusstring

Status of the session

Enum: IN_PROGRESS,COMPLETED,EXPIRED

createdAtdate-time

Business date of creation

updatedAtdate-time

Latest update of the business

400

The businessId provided doesn't belong to any business.

401

Unauthorized, please make sure you are properly authenticated

403

The user is not authorized to create a session. Please make sure you are using the right credentials.

Response

Get the session data

Get the given session's data.

Auth
Path Params
sessionIdstring

ID of the session

GET /v2/sessions/{sessionId}/session-data
Responses
201

A session's data has been retrieved.

objectobject

Data of the session.

statestring

Information about the session of your Transaction Data user.

Enum: IN_PROGRESS,SUCCESS,ERROR,EXIT,EXPIRED

stateErrorsarray[object]
codestring

Generic code about the error

Enum: USER_CANCELLATION,NO_CHECKING_ACCOUNT,CURRENCY_NOT_SUPPORTED,UNKNOWN,CERTICODE_BLOCKED,CERTICODE_NOT_ACTIVE,CUSTOMER_SPACE_BLOCKED,DEVICE_NOT_ENROLLED,SCA_DISABLED,SCA_EXPIRATION

messagestring

Message describing the error

401

Unauthorized, please make sure you are properly authenticated

403

Forbidden, please make sure you are allowed to use this route

404

Session not found

Response