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

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

Each request 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
curl --request POST \
--url 'https://api.algoan.com/v1/oauth/token'
Copy
Responses
200

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)

400

Bad request, invalid input parameters

Response
{
"access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIi...5jUKEv5KyzShp5pqg",
"expires_in": 86400,
"refresh_expires_in": 864000,
"refresh_token": "eyJhbGciOiJIUzI1NiIsInR5...fsWGA82PQC_6OXoyU4",
"token_type": "Bearer"
}
Copy

Business

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

Find a list of businesses

Auth
GET /v2/businesses
curl --get \
--url 'https://api.algoan.com/v2/businesses' \
--header 'Authorization: Bearer {token}'
Copy
Responses
200

OK

objectobject
resourcesarray
paginationobject
401

Authentication required

403

Insufficient permissions

Response
{
"resources": [
{
"id": "{string}",
"customIdentifier": "{string}",
"aggregationDetails": {
"userId": "{string}",
"aggregatorName": "{string}",
"callbackUrl": "{string}",
"token": "{string}",
"mode": "{string}",
"redirectUrl": "{string}",
"apiUrl": "{string}",
"iframeUrl": "{string}",
"clientId": "{string}"
},
"connect": {
"serviceAccountClientId": "{string}"
},
"dashboard": {
"currentState": "{string}",
"historyState": [
{
"createdAt": "{date-time}",
"state": "{string}",
"userId": "{string}"
}
],
"invitationHistory": [
{
"date": "{date-time}",
"type": "{string}",
"channel": "{string}",
"senderUsername": "{string}"
}
],
"numberOfViews": "{number}",
"numberOfAnalyses": "{number}",
"newWithAnalysis": "{boolean}",
"onboarding": {},
"team": "{string}",
"customizedMonthlyAmount": "{number}",
"analysesConfig": {},
"comments": [
{
"value": "{string}",
"authorEmail": "{string}",
"createdAt": "{date-time}",
"updatedAt": "{date-time}"
}
],
"createdAt": "{string}",
"updatedAt": "{string}"
},
"openBankingInformation": {
"owners": [
{
"name": "{string}"
}
]
},
"reports": {
"completedAnalyses": {
"count": "{number}",
"date": "{date-time}",
"url": "{string}"
},
"lastFailedAnalysis": {
"date": "{date-time}",
"url": "{string}",
"type": "{string}"
},
"latestDecision": {
"id": "{string}",
"analysisId": "{string}",
"status": "{string}",
"computedAt": "{date-time}"
},
"userJourneyState": "{}",
"pdfProcessingState": "{string}"
},
"owner": {
"organizationId": "{string}",
"projectId": "{string}",
"projectName": "{string}"
},
"shares": [
{
"organizationId": "{string}",
"projectId": "{string}",
"sharedAt": "{date-time}"
}
],
"storage": {
"type": "{string}",
"expiresAt": "{date-time}",
"partiallyExpiresAt": "{date-time}",
"isAnonymized": "{boolean}"
},
"createdAt": "{string}",
"updatedAt": "{string}",
"usage": "{string}",
"userSegment": "{string}",
"businessDetails": {}
}
],
"pagination": {
"next": "{string}",
"previous": "{string}",
"first": "{string}",
"last": "{string}",
"totalPages": "{number}",
"totalResources": "{number}"
}
}
Copy

Create a new business

Auth
Request Body

The data for business creation

objectobject

DTO for creating a new customer

customIdentifierstring

A custom identifier that will be attached to the customer. This can be used to identify a customer based on the client's internal reference.

aggregationDetailsobject

Class representing the aggregation details

userSegmentstring

Used to differentiate the use-case and origin of the customer

businessDetailsobject

Class representing the business information about the customer

POST /v2/businesses
curl --request POST \
--url 'https://api.algoan.com/v2/businesses' \
--header 'Authorization: Bearer {token}' \
--data '{
"customIdentifier": "{string}",
"aggregationDetails": {
"userId": "{string}",
"aggregatorName": "{string}",
"callbackUrl": "{string}",
"token": "{string}",
"mode": "{string}",
"redirectUrl": "{string}",
"apiUrl": "{string}",
"iframeUrl": "{string}",
"clientId": "{string}"
},
"userSegment": "{string}",
"businessDetails": {}
}'
Copy
Responses
201

Created

objectobject

Class representing a customer who asks for credit

idstring

Id of the customer

customIdentifierstring

A custom identifier that will be attached to the customer. This can be used to identify a customer based on the client's internal reference.

aggregationDetailsobject

Class representing the aggregation details

connectobject

Connect properties for a customer

serviceAccountClientIdstring

Client Id of the corresponding service account

dashboardobject

Compute the newWithAnalysis field

openBankingInformationobject

Class representing the customer information retrieved through the open banking process

ownersarray[object]

Account owners information

namestring

Name of the owner of the account

reportsobject

Class representing the customer reports details

ownerobject

Project

sharesarray[object]

The projects that the customer is shared with

storageobject

Class representing customer data storage Properties

createdAtstring

Creation date of the customer

updatedAtstring

Last date of update of the customer

usagestring

Discriminator values list

Enum: CONSUMER,BUSINESS

userSegmentstring

Used to differentiate the use-case and origin of the customer

businessDetailsobject

Class representing the business information about the customer

400

Validation failed

401

Authentication required

403

Insufficient permissions

422

customIdentifier already exists

Response
{
"id": "{string}",
"customIdentifier": "{string}",
"aggregationDetails": {
"userId": "{string}",
"aggregatorName": "{string}",
"callbackUrl": "{string}",
"token": "{string}",
"mode": "{string}",
"redirectUrl": "{string}",
"apiUrl": "{string}",
"iframeUrl": "{string}",
"clientId": "{string}"
},
"connect": {
"serviceAccountClientId": "{string}"
},
"dashboard": {
"currentState": "{string}",
"historyState": [
{
"createdAt": "{date-time}",
"state": "{string}",
"userId": "{string}"
}
],
"invitationHistory": [
{
"date": "{date-time}",
"type": "{string}",
"channel": "{string}",
"senderUsername": "{string}"
}
],
"numberOfViews": "{number}",
"numberOfAnalyses": "{number}",
"newWithAnalysis": "{boolean}",
"onboarding": {},
"team": "{string}",
"customizedMonthlyAmount": "{number}",
"analysesConfig": {},
"comments": [
{
"value": "{string}",
"authorEmail": "{string}",
"createdAt": "{date-time}",
"updatedAt": "{date-time}"
}
],
"createdAt": "{string}",
"updatedAt": "{string}"
},
"openBankingInformation": {
"owners": [
{
"name": "{string}"
}
]
},
"reports": {
"completedAnalyses": {
"count": "{number}",
"date": "{date-time}",
"url": "{string}"
},
"lastFailedAnalysis": {
"date": "{date-time}",
"url": "{string}",
"type": "{string}"
},
"latestDecision": {
"id": "{string}",
"analysisId": "{string}",
"status": "{string}",
"computedAt": "{date-time}"
},
"userJourneyState": "{}",
"pdfProcessingState": "{string}"
},
"owner": {
"organizationId": "{string}",
"projectId": "{string}",
"projectName": "{string}"
},
"shares": [
{
"organizationId": "{string}",
"projectId": "{string}",
"sharedAt": "{date-time}"
}
],
"storage": {
"type": "{string}",
"expiresAt": "{date-time}",
"partiallyExpiresAt": "{date-time}",
"isAnonymized": "{boolean}"
},
"createdAt": "{string}",
"updatedAt": "{string}",
"usage": "{string}",
"userSegment": "{string}",
"businessDetails": {}
}
Copy

Find a business by its id

Auth
Path Params
businessIdstring

The business id

GET /v2/businesses/{businessId}
curl --get \
--url 'https://api.algoan.com/v2/businesses/{businessId}' \
--header 'Authorization: Bearer {token}'
Copy
Responses
200

OK

objectobject

Class representing a customer who asks for credit

idstring

Id of the customer

customIdentifierstring

A custom identifier that will be attached to the customer. This can be used to identify a customer based on the client's internal reference.

aggregationDetailsobject

Class representing the aggregation details

connectobject

Connect properties for a customer

serviceAccountClientIdstring

Client Id of the corresponding service account

dashboardobject

Compute the newWithAnalysis field

openBankingInformationobject

Class representing the customer information retrieved through the open banking process

ownersarray[object]

Account owners information

namestring

Name of the owner of the account

reportsobject

Class representing the customer reports details

ownerobject

Project

sharesarray[object]

The projects that the customer is shared with

storageobject

Class representing customer data storage Properties

createdAtstring

Creation date of the customer

updatedAtstring

Last date of update of the customer

usagestring

Discriminator values list

Enum: CONSUMER,BUSINESS

userSegmentstring

Used to differentiate the use-case and origin of the customer

businessDetailsobject

Class representing the business information about the customer

401

Authentication required

403

Insufficient permissions

404

Not Found

Response
{
"id": "{string}",
"customIdentifier": "{string}",
"aggregationDetails": {
"userId": "{string}",
"aggregatorName": "{string}",
"callbackUrl": "{string}",
"token": "{string}",
"mode": "{string}",
"redirectUrl": "{string}",
"apiUrl": "{string}",
"iframeUrl": "{string}",
"clientId": "{string}"
},
"connect": {
"serviceAccountClientId": "{string}"
},
"dashboard": {
"currentState": "{string}",
"historyState": [
{
"createdAt": "{date-time}",
"state": "{string}",
"userId": "{string}"
}
],
"invitationHistory": [
{
"date": "{date-time}",
"type": "{string}",
"channel": "{string}",
"senderUsername": "{string}"
}
],
"numberOfViews": "{number}",
"numberOfAnalyses": "{number}",
"newWithAnalysis": "{boolean}",
"onboarding": {},
"team": "{string}",
"customizedMonthlyAmount": "{number}",
"analysesConfig": {},
"comments": [
{
"value": "{string}",
"authorEmail": "{string}",
"createdAt": "{date-time}",
"updatedAt": "{date-time}"
}
],
"createdAt": "{string}",
"updatedAt": "{string}"
},
"openBankingInformation": {
"owners": [
{
"name": "{string}"
}
]
},
"reports": {
"completedAnalyses": {
"count": "{number}",
"date": "{date-time}",
"url": "{string}"
},
"lastFailedAnalysis": {
"date": "{date-time}",
"url": "{string}",
"type": "{string}"
},
"latestDecision": {
"id": "{string}",
"analysisId": "{string}",
"status": "{string}",
"computedAt": "{date-time}"
},
"userJourneyState": "{}",
"pdfProcessingState": "{string}"
},
"owner": {
"organizationId": "{string}",
"projectId": "{string}",
"projectName": "{string}"
},
"shares": [
{
"organizationId": "{string}",
"projectId": "{string}",
"sharedAt": "{date-time}"
}
],
"storage": {
"type": "{string}",
"expiresAt": "{date-time}",
"partiallyExpiresAt": "{date-time}",
"isAnonymized": "{boolean}"
},
"createdAt": "{string}",
"updatedAt": "{string}",
"usage": "{string}",
"userSegment": "{string}",
"businessDetails": {}
}
Copy

Update a single business based on a single ID

Auth
Path Params
businessIdstring

The business id

Request Body
objectobject

DTO for updating a customer

aggregationDetailsobject

Class representing the aggregation details

userSegmentstring

Used to differentiate the use-case and origin of the customer

businessDetailsobject

Class representing the business information about the customer

PATCH /v2/businesses/{businessId}
curl --request PATCH \
--url 'https://api.algoan.com/v2/businesses/{businessId}' \
--header 'Authorization: Bearer {token}' \
--data '{
"aggregationDetails": {
"userId": "{string}",
"aggregatorName": "{string}",
"callbackUrl": "{string}",
"token": "{string}",
"mode": "{string}",
"redirectUrl": "{string}",
"apiUrl": "{string}",
"iframeUrl": "{string}",
"clientId": "{string}"
},
"userSegment": "{string}",
"businessDetails": {}
}'
Copy
Responses
200

OK

objectobject

Class representing a customer who asks for credit

idstring

Id of the customer

customIdentifierstring

A custom identifier that will be attached to the customer. This can be used to identify a customer based on the client's internal reference.

aggregationDetailsobject

Class representing the aggregation details

connectobject

Connect properties for a customer

serviceAccountClientIdstring

Client Id of the corresponding service account

dashboardobject

Compute the newWithAnalysis field

openBankingInformationobject

Class representing the customer information retrieved through the open banking process

ownersarray[object]

Account owners information

namestring

Name of the owner of the account

reportsobject

Class representing the customer reports details

ownerobject

Project

sharesarray[object]

The projects that the customer is shared with

storageobject

Class representing customer data storage Properties

createdAtstring

Creation date of the customer

updatedAtstring

Last date of update of the customer

usagestring

Discriminator values list

Enum: CONSUMER,BUSINESS

userSegmentstring

Used to differentiate the use-case and origin of the customer

businessDetailsobject

Class representing the business information about the customer

400

Validation failed

401

Authentication required

403

Insufficient permissions

404

Not Found

Response
{
"id": "{string}",
"customIdentifier": "{string}",
"aggregationDetails": {
"userId": "{string}",
"aggregatorName": "{string}",
"callbackUrl": "{string}",
"token": "{string}",
"mode": "{string}",
"redirectUrl": "{string}",
"apiUrl": "{string}",
"iframeUrl": "{string}",
"clientId": "{string}"
},
"connect": {
"serviceAccountClientId": "{string}"
},
"dashboard": {
"currentState": "{string}",
"historyState": [
{
"createdAt": "{date-time}",
"state": "{string}",
"userId": "{string}"
}
],
"invitationHistory": [
{
"date": "{date-time}",
"type": "{string}",
"channel": "{string}",
"senderUsername": "{string}"
}
],
"numberOfViews": "{number}",
"numberOfAnalyses": "{number}",
"newWithAnalysis": "{boolean}",
"onboarding": {},
"team": "{string}",
"customizedMonthlyAmount": "{number}",
"analysesConfig": {},
"comments": [
{
"value": "{string}",
"authorEmail": "{string}",
"createdAt": "{date-time}",
"updatedAt": "{date-time}"
}
],
"createdAt": "{string}",
"updatedAt": "{string}"
},
"openBankingInformation": {
"owners": [
{
"name": "{string}"
}
]
},
"reports": {
"completedAnalyses": {
"count": "{number}",
"date": "{date-time}",
"url": "{string}"
},
"lastFailedAnalysis": {
"date": "{date-time}",
"url": "{string}",
"type": "{string}"
},
"latestDecision": {
"id": "{string}",
"analysisId": "{string}",
"status": "{string}",
"computedAt": "{date-time}"
},
"userJourneyState": "{}",
"pdfProcessingState": "{string}"
},
"owner": {
"organizationId": "{string}",
"projectId": "{string}",
"projectName": "{string}"
},
"shares": [
{
"organizationId": "{string}",
"projectId": "{string}",
"sharedAt": "{date-time}"
}
],
"storage": {
"type": "{string}",
"expiresAt": "{date-time}",
"partiallyExpiresAt": "{date-time}",
"isAnonymized": "{boolean}"
},
"createdAt": "{string}",
"updatedAt": "{string}",
"usage": "{string}",
"userSegment": "{string}",
"businessDetails": {}
}
Copy

Analysis

An analysis is a snapshot of a customer's financial situation based on the connected bank accounts. It contains results from both products Score and Credit Insights.

NOTE: To get Credit Insights results or a Score, the analysis need to contain at least one CHECKING Account with a minimum of 20 transactions.

Find all analysis by organization/project

Auth
Path Params
businessIdstring

id of the related customer

GET /v2/businesses/{businessId}/analyses
curl --get \
--url 'https://api.algoan.com/v2/businesses/{businessId}/analyses' \
--header 'Authorization: Bearer {token}'
Copy
Responses
200

OK

objectobject
resourcesarray[object]
paginationobject
400

Bad request if the pagination parameters are invalid

401

Authentication required

403

Insufficient permissions

404

Not Found

Response
{
"resources": [
{
"id": "{string}",
"customerId": "{string}",
"sessionId": "{string}",
"folderId": "{string}",
"parameters": {
"disableScores": "{boolean}",
"scoreVersion": "{string}",
"disableCreditInsights": "{boolean}",
"useBalanceDate": "{boolean}",
"launchReport": "{boolean}",
"period": {
"mode": "{string}",
"numberOfDays": "{integer}",
"numberOfMonths": "{integer}",
"customWindowDateRange": {
"minDate": "{string}",
"maxDate": "{string}",
"minScoreDate": "{string}",
"maxScoreDate": "{string}"
},
"includeCheckingAccountsOnTruncateWindow": "{boolean}",
"isComputedUsingProjectConfig": "{boolean}"
}
},
"metadata": {
"id": "{string}",
"analysisId": "{string}",
"numberOfCheckings": "{number}",
"numberOfSavings": "{number}",
"numberOfLoans": "{number}",
"numberOfConsumerLoans": "{number}",
"numberOfCreditCard": "{number}",
"creditInsights": {
Copy

Create analysis add the accounts and trigger analysis calculation if not empty

Auth
Path Params
businessIdstring

id of the related business

Request Body

analysis to create

objectobject

Analysis Dto

Common DTO for data of the accounts to be aggregated for the routes POST /analysis and PATCH /analysis/{analysisId}

accounts

Accounts Exists if the format is ALGOAN, Tink V2 or empty

arrayarray[object]
idstring

The account unique identifier

balancenumber

Last known account balance

balanceDatedate-time

Date of the last known account balance

currencystring

Account's currency

pattern: ^[A-Z]{3,4}$

typestring

Type of accounts

Enum: CHECKING,SAVINGS,LOAN,CREDIT_CARD,UNKNOWN

usagestring

Types of usage of an account

Enum: PROFESSIONAL,PERSONAL,UNKNOWN

ownershipstring

Types of ownership of an account

Enum: ATTORNEY,CO_HOLDER,HOLDER,OTHER

ownersarray[object]

Owners of the account

namestring

Name of the owner of the account

ibanstring

IBAN (International Bank Account Number) of the account

bicstring

BIC (Business Identifier Code) of the account's bank

namestring

Name the account taken from the bank's website

bankobject

Account's Bank information

countrystring

Code of the country of the account

comingnumber

Amount of coming operations (not yet debited)

detailsobject

Details model about an account

aggregatorobject

Information provided by the aggregator

transactionsarray[object]

Account's transactions list

dailyBalancesarray[object]

Account's daily balances

datedate-time

Date of the balance

balancenumber

Account balance for the specific date

isComputedboolean

Whether the account will be used to compute the analysis

numberstring

Account's number

connections

Budget Insight or Oxlin connections Exists if the format is BUDGET_INSIGHT_V2_0, or OXLIN_DIRECT_ACCOUNT_API or OXLIN_DIRECT_ACCOUNT_API_NEW

arrayarray
connection_typestring

Different type of connection

Enum: budget-insight,linxo,oxlin-account-api,oxlin-direct-account-api,oxlin-new-direct-account-api,powens,unexpected

idnumber
id_usernumber
id_connectornumber
id_providernumber
id_banknumber
last_updatestring
statestring

Budget Insight Error

Enum: wrongpass,additionalInformationNeeded,websiteUnavailable,actionNeeded,bug,SCARequired,decoupled,passwordExpired,webauthRequired

activeboolean
createdstring
next_trystring
error_messagestring
last_pushstring
expirestring
connector_uuidstring
connectorobject

Budget Insight Bank https://docs.budget-insight.com/reference/connectors#response-connector-object

accountsarray[object]
informationobject

Connection information

accountOwnerships

Budget Insight or Powens account ownerships

arrayarray[object]
id_accountnumber

ID of the related account

id_connectionnumber

ID of the related connection

id_usernumber

ID of the related user

id_connector_sourcenumber

ID of the related connector source

namestring

Name of the bank account

usagestring

Usage of the bank account

Enum: PRIV,ORGA

partiesarray[object]

List of account parties

identificationsarray[object]

List of account identifications

scheme_namestring

Budget Insight Scheme Type

Enum: iban,bban,sort_code_account_number,tpan,cpan,bank_party_identification

identificationstring

Identification number of the account

formatstring

Original format of the open banking data (default to ALGOAN).

Enum: MASTERCARD_OPEN_BANKING_ENTERPRISE_V2,MASTERCARD_OPEN_BANKING,MASTERCARD_OPEN_FINANCE_DATA_V1,ALGOAN,BUDGET_INSIGHT_V2_0,POWENS_V2_1,LINXO_CONNECT_DIRECT_ACCOUNT_API_V3,LINXO_CONNECT_NEW_DIRECT_ACCOUNT_API_V3,LINXO_CONNECT_ACCOUNT_API_V2,TINK_V2,HYBRID

parametersobject

Parameters for the analysis computation

triggerAccountSyncboolean

Trigger account synchronization by emitting an event refresh or bank_details_required

If not defined, the account synchronization will be triggered if there is no account in the body of the analysis

aggregatorConfigsobject

Configurations for the analysis's aggregator

temporaryCodestring
dataOriginstring

Origin of the banking data

Enum: OPEN_BANKING,PDF,UNKNOWN

projectIdstring

In case there is more than one projectId in the identifier We create the analysis with this projectId We check that the projectId is included in the identifier

organizationIdstring

In case there is more than one organizationId in the identifier We create the analysis with this organizationId We check that the organizationId is included in the identifier

sessionIdstring

Id of the session to which the analysis is linked

POST /v2/businesses/{businessId}/analyses
curl --request POST \
--url 'https://api.algoan.com/v2/businesses/{businessId}/analyses' \
--header 'Authorization: Bearer {token}' \
--data '{
"accounts": [
{
"id": "{string}",
"balance": "{number}",
"balanceDate": "{date-time}",
"currency": "{string}",
"type": "{string}",
"usage": "{string}",
"ownership": "{string}",
"owners": [
{
"name": "{string}"
}
],
"iban": "{string}",
"bic": "{string}",
"name": "{string}",
"bank": {
"id": "{string}",
"logoUrl": "{string}",
"name": "{string}",
"country": "{string}"
},
"country": "{string}",
"coming": "{number}",
"details": {
"savings": {
"type": "{string}",
"openedAt": "{date-time}",
"maximumAmount": "{number}",
"interestRate": "{number}"
},
Copy
Responses
201

Created

objectobject

Analysis

idstring

Id of the analysis

customerIdstring

Customer id to which the analysis is related

sessionIdstring

Session id to which the analysis is related

folderIdstring

Folder id to which the analysis is related. Set when the analysis is created from PDF bank statements.

parametersobject

Parameters for the analysis computation

sourcestring

Source of the analysis

Enum: INTERNAL,CLIENT,CASH_FLOW_UPDATE,ACCOUNT_SELECTION_UPDATE,PERIOD_UPDATE,REFRESH,REFRESH_WITH_NEW_ACCOUNTS,PDF_UPDATE

dataOriginstring

Origin of the banking data

Enum: OPEN_BANKING,PDF,UNKNOWN

formatstring

Original format of the open banking data (default to ALGOAN).

Enum: MASTERCARD_OPEN_BANKING_ENTERPRISE_V2,MASTERCARD_OPEN_BANKING,MASTERCARD_OPEN_FINANCE_DATA_V1,ALGOAN,BUDGET_INSIGHT_V2_0,POWENS_V2_1,LINXO_CONNECT_DIRECT_ACCOUNT_API_V3,LINXO_CONNECT_NEW_DIRECT_ACCOUNT_API_V3,LINXO_CONNECT_ACCOUNT_API_V2,TINK_V2,HYBRID

statusstring

Status of the analysis

---
title: Analysis status
---
flowchart TD

0((•)) -->|POST /analyses| A[CREATED]

A -->|no accounts in body and triggerAccountSync=true| B[FETCHING_DATA]
A -->|accounts in body| C[IN_PROGRESS]
A -->|PATCH /analyses with error='cause' OR missing data and triggerAccountSync=false| F

B -->|PATCH /analyses with trigger=true OR POST /analyses/:id/trigger| C

C -->|needs user action| D[PENDING]

D -->|PATCH /analyses/:id| C
D -->|PATCH /analyses/:id| E

C -->|Success| E@{ shape: stadium, label: "COMPLETED" }
C -->|Error| F@{ shape: stadium, label: "ERROR" }

style E fill:#0f0,stroke:#333,stroke-width:2px
style F fill:#f00,stroke:#333,stroke-width:2px

Enum: CREATED,FETCHING_DATA,IN_PROGRESS,PENDING,COMPLETED,ERROR

errorobject

Details about an occurring error in the analysis

codestring
messagestring
createdAtdate-time

Creation date of the analysis

updatedAtdate-time

Last update date of the analysis

400

Validation failed

401

Authentication required

403

Insufficient permissions

404

Not Found

Response
{
"id": "{string}",
"customerId": "{string}",
"sessionId": "{string}",
"folderId": "{string}",
"parameters": {
"disableScores": "{boolean}",
"scoreVersion": "{string}",
"disableCreditInsights": "{boolean}",
"useBalanceDate": "{boolean}",
"launchReport": "{boolean}",
"period": {
"mode": "{string}",
"numberOfDays": "{integer}",
"numberOfMonths": "{integer}",
"customWindowDateRange": {
"minDate": "{string}",
"maxDate": "{string}",
"minScoreDate": "{string}",
"maxScoreDate": "{string}"
},
"includeCheckingAccountsOnTruncateWindow": "{boolean}",
"isComputedUsingProjectConfig": "{boolean}"
}
},
"source": "{string}",
"dataOrigin": "{string}",
"format": "{string}",
"status": "{string}",
"error": {
"code": "{string}",
"message": "{string}"
},
"createdAt": "{date-time}",
"updatedAt": "{date-time}"
}
Copy

Find an analysis by id

Auth
Path Params
businessIdstring

id of the related customer

analysisIdstring

id of the analysis

GET /v2/businesses/{businessId}/analyses/{analysisId}
curl --get \
--url 'https://api.algoan.com/v2/businesses/{businessId}/analyses/{analysisId}' \
--header 'Authorization: Bearer {token}'
Copy
Responses
200

OK

objectobject

Analysis

idstring

Id of the analysis

customerIdstring

Customer id to which the analysis is related

sessionIdstring

Session id to which the analysis is related

folderIdstring

Folder id to which the analysis is related. Set when the analysis is created from PDF bank statements.

parametersobject

Parameters for the analysis computation

metadataobject

Metadata of the analysis

creditInsights

Credit Insights ObjectId

objectobject

Base Credit Insights with common attributes between Credit Insights and Business Credit Insights

idstring

Id of the score

analysisIdstring

Analysis id to which the credit insights is related

createdAtstring

Creation date of the credit insights

updatedAtstring

Last update date

usagestring

Api quota usage level

Enum: CONSUMER,BUSINESS

versionstring

Credit insight version

scores

Score ObjectId

objectobject

Base scores class

idstring

Id of the score

analysisIdstring

Analysis id to which the score is related

createdAt

Creation date of the score

stringstring
updatedAt

Last update date

stringstring
usagestring

Api quota usage level

Enum: CONSUMER,BUSINESS

sourcestring

Source of the analysis

Enum: INTERNAL,CLIENT,CASH_FLOW_UPDATE,ACCOUNT_SELECTION_UPDATE,PERIOD_UPDATE,REFRESH,REFRESH_WITH_NEW_ACCOUNTS,PDF_UPDATE

dataOriginstring

Origin of the banking data

Enum: OPEN_BANKING,PDF,UNKNOWN

formatstring

Original format of the open banking data (default to ALGOAN).

Enum: MASTERCARD_OPEN_BANKING_ENTERPRISE_V2,MASTERCARD_OPEN_BANKING,MASTERCARD_OPEN_FINANCE_DATA_V1,ALGOAN,BUDGET_INSIGHT_V2_0,POWENS_V2_1,LINXO_CONNECT_DIRECT_ACCOUNT_API_V3,LINXO_CONNECT_NEW_DIRECT_ACCOUNT_API_V3,LINXO_CONNECT_ACCOUNT_API_V2,TINK_V2,HYBRID

statusstring

Status of the analysis

---
title: Analysis status
---
flowchart TD

0((•)) -->|POST /analyses| A[CREATED]

A -->|no accounts in body and triggerAccountSync=true| B[FETCHING_DATA]
A -->|accounts in body| C[IN_PROGRESS]
A -->|PATCH /analyses with error='cause' OR missing data and triggerAccountSync=false| F

B -->|PATCH /analyses with trigger=true OR POST /analyses/:id/trigger| C

C -->|needs user action| D[PENDING]

D -->|PATCH /analyses/:id| C
D -->|PATCH /analyses/:id| E

C -->|Success| E@{ shape: stadium, label: "COMPLETED" }
C -->|Error| F@{ shape: stadium, label: "ERROR" }

style E fill:#0f0,stroke:#333,stroke-width:2px
style F fill:#f00,stroke:#333,stroke-width:2px

Enum: CREATED,FETCHING_DATA,IN_PROGRESS,PENDING,COMPLETED,ERROR

errorobject

Details about an occurring error in the analysis

codestring
messagestring
accountsarray[object]

List of account used to obtain the analysis

createdAtdate-time

Creation date of the analysis

updatedAtdate-time

Last update date of the analysis

dailyBalancesarray[object]

Analysis's daily balances

datedate-time

Date of the balance

balancenumber

Account balance for the specific date

401

Authentication required

403

Insufficient permissions

404

Not Found

Response
{
"id": "{string}",
"customerId": "{string}",
"sessionId": "{string}",
"folderId": "{string}",
"parameters": {
"disableScores": "{boolean}",
"scoreVersion": "{string}",
"disableCreditInsights": "{boolean}",
"useBalanceDate": "{boolean}",
"launchReport": "{boolean}",
"period": {
"mode": "{string}",
"numberOfDays": "{integer}",
"numberOfMonths": "{integer}",
"customWindowDateRange": {
"minDate": "{string}",
"maxDate": "{string}",
"minScoreDate": "{string}",
"maxScoreDate": "{string}"
},
"includeCheckingAccountsOnTruncateWindow": "{boolean}",
"isComputedUsingProjectConfig": "{boolean}"
}
},
"metadata": {
"id": "{string}",
"analysisId": "{string}",
"numberOfCheckings": "{number}",
"numberOfSavings": "{number}",
"numberOfLoans": "{number}",
"numberOfConsumerLoans": "{number}",
"numberOfCreditCard": "{number}",
"creditInsights": {
"lastTransactionGap": "{number}",
"historicalDepth": "{number}",
Copy

Update analysis: add the accounts and trigger analysis computation

Auth
Path Params
businessIdstring

id of the related business

analysisIdstring

id of the analysis to update

Request Body

analysis updates

objectobject

Analysis Dto

Common DTO for data of the accounts to be aggregated for the routes POST /analysis and PATCH /analysis/{analysisId}

accounts

Accounts Exists if the format is ALGOAN, Tink V2 or empty

arrayarray[object]
idstring

The account unique identifier

balancenumber

Last known account balance

balanceDatedate-time

Date of the last known account balance

currencystring

Account's currency

pattern: ^[A-Z]{3,4}$

typestring

Type of accounts

Enum: CHECKING,SAVINGS,LOAN,CREDIT_CARD,UNKNOWN

usagestring

Types of usage of an account

Enum: PROFESSIONAL,PERSONAL,UNKNOWN

ownershipstring

Types of ownership of an account

Enum: ATTORNEY,CO_HOLDER,HOLDER,OTHER

ownersarray[object]

Owners of the account

namestring

Name of the owner of the account

ibanstring

IBAN (International Bank Account Number) of the account

bicstring

BIC (Business Identifier Code) of the account's bank

namestring

Name the account taken from the bank's website

bankobject

Account's Bank information

countrystring

Code of the country of the account

comingnumber

Amount of coming operations (not yet debited)

detailsobject

Details model about an account

aggregatorobject

Information provided by the aggregator

transactionsarray[object]

Account's transactions list

dailyBalancesarray[object]

Account's daily balances

datedate-time

Date of the balance

balancenumber

Account balance for the specific date

isComputedboolean

Whether the account will be used to compute the analysis

numberstring

Account's number

connections

Budget Insight or Oxlin connections Exists if the format is BUDGET_INSIGHT_V2_0, or OXLIN_DIRECT_ACCOUNT_API or OXLIN_DIRECT_ACCOUNT_API_NEW

arrayarray
connection_typestring

Different type of connection

Enum: budget-insight,linxo,oxlin-account-api,oxlin-direct-account-api,oxlin-new-direct-account-api,powens,unexpected

idnumber
id_usernumber
id_connectornumber
id_providernumber
id_banknumber
last_updatestring
statestring

Budget Insight Error

Enum: wrongpass,additionalInformationNeeded,websiteUnavailable,actionNeeded,bug,SCARequired,decoupled,passwordExpired,webauthRequired

activeboolean
createdstring
next_trystring
error_messagestring
last_pushstring
expirestring
connector_uuidstring
connectorobject

Budget Insight Bank https://docs.budget-insight.com/reference/connectors#response-connector-object

accountsarray[object]
informationobject

Connection information

accountOwnerships

Budget Insight or Powens account ownerships

arrayarray[object]
id_accountnumber

ID of the related account

id_connectionnumber

ID of the related connection

id_usernumber

ID of the related user

id_connector_sourcenumber

ID of the related connector source

namestring

Name of the bank account

usagestring

Usage of the bank account

Enum: PRIV,ORGA

partiesarray[object]

List of account parties

identificationsarray[object]

List of account identifications

scheme_namestring

Budget Insight Scheme Type

Enum: iban,bban,sort_code_account_number,tpan,cpan,bank_party_identification

identificationstring

Identification number of the account

formatstring

Original format of the open banking data (default to ALGOAN).

Enum: MASTERCARD_OPEN_BANKING_ENTERPRISE_V2,MASTERCARD_OPEN_BANKING,MASTERCARD_OPEN_FINANCE_DATA_V1,ALGOAN,BUDGET_INSIGHT_V2_0,POWENS_V2_1,LINXO_CONNECT_DIRECT_ACCOUNT_API_V3,LINXO_CONNECT_NEW_DIRECT_ACCOUNT_API_V3,LINXO_CONNECT_ACCOUNT_API_V2,TINK_V2,HYBRID

statusstring

Status of the analysis

---
title: Analysis status
---
flowchart TD

0((•)) -->|POST /analyses| A[CREATED]

A -->|no accounts in body and triggerAccountSync=true| B[FETCHING_DATA]
A -->|accounts in body| C[IN_PROGRESS]
A -->|PATCH /analyses with error='cause' OR missing data and triggerAccountSync=false| F

B -->|PATCH /analyses with trigger=true OR POST /analyses/:id/trigger| C

C -->|needs user action| D[PENDING]

D -->|PATCH /analyses/:id| C
D -->|PATCH /analyses/:id| E

C -->|Success| E@{ shape: stadium, label: "COMPLETED" }
C -->|Error| F@{ shape: stadium, label: "ERROR" }

style E fill:#0f0,stroke:#333,stroke-width:2px
style F fill:#f00,stroke:#333,stroke-width:2px

Enum: CREATED,FETCHING_DATA,IN_PROGRESS,PENDING,COMPLETED,ERROR

errorobject

Details about an occurring error in the analysis

codestring
messagestring
triggerboolean

Trigger the analysis

If set to false, the call will only update the accounts You will need to call the route POST /analysis/{analysisId}/trigger to trigger the analysis afterwards

PATCH /v2/businesses/{businessId}/analyses/{analysisId}
curl --request PATCH \
--url 'https://api.algoan.com/v2/businesses/{businessId}/analyses/{analysisId}' \
--header 'Authorization: Bearer {token}' \
--data '{
"accounts": [
{
"id": "{string}",
"balance": "{number}",
"balanceDate": "{date-time}",
"currency": "{string}",
"type": "{string}",
"usage": "{string}",
"ownership": "{string}",
"owners": [
{
"name": "{string}"
}
],
"iban": "{string}",
"bic": "{string}",
"name": "{string}",
"bank": {
"id": "{string}",
"logoUrl": "{string}",
"name": "{string}",
"country": "{string}"
},
"country": "{string}",
"coming": "{number}",
"details": {
"savings": {
"type": "{string}",
"openedAt": "{date-time}",
"maximumAmount": "{number}",
"interestRate": "{number}"
},
Copy
Responses
200

OK

objectobject

Analysis

idstring

Id of the analysis

customerIdstring

Customer id to which the analysis is related

sessionIdstring

Session id to which the analysis is related

folderIdstring

Folder id to which the analysis is related. Set when the analysis is created from PDF bank statements.

parametersobject

Parameters for the analysis computation

sourcestring

Source of the analysis

Enum: INTERNAL,CLIENT,CASH_FLOW_UPDATE,ACCOUNT_SELECTION_UPDATE,PERIOD_UPDATE,REFRESH,REFRESH_WITH_NEW_ACCOUNTS,PDF_UPDATE

dataOriginstring

Origin of the banking data

Enum: OPEN_BANKING,PDF,UNKNOWN

formatstring

Original format of the open banking data (default to ALGOAN).

Enum: MASTERCARD_OPEN_BANKING_ENTERPRISE_V2,MASTERCARD_OPEN_BANKING,MASTERCARD_OPEN_FINANCE_DATA_V1,ALGOAN,BUDGET_INSIGHT_V2_0,POWENS_V2_1,LINXO_CONNECT_DIRECT_ACCOUNT_API_V3,LINXO_CONNECT_NEW_DIRECT_ACCOUNT_API_V3,LINXO_CONNECT_ACCOUNT_API_V2,TINK_V2,HYBRID

statusstring

Status of the analysis

---
title: Analysis status
---
flowchart TD

0((•)) -->|POST /analyses| A[CREATED]

A -->|no accounts in body and triggerAccountSync=true| B[FETCHING_DATA]
A -->|accounts in body| C[IN_PROGRESS]
A -->|PATCH /analyses with error='cause' OR missing data and triggerAccountSync=false| F

B -->|PATCH /analyses with trigger=true OR POST /analyses/:id/trigger| C

C -->|needs user action| D[PENDING]

D -->|PATCH /analyses/:id| C
D -->|PATCH /analyses/:id| E

C -->|Success| E@{ shape: stadium, label: "COMPLETED" }
C -->|Error| F@{ shape: stadium, label: "ERROR" }

style E fill:#0f0,stroke:#333,stroke-width:2px
style F fill:#f00,stroke:#333,stroke-width:2px

Enum: CREATED,FETCHING_DATA,IN_PROGRESS,PENDING,COMPLETED,ERROR

errorobject

Details about an occurring error in the analysis

codestring
messagestring
createdAtdate-time

Creation date of the analysis

updatedAtdate-time

Last update date of the analysis

400

Validation failed

401

Authentication required

403

Insufficient permissions

404

Not Found

Response
{
"id": "{string}",
"customerId": "{string}",
"sessionId": "{string}",
"folderId": "{string}",
"parameters": {
"disableScores": "{boolean}",
"scoreVersion": "{string}",
"disableCreditInsights": "{boolean}",
"useBalanceDate": "{boolean}",
"launchReport": "{boolean}",
"period": {
"mode": "{string}",
"numberOfDays": "{integer}",
"numberOfMonths": "{integer}",
"customWindowDateRange": {
"minDate": "{string}",
"maxDate": "{string}",
"minScoreDate": "{string}",
"maxScoreDate": "{string}"
},
"includeCheckingAccountsOnTruncateWindow": "{boolean}",
"isComputedUsingProjectConfig": "{boolean}"
}
},
"source": "{string}",
"dataOrigin": "{string}",
"format": "{string}",
"status": "{string}",
"error": {
"code": "{string}",
"message": "{string}"
},
"createdAt": "{date-time}",
"updatedAt": "{date-time}"
}
Copy

Find daily balances linked to an analysis

Auth
Path Params
businessIdstring

id of the related business

analysisIdstring

id of the analysis

GET /v2/businesses/{businessId}/analyses/{analysisId}/balances
curl --get \
--url 'https://api.algoan.com/v2/businesses/{businessId}/analyses/{analysisId}/balances' \
--header 'Authorization: Bearer {token}'
Copy
Responses
200

OK

objectobject
resourcesarray[object]
datedate-time

Date of the balance

balancenumber

Account balance for the specific date

paginationobject
400

Bad request if the analysis is not completed

401

Authentication required

403

Insufficient permissions

404

Not Found

Response
{
"resources": [
{
"date": "{date-time}",
"balance": "{number}"
}
],
"pagination": {
"next": "{string}",
"previous": "{string}",
"first": "{string}",
"last": "{string}",
"totalPages": "{number}",
"totalResources": "{number}"
}
}
Copy

Trigger analysis computation

Auth
Path Params
businessIdstring

id of the related business

analysisIdstring

id of the analysis to update

Request Body

parameters to update

objectobject

Trigger analysis dto

disableScoresboolean

Disable scores generation during the analysis

disableCreditInsightsboolean

Disable credit insights generation during the analysis

POST /v2/businesses/{businessId}/analyses/{analysisId}/trigger
curl --request POST \
--url 'https://api.algoan.com/v2/businesses/{businessId}/analyses/{analysisId}/trigger' \
--header 'Authorization: Bearer {token}' \
--data '{
"disableScores": "{boolean}",
"disableCreditInsights": "{boolean}"
}'
Copy
Responses
201

Created

objectobject

Analysis

idstring

Id of the analysis

customerIdstring

Customer id to which the analysis is related

sessionIdstring

Session id to which the analysis is related

folderIdstring

Folder id to which the analysis is related. Set when the analysis is created from PDF bank statements.

parametersobject

Parameters for the analysis computation

sourcestring

Source of the analysis

Enum: INTERNAL,CLIENT,CASH_FLOW_UPDATE,ACCOUNT_SELECTION_UPDATE,PERIOD_UPDATE,REFRESH,REFRESH_WITH_NEW_ACCOUNTS,PDF_UPDATE

dataOriginstring

Origin of the banking data

Enum: OPEN_BANKING,PDF,UNKNOWN

formatstring

Original format of the open banking data (default to ALGOAN).

Enum: MASTERCARD_OPEN_BANKING_ENTERPRISE_V2,MASTERCARD_OPEN_BANKING,MASTERCARD_OPEN_FINANCE_DATA_V1,ALGOAN,BUDGET_INSIGHT_V2_0,POWENS_V2_1,LINXO_CONNECT_DIRECT_ACCOUNT_API_V3,LINXO_CONNECT_NEW_DIRECT_ACCOUNT_API_V3,LINXO_CONNECT_ACCOUNT_API_V2,TINK_V2,HYBRID

statusstring

Status of the analysis

---
title: Analysis status
---
flowchart TD

0((•)) -->|POST /analyses| A[CREATED]

A -->|no accounts in body and triggerAccountSync=true| B[FETCHING_DATA]
A -->|accounts in body| C[IN_PROGRESS]
A -->|PATCH /analyses with error='cause' OR missing data and triggerAccountSync=false| F

B -->|PATCH /analyses with trigger=true OR POST /analyses/:id/trigger| C

C -->|needs user action| D[PENDING]

D -->|PATCH /analyses/:id| C
D -->|PATCH /analyses/:id| E

C -->|Success| E@{ shape: stadium, label: "COMPLETED" }
C -->|Error| F@{ shape: stadium, label: "ERROR" }

style E fill:#0f0,stroke:#333,stroke-width:2px
style F fill:#f00,stroke:#333,stroke-width:2px

Enum: CREATED,FETCHING_DATA,IN_PROGRESS,PENDING,COMPLETED,ERROR

errorobject

Details about an occurring error in the analysis

codestring
messagestring
createdAtdate-time

Creation date of the analysis

updatedAtdate-time

Last update date of the analysis

400

Validation failed

401

Authentication required

403

Insufficient permissions

404

Not Found

Response
{
"id": "{string}",
"customerId": "{string}",
"sessionId": "{string}",
"folderId": "{string}",
"parameters": {
"disableScores": "{boolean}",
"scoreVersion": "{string}",
"disableCreditInsights": "{boolean}",
"useBalanceDate": "{boolean}",
"launchReport": "{boolean}",
"period": {
"mode": "{string}",
"numberOfDays": "{integer}",
"numberOfMonths": "{integer}",
"customWindowDateRange": {
"minDate": "{string}",
"maxDate": "{string}",
"minScoreDate": "{string}",
"maxScoreDate": "{string}"
},
"includeCheckingAccountsOnTruncateWindow": "{boolean}",
"isComputedUsingProjectConfig": "{boolean}"
}
},
"source": "{string}",
"dataOrigin": "{string}",
"format": "{string}",
"status": "{string}",
"error": {
"code": "{string}",
"message": "{string}"
},
"createdAt": "{date-time}",
"updatedAt": "{date-time}"
}
Copy

Score

Score attached to the analysis

Find an analysis by id and return only scores

Auth
Path Params
businessIdstring

id of the related customer

analysisIdstring

id of the analysis

GET /v2/businesses/{businessId}/analyses/{analysisId}/scores
curl --get \
--url 'https://api.algoan.com/v2/businesses/{businessId}/analyses/{analysisId}/scores' \
--header 'Authorization: Bearer {token}'
Copy
Responses
200

OK

objectobject

Base scores class

idstring

Id of the score

analysisIdstring

Analysis id to which the score is related

createdAt

Creation date of the score

stringstring
updatedAt

Last update date

stringstring
usagestring

Api quota usage level

Enum: CONSUMER,BUSINESS

businessCreditScoreobject

Business credit score model

401

Authentication required

403

Insufficient permissions

404

Not Found

Response
{
"id": "{string}",
"analysisId": "{string}",
"createdAt": "{string}",
"updatedAt": "{string}",
"usage": "{string}",
"businessCreditScore": {
"version": "{string}",
"value": "{number}",
"indicators": {
"cashFlowManagement": "{number}",
"financialStability": "{number}",
"businessManagement": "{number}"
},
"monitoring": {
"regularExpensesCount": "{number}",
"maxEvolution": "{number}",
"last90dDaysAbove5000": "{number}",
"urssafAmount": "{number}",
"taxAmount": "{number}",
"countRisky": "{number}"
}
}
}
Copy

Find all accounts linked to an analysis

Auth
Path Params
businessIdstring

id of the related business

analysisIdstring

id of the analysis

Query String
includeNotComputedboolean

Default: false

GET /v2/businesses/{businessId}/analyses/{analysisId}/accounts
curl --get \
--url 'https://api.algoan.com/v2/businesses/{businessId}/analyses/{analysisId}/accounts' \
--header 'Authorization: Bearer {token}' \
--data includeNotComputed={includeNotComputed}
Copy
Responses
200

OK

objectobject
resourcesarray[object]
paginationobject
400

Bad Request

401

Authentication required

403

Insufficient permissions

404

Not Found

Response
{
"resources": [
{
"id": "{string}",
"balance": "{number}",
"balanceDate": "{date-time}",
"currency": "{string}",
"type": "{string}",
"usage": "{string}",
"ownership": "{string}",
"owners": [
{
"name": "{string}"
}
],
"iban": "{string}",
"bic": "{string}",
"name": "{string}",
"bank": {
"id": "{string}",
"logoUrl": "{string}",
"name": "{string}",
"country": "{string}"
},
"country": "{string}",
"coming": "{number}",
"details": {
"savings": {
"type": "{string}",
"openedAt": "{date-time}",
"maximumAmount": "{number}",
"interestRate": "{number}"
},
"loan": {
"type": "{string}",
"amount": "{number}",
"startDate": "{date-time}",
"endDate": "{date-time}",
"duration": "{number}",
"insuranceLabel": "{string}",
"payment": "{number}",
"remainingCapital": "{number}",
"interestRate": "{number}"
}
},
"aggregator": {
"id": "{string}",
"type": "{string}",
"category": "{string}"
},
"isMerged": "{boolean}",
"number": "{string}",
"relatedAccountIds": [
"{array[string]...}"
],
"isComputed": "{boolean}",
"createdAt": "{date-time}",
"updatedAt": "{date-time}"
}
],
"pagination": {
"next": "{string}",
"previous": "{string}",
"first": "{string}",
"last": "{string}",
"totalPages": "{number}",
"totalResources": "{number}"
}
}
Copy

Find all Daily Balances linked to an account from an analysis

Auth
Path Params
businessIdstring

id of the related business

analysisIdstring

id of the analysis

accountIdstring

id of the account

GET /v2/businesses/{businessId}/analyses/{analysisId}/accounts/{accountId}/balances
curl --get \
--url 'https://api.algoan.com/v2/businesses/{businessId}/analyses/{analysisId}/accounts/{accountId}/balances' \
--header 'Authorization: Bearer {token}'
Copy
Responses
200

OK

objectobject
resourcesarray[object]
datedate-time

Date of the balance

balancenumber

Account balance for the specific date

paginationobject
401

Authentication required

403

Insufficient permissions

404

Not Found

Response
{
"resources": [
{
"date": "{date-time}",
"balance": "{number}"
}
],
"pagination": {
"next": "{string}",
"previous": "{string}",
"first": "{string}",
"last": "{string}",
"totalPages": "{number}",
"totalResources": "{number}"
}
}
Copy

Find all transactions linked to an account from an analysis

Auth
Path Params
businessIdstring

id of the related business

analysisIdstring

id of the analysis

accountIdstring

id of the account

GET /v2/businesses/{businessId}/analyses/{analysisId}/accounts/{accountId}/transactions
curl --get \
--url 'https://api.algoan.com/v2/businesses/{businessId}/analyses/{analysisId}/accounts/{accountId}/transactions' \
--header 'Authorization: Bearer {token}'
Copy
Responses
200

OK

objectobject
resourcesarray
paginationobject
401

Authentication required

403

Insufficient permissions

404

Not Found

Response
{
"resources": [
{
"id": "{string}",
"accountId": "{string}",
"dates": {
"debitedAt": "{date-time}",
"bookedAt": "{date-time}"
},
"description": "{string}",
"amount": "{number}",
"currency": "{string}",
"isComing": "{boolean}",
"aggregator": {
"id": "{string}",
"type": "{string}",
"category": "{string}"
},
"comment": "{string}",
"isNonAnalysed": "{boolean}",
"createdAt": "{date-time}",
"updatedAt": "{date-time}",
"enrichments": {
"category": "{}",
"type": "{string}",
"isRejected": "{boolean}",
"groupId": "{string}",
"descriptionGroupId": "{string}"
}
}
],
"pagination": {
"next": "{string}",
"previous": "{string}",
"first": "{string}",
"last": "{string}",
"totalPages": "{number}",
"totalResources": "{number}"
}
}
Copy

Find all transactions of an analysis

Auth
Path Params
businessIdstring
analysisIdstring

id of the analysis

GET /v2/businesses/{businessId}/analyses/{analysisId}/transactions
curl --get \
--url 'https://api.algoan.com/v2/businesses/{businessId}/analyses/{analysisId}/transactions' \
--header 'Authorization: Bearer {token}'
Copy
Responses
200

OK

objectobject
resources
objectobject

Transaction model

idstring

ID of the transaction

accountIdstring

Id of the account linked to the transaction on Algoan

datesobject

Dates associated with the transaction

debitedAtdate-time

Debit date as seen on the bank statement

bookedAtdate-time

Realization date of the transaction

descriptionstring

Description of the transaction taken from the banks's website

amountnumber

Transaction's amount (negative if debit)

currencystring

Transaction's currency

pattern: ^[A-Z]{3,4}$

enrichmentsobject

Properties computed by Algoan

isComingboolean

Indicates if the transaction will be debited in the future or not.

aggregatorobject

Information provided by the aggregator

commentstring

Comment on the transaction

isNonAnalysedboolean

Indicates if the transaction is non analysed in the case of the full months analysis configuration

createdAtdate-time

Creation date of the transaction in Algoan's database

updatedAtdate-time

Last update date of the transaction in Algoan's database

paginationobject
401

Authentication required

403

Insufficient permissions

404

Not Found

Response
{
"resources": [
{
"id": "{string}",
"accountId": "{string}",
"dates": {
"debitedAt": "{date-time}",
"bookedAt": "{date-time}"
},
"description": "{string}",
"amount": "{number}",
"currency": "{string}",
"enrichments": {
"category": "{}",
"type": "{string}",
"isRejected": "{boolean}",
"counterPartId": "{string}",
"relatedTransactions": {
"retryOf": "{string}",
"retriedOn": "{string}",
"rejectionOf": "{string}",
"rejectedOn": "{string}",
"transferOf": "{string}",
"transferedOn": "{string}",
"transferredOn": "{string}",
"resetOf": "{string}",
"resetOn": "{string}",
"refundOf": "{string}",
"refundedOn": "{string}"
},
"groupId": "{string}",
"descriptionGroupId": "{string}",
"isInternationalTransfer": "{boolean}"
},
"isComing": "{boolean}",
"aggregator": {
"id": "{string}",
"type": "{string}",
"category": "{string}"
},
"comment": "{string}",
"isNonAnalysed": "{boolean}",
"createdAt": "{date-time}",
"updatedAt": "{date-time}"
}
],
"pagination": {
"next": "{string}",
"previous": "{string}",
"first": "{string}",
"last": "{string}",
"totalPages": "{number}",
"totalResources": "{number}"
}
}
Copy

Get the list of subscriptions

Auth
Query String
filterstring

JSON-encoded filter on the subscriptions, sanitized against an allow-list of fields and operators

GET /v1/subscriptions
curl --get \
--url 'https://api.algoan.com/v1/subscriptions' \
--header 'Authorization: Bearer {token}' \
--data filter={filter}
Copy
Responses
200

OK

arrayarray[object]
idstring

Id of the subscription

secretstring

Secret key

encryptionFlagboolean

Encrypted secret flag

targetstring

target

subscriberIdstring

Id of the subscriber

Deprecated: never used and always the same value

Deprecated

eventNamestring

Subscription name

Enum: products_required,pricings_required,insurances_required,decision_required,bankreader_link_required,bankreader_configuration_required,bankreader_required,bankreader_completed,expert_indicators_completed,financial_check_completed,credit_score_required,credit_score_completed,conversation_link_created,application_updated,aggregator_link_required,bank_details_required,analysis_completed,bank_details_fetched,analysis_failed,report_completed,report_failed,folder_action_required,require_folder_action,kyc_documents_list_required,legal_documents_required,kyc_file_uploaded,kyc_folder_validation_required,kyc_folder_created,electronic_signature_link_required,electronic_signature_configuration_required,electronic_signature_completed,kyc_manager_link_required,kyc_manager_configuration_required,kyc_manager_process_completed,kyc_banking_information_completed,kyc_banking_information_link_required,kyc_face_matching_completed,kyc_face_matching_link_required,kyc_proof_of_address_completed,kyc_proof_of_address_link_required,kyc_proof_of_identity_completed,kyc_proof_of_identity_link_required,kyc_proof_of_income_completed,kyc_proof_of_income_link_required,kyc_proof_of_identity_face_match_completed,kyc_proof_of_identity_face_match_link_required,kyc_banking_information_configuration_required,kyc_face_matching_configuration_required,kyc_proof_of_address_configuration_required,kyc_proof_of_identity_configuration_required,kyc_proof_of_income_configuration_required,kyc_proof_of_identity_face_match_configuration_required,kyc_insurance_contract_link_required,kyc_insurance_contract_completed,kyc_product_contract_link_required,kyc_product_contract_completed,kyc_information_link_required,kyc_information_completed,kyc_debit_mandate_link_required,kyc_debit_mandate_completed,kyc_records_link_required,kyc_records_completed,kyc_legal_mentions_link_required,kyc_legal_mentions_completed,kyc_receipt_link_required,kyc_receipt_completed,kyc_others_link_required,kyc_others_completed,kyc_others_configuration_required,folder_processing_completed,external_sources_completed,external_error,send_email,send_raw_email,send_raw_slack,send_sms,send_raw_sms,resource_expired,recovery_required,offers_required,contract_required,offer_decision_required,creditworthiness_required,analysis_deletion_required,session_connect_state_changed,service_account_created,service_account_updated,service_account_deleted

statusstring

Status of the subscription

Enum: ACTIVE,INACTIVE,DEACTIVATE

clientVpcstring

Client VPC

useProxyboolean

Use Proxy

forceSendEmailboolean

Force sending the webhook_failed notification email even when emails are globally disabled through the disableEmails configuration flag

oAuth2Credentialsobject

DTO for OAuth2 Credentials

mtlsCredentialsobject

DTO for mTLS credentials.

webhookRetryDelaysarray[number]

Webhook retry delays in milliseconds Array of delays for retry attempts when webhook fails Delays are counted from the previous attempt

createdAtdate-time

Creation date of the subscription

updatedAtdate-time

Last update date of the subscription

401

Authentication required

403

Insufficient permissions

Response
[
{
"id": "{string}",
"secret": "{string}",
"encryptionFlag": "{boolean}",
"target": "{string}",
"subscriberId": "{string}",
"eventName": "{string}",
"status": "{string}",
"clientVpc": "{string}",
"useProxy": "{boolean}",
"forceSendEmail": "{boolean}",
"oAuth2Credentials": {
"authUrl": "{string}",
"refreshUrl": "{string}",
"clientId": "{string}",
"clientSecret": "{string}",
"username": "{string}",
"password": "{string}",
"scope": "{string}",
"clientAssertionOptions": {
"type": "{string}",
"aud": [
"{array[string]...}"
]
},
"additionalHeaders": {}
},
"mtlsCredentials": {
"cert": "{string}",
"key": "{string}",
"ca": "{string}"
},
"webhookRetryDelays": [
"{array[number]...}"
],
"createdAt": "{date-time}",
"updatedAt": "{date-time}"
}
]
Copy

POST /subscriptions/

Auth
Headers
x-vpc-clientstring
Request Body
objectobject

Dto for create the subscription

idstring

The subscription ID

subscriberIdstring

The subscriber ID

Deprecated: never used and always the same value

Deprecated

projectId

The project ID

stringstring
targetstring

Target URL for the webhook

eventNamestring

Subscription name

Enum: products_required,pricings_required,insurances_required,decision_required,bankreader_link_required,bankreader_configuration_required,bankreader_required,bankreader_completed,expert_indicators_completed,financial_check_completed,credit_score_required,credit_score_completed,conversation_link_created,application_updated,aggregator_link_required,bank_details_required,analysis_completed,bank_details_fetched,analysis_failed,report_completed,report_failed,folder_action_required,require_folder_action,kyc_documents_list_required,legal_documents_required,kyc_file_uploaded,kyc_folder_validation_required,kyc_folder_created,electronic_signature_link_required,electronic_signature_configuration_required,electronic_signature_completed,kyc_manager_link_required,kyc_manager_configuration_required,kyc_manager_process_completed,kyc_banking_information_completed,kyc_banking_information_link_required,kyc_face_matching_completed,kyc_face_matching_link_required,kyc_proof_of_address_completed,kyc_proof_of_address_link_required,kyc_proof_of_identity_completed,kyc_proof_of_identity_link_required,kyc_proof_of_income_completed,kyc_proof_of_income_link_required,kyc_proof_of_identity_face_match_completed,kyc_proof_of_identity_face_match_link_required,kyc_banking_information_configuration_required,kyc_face_matching_configuration_required,kyc_proof_of_address_configuration_required,kyc_proof_of_identity_configuration_required,kyc_proof_of_income_configuration_required,kyc_proof_of_identity_face_match_configuration_required,kyc_insurance_contract_link_required,kyc_insurance_contract_completed,kyc_product_contract_link_required,kyc_product_contract_completed,kyc_information_link_required,kyc_information_completed,kyc_debit_mandate_link_required,kyc_debit_mandate_completed,kyc_records_link_required,kyc_records_completed,kyc_legal_mentions_link_required,kyc_legal_mentions_completed,kyc_receipt_link_required,kyc_receipt_completed,kyc_others_link_required,kyc_others_completed,kyc_others_configuration_required,folder_processing_completed,external_sources_completed,external_error,send_email,send_raw_email,send_raw_slack,send_sms,send_raw_sms,resource_expired,recovery_required,offers_required,contract_required,offer_decision_required,creditworthiness_required,analysis_deletion_required,session_connect_state_changed,service_account_created,service_account_updated,service_account_deleted

secretstring

The secret used to sign the webhook payloads

oAuth2Credentialsobject

DTO for OAuth2 Credentials

mtlsCredentialsobject

DTO for mTLS credentials.

webhookRetryDelaysarray[number]

Webhook retry delays in seconds If not provided, default values will be used

forceSendEmailboolean

Force sending the webhook_failed notification email even when emails are globally disabled through the disableEmails configuration flag

POST /v1/subscriptions
curl --request POST \
--url 'https://api.algoan.com/v1/subscriptions' \
--header 'x-vpc-client: {x-vpc-client}' \
--header 'Authorization: Bearer {token}' \
--data '{
"id": "{string}",
"subscriberId": "{string}",
"projectId": "{string}",
"target": "{string}",
"eventName": "{string}",
"secret": "{string}",
"oAuth2Credentials": {
"authUrl": "{string}",
"refreshUrl": "{string}",
"clientId": "{string}",
"clientSecret": "{string}",
"username": "{string}",
"password": "{string}",
"scope": "{string}",
"clientAssertionOptions": {
"type": "{string}",
"aud": [
"{array[string]...}"
]
},
"additionalHeaders": {}
},
"mtlsCredentials": {
"cert": "{string}",
"key": "{string}",
"ca": "{string}"
},
"webhookRetryDelays": [
"{array[number]...}"
],
"forceSendEmail": "{boolean}"
}'
Copy
Responses
201

Created

objectobject

Subscription model

idstring

Id of the subscription

secretstring

Secret key

encryptionFlagboolean

Encrypted secret flag

targetstring

target

subscriberIdstring

Id of the subscriber

Deprecated: never used and always the same value

Deprecated

eventNamestring

Subscription name

Enum: products_required,pricings_required,insurances_required,decision_required,bankreader_link_required,bankreader_configuration_required,bankreader_required,bankreader_completed,expert_indicators_completed,financial_check_completed,credit_score_required,credit_score_completed,conversation_link_created,application_updated,aggregator_link_required,bank_details_required,analysis_completed,bank_details_fetched,analysis_failed,report_completed,report_failed,folder_action_required,require_folder_action,kyc_documents_list_required,legal_documents_required,kyc_file_uploaded,kyc_folder_validation_required,kyc_folder_created,electronic_signature_link_required,electronic_signature_configuration_required,electronic_signature_completed,kyc_manager_link_required,kyc_manager_configuration_required,kyc_manager_process_completed,kyc_banking_information_completed,kyc_banking_information_link_required,kyc_face_matching_completed,kyc_face_matching_link_required,kyc_proof_of_address_completed,kyc_proof_of_address_link_required,kyc_proof_of_identity_completed,kyc_proof_of_identity_link_required,kyc_proof_of_income_completed,kyc_proof_of_income_link_required,kyc_proof_of_identity_face_match_completed,kyc_proof_of_identity_face_match_link_required,kyc_banking_information_configuration_required,kyc_face_matching_configuration_required,kyc_proof_of_address_configuration_required,kyc_proof_of_identity_configuration_required,kyc_proof_of_income_configuration_required,kyc_proof_of_identity_face_match_configuration_required,kyc_insurance_contract_link_required,kyc_insurance_contract_completed,kyc_product_contract_link_required,kyc_product_contract_completed,kyc_information_link_required,kyc_information_completed,kyc_debit_mandate_link_required,kyc_debit_mandate_completed,kyc_records_link_required,kyc_records_completed,kyc_legal_mentions_link_required,kyc_legal_mentions_completed,kyc_receipt_link_required,kyc_receipt_completed,kyc_others_link_required,kyc_others_completed,kyc_others_configuration_required,folder_processing_completed,external_sources_completed,external_error,send_email,send_raw_email,send_raw_slack,send_sms,send_raw_sms,resource_expired,recovery_required,offers_required,contract_required,offer_decision_required,creditworthiness_required,analysis_deletion_required,session_connect_state_changed,service_account_created,service_account_updated,service_account_deleted

statusstring

Status of the subscription

Enum: ACTIVE,INACTIVE,DEACTIVATE

clientVpcstring

Client VPC

useProxyboolean

Use Proxy

forceSendEmailboolean

Force sending the webhook_failed notification email even when emails are globally disabled through the disableEmails configuration flag

oAuth2Credentialsobject

DTO for OAuth2 Credentials

mtlsCredentialsobject

DTO for mTLS credentials.

webhookRetryDelaysarray[number]

Webhook retry delays in milliseconds Array of delays for retry attempts when webhook fails Delays are counted from the previous attempt

createdAtdate-time

Creation date of the subscription

updatedAtdate-time

Last update date of the subscription

400

Validation failed

401

Authentication required

403

Insufficient permissions

Response
{
"id": "{string}",
"secret": "{string}",
"encryptionFlag": "{boolean}",
"target": "{string}",
"subscriberId": "{string}",
"eventName": "{string}",
"status": "{string}",
"clientVpc": "{string}",
"useProxy": "{boolean}",
"forceSendEmail": "{boolean}",
"oAuth2Credentials": {
"authUrl": "{string}",
"refreshUrl": "{string}",
"clientId": "{string}",
"clientSecret": "{string}",
"username": "{string}",
"password": "{string}",
"scope": "{string}",
"clientAssertionOptions": {
"type": "{string}",
"aud": [
"{array[string]...}"
]
},
"additionalHeaders": {}
},
"mtlsCredentials": {
"cert": "{string}",
"key": "{string}",
"ca": "{string}"
},
"webhookRetryDelays": [
"{array[number]...}"
],
"createdAt": "{date-time}",
"updatedAt": "{date-time}"
}
Copy

DELETE /subscriptions/:subscriptionId

Auth
Path Params
subscriptionIdstring
DELETE /v1/subscriptions/{subscriptionId}
curl --request DELETE \
--url 'https://api.algoan.com/v1/subscriptions/{subscriptionId}' \
--header 'Authorization: Bearer {token}'
Copy
Responses
200

OK

objectobject

Subscription model

idstring

Id of the subscription

secretstring

Secret key

encryptionFlagboolean

Encrypted secret flag

targetstring

target

subscriberIdstring

Id of the subscriber

Deprecated: never used and always the same value

Deprecated

eventNamestring

Subscription name

Enum: products_required,pricings_required,insurances_required,decision_required,bankreader_link_required,bankreader_configuration_required,bankreader_required,bankreader_completed,expert_indicators_completed,financial_check_completed,credit_score_required,credit_score_completed,conversation_link_created,application_updated,aggregator_link_required,bank_details_required,analysis_completed,bank_details_fetched,analysis_failed,report_completed,report_failed,folder_action_required,require_folder_action,kyc_documents_list_required,legal_documents_required,kyc_file_uploaded,kyc_folder_validation_required,kyc_folder_created,electronic_signature_link_required,electronic_signature_configuration_required,electronic_signature_completed,kyc_manager_link_required,kyc_manager_configuration_required,kyc_manager_process_completed,kyc_banking_information_completed,kyc_banking_information_link_required,kyc_face_matching_completed,kyc_face_matching_link_required,kyc_proof_of_address_completed,kyc_proof_of_address_link_required,kyc_proof_of_identity_completed,kyc_proof_of_identity_link_required,kyc_proof_of_income_completed,kyc_proof_of_income_link_required,kyc_proof_of_identity_face_match_completed,kyc_proof_of_identity_face_match_link_required,kyc_banking_information_configuration_required,kyc_face_matching_configuration_required,kyc_proof_of_address_configuration_required,kyc_proof_of_identity_configuration_required,kyc_proof_of_income_configuration_required,kyc_proof_of_identity_face_match_configuration_required,kyc_insurance_contract_link_required,kyc_insurance_contract_completed,kyc_product_contract_link_required,kyc_product_contract_completed,kyc_information_link_required,kyc_information_completed,kyc_debit_mandate_link_required,kyc_debit_mandate_completed,kyc_records_link_required,kyc_records_completed,kyc_legal_mentions_link_required,kyc_legal_mentions_completed,kyc_receipt_link_required,kyc_receipt_completed,kyc_others_link_required,kyc_others_completed,kyc_others_configuration_required,folder_processing_completed,external_sources_completed,external_error,send_email,send_raw_email,send_raw_slack,send_sms,send_raw_sms,resource_expired,recovery_required,offers_required,contract_required,offer_decision_required,creditworthiness_required,analysis_deletion_required,session_connect_state_changed,service_account_created,service_account_updated,service_account_deleted

statusstring

Status of the subscription

Enum: ACTIVE,INACTIVE,DEACTIVATE

clientVpcstring

Client VPC

useProxyboolean

Use Proxy

forceSendEmailboolean

Force sending the webhook_failed notification email even when emails are globally disabled through the disableEmails configuration flag

oAuth2Credentialsobject

DTO for OAuth2 Credentials

mtlsCredentialsobject

DTO for mTLS credentials.

webhookRetryDelaysarray[number]

Webhook retry delays in milliseconds Array of delays for retry attempts when webhook fails Delays are counted from the previous attempt

createdAtdate-time

Creation date of the subscription

updatedAtdate-time

Last update date of the subscription

401

Authentication required

403

Insufficient permissions

404

Not Found

Response
{
"id": "{string}",
"secret": "{string}",
"encryptionFlag": "{boolean}",
"target": "{string}",
"subscriberId": "{string}",
"eventName": "{string}",
"status": "{string}",
"clientVpc": "{string}",
"useProxy": "{boolean}",
"forceSendEmail": "{boolean}",
"oAuth2Credentials": {
"authUrl": "{string}",
"refreshUrl": "{string}",
"clientId": "{string}",
"clientSecret": "{string}",
"username": "{string}",
"password": "{string}",
"scope": "{string}",
"clientAssertionOptions": {
"type": "{string}",
"aud": [
"{array[string]...}"
]
},
"additionalHeaders": {}
},
"mtlsCredentials": {
"cert": "{string}",
"key": "{string}",
"ca": "{string}"
},
"webhookRetryDelays": [
"{array[number]...}"
],
"createdAt": "{date-time}",
"updatedAt": "{date-time}"
}
Copy

GET /subscriptions/:subscriptionId

Auth
Path Params
subscriptionIdstring
GET /v1/subscriptions/{subscriptionId}
curl --get \
--url 'https://api.algoan.com/v1/subscriptions/{subscriptionId}' \
--header 'Authorization: Bearer {token}'
Copy
Responses
200

OK

objectobject

Subscription model

idstring

Id of the subscription

secretstring

Secret key

encryptionFlagboolean

Encrypted secret flag

targetstring

target

subscriberIdstring

Id of the subscriber

Deprecated: never used and always the same value

Deprecated

eventNamestring

Subscription name

Enum: products_required,pricings_required,insurances_required,decision_required,bankreader_link_required,bankreader_configuration_required,bankreader_required,bankreader_completed,expert_indicators_completed,financial_check_completed,credit_score_required,credit_score_completed,conversation_link_created,application_updated,aggregator_link_required,bank_details_required,analysis_completed,bank_details_fetched,analysis_failed,report_completed,report_failed,folder_action_required,require_folder_action,kyc_documents_list_required,legal_documents_required,kyc_file_uploaded,kyc_folder_validation_required,kyc_folder_created,electronic_signature_link_required,electronic_signature_configuration_required,electronic_signature_completed,kyc_manager_link_required,kyc_manager_configuration_required,kyc_manager_process_completed,kyc_banking_information_completed,kyc_banking_information_link_required,kyc_face_matching_completed,kyc_face_matching_link_required,kyc_proof_of_address_completed,kyc_proof_of_address_link_required,kyc_proof_of_identity_completed,kyc_proof_of_identity_link_required,kyc_proof_of_income_completed,kyc_proof_of_income_link_required,kyc_proof_of_identity_face_match_completed,kyc_proof_of_identity_face_match_link_required,kyc_banking_information_configuration_required,kyc_face_matching_configuration_required,kyc_proof_of_address_configuration_required,kyc_proof_of_identity_configuration_required,kyc_proof_of_income_configuration_required,kyc_proof_of_identity_face_match_configuration_required,kyc_insurance_contract_link_required,kyc_insurance_contract_completed,kyc_product_contract_link_required,kyc_product_contract_completed,kyc_information_link_required,kyc_information_completed,kyc_debit_mandate_link_required,kyc_debit_mandate_completed,kyc_records_link_required,kyc_records_completed,kyc_legal_mentions_link_required,kyc_legal_mentions_completed,kyc_receipt_link_required,kyc_receipt_completed,kyc_others_link_required,kyc_others_completed,kyc_others_configuration_required,folder_processing_completed,external_sources_completed,external_error,send_email,send_raw_email,send_raw_slack,send_sms,send_raw_sms,resource_expired,recovery_required,offers_required,contract_required,offer_decision_required,creditworthiness_required,analysis_deletion_required,session_connect_state_changed,service_account_created,service_account_updated,service_account_deleted

statusstring

Status of the subscription

Enum: ACTIVE,INACTIVE,DEACTIVATE

clientVpcstring

Client VPC

useProxyboolean

Use Proxy

forceSendEmailboolean

Force sending the webhook_failed notification email even when emails are globally disabled through the disableEmails configuration flag

oAuth2Credentialsobject

DTO for OAuth2 Credentials

mtlsCredentialsobject

DTO for mTLS credentials.

webhookRetryDelaysarray[number]

Webhook retry delays in milliseconds Array of delays for retry attempts when webhook fails Delays are counted from the previous attempt

createdAtdate-time

Creation date of the subscription

updatedAtdate-time

Last update date of the subscription

401

Authentication required

403

Insufficient permissions

404

Not Found

Response
{
"id": "{string}",
"secret": "{string}",
"encryptionFlag": "{boolean}",
"target": "{string}",
"subscriberId": "{string}",
"eventName": "{string}",
"status": "{string}",
"clientVpc": "{string}",
"useProxy": "{boolean}",
"forceSendEmail": "{boolean}",
"oAuth2Credentials": {
"authUrl": "{string}",
"refreshUrl": "{string}",
"clientId": "{string}",
"clientSecret": "{string}",
"username": "{string}",
"password": "{string}",
"scope": "{string}",
"clientAssertionOptions": {
"type": "{string}",
"aud": [
"{array[string]...}"
]
},
"additionalHeaders": {}
},
"mtlsCredentials": {
"cert": "{string}",
"key": "{string}",
"ca": "{string}"
},
"webhookRetryDelays": [
"{array[number]...}"
],
"createdAt": "{date-time}",
"updatedAt": "{date-time}"
}
Copy

PATCH /subscriptions/:subscriptionId

Auth
Path Params
subscriptionIdstring
Request Body
objectobject

Dto used to update the subscription

targetstring

The target URL of the subscription

statusstring

Status of the subscription

Enum: ACTIVE,INACTIVE,DEACTIVATE

oAuth2Credentialsobject

DTO for OAuth2 Credentials

mtlsCredentialsobject

DTO for mTLS credentials.

webhookRetryDelaysarray[number]

The webhook retry delays for the subscription

forceSendEmailboolean

Force sending the webhook_failed notification email even when emails are globally disabled through the disableEmails configuration flag

PATCH /v1/subscriptions/{subscriptionId}
curl --request PATCH \
--url 'https://api.algoan.com/v1/subscriptions/{subscriptionId}' \
--header 'Authorization: Bearer {token}' \
--data '{
"target": "{string}",
"status": "{string}",
"oAuth2Credentials": {
"authUrl": "{string}",
"refreshUrl": "{string}",
"clientId": "{string}",
"clientSecret": "{string}",
"username": "{string}",
"password": "{string}",
"scope": "{string}",
"clientAssertionOptions": {
"type": "{string}",
"aud": [
"{array[string]...}"
]
},
"additionalHeaders": {}
},
"mtlsCredentials": {
"cert": "{string}",
"key": "{string}",
"ca": "{string}"
},
"webhookRetryDelays": [
"{array[number]...}"
],
"forceSendEmail": "{boolean}"
}'
Copy
Responses
200

OK

objectobject

Subscription model

idstring

Id of the subscription

secretstring

Secret key

encryptionFlagboolean

Encrypted secret flag

targetstring

target

subscriberIdstring

Id of the subscriber

Deprecated: never used and always the same value

Deprecated

eventNamestring

Subscription name

Enum: products_required,pricings_required,insurances_required,decision_required,bankreader_link_required,bankreader_configuration_required,bankreader_required,bankreader_completed,expert_indicators_completed,financial_check_completed,credit_score_required,credit_score_completed,conversation_link_created,application_updated,aggregator_link_required,bank_details_required,analysis_completed,bank_details_fetched,analysis_failed,report_completed,report_failed,folder_action_required,require_folder_action,kyc_documents_list_required,legal_documents_required,kyc_file_uploaded,kyc_folder_validation_required,kyc_folder_created,electronic_signature_link_required,electronic_signature_configuration_required,electronic_signature_completed,kyc_manager_link_required,kyc_manager_configuration_required,kyc_manager_process_completed,kyc_banking_information_completed,kyc_banking_information_link_required,kyc_face_matching_completed,kyc_face_matching_link_required,kyc_proof_of_address_completed,kyc_proof_of_address_link_required,kyc_proof_of_identity_completed,kyc_proof_of_identity_link_required,kyc_proof_of_income_completed,kyc_proof_of_income_link_required,kyc_proof_of_identity_face_match_completed,kyc_proof_of_identity_face_match_link_required,kyc_banking_information_configuration_required,kyc_face_matching_configuration_required,kyc_proof_of_address_configuration_required,kyc_proof_of_identity_configuration_required,kyc_proof_of_income_configuration_required,kyc_proof_of_identity_face_match_configuration_required,kyc_insurance_contract_link_required,kyc_insurance_contract_completed,kyc_product_contract_link_required,kyc_product_contract_completed,kyc_information_link_required,kyc_information_completed,kyc_debit_mandate_link_required,kyc_debit_mandate_completed,kyc_records_link_required,kyc_records_completed,kyc_legal_mentions_link_required,kyc_legal_mentions_completed,kyc_receipt_link_required,kyc_receipt_completed,kyc_others_link_required,kyc_others_completed,kyc_others_configuration_required,folder_processing_completed,external_sources_completed,external_error,send_email,send_raw_email,send_raw_slack,send_sms,send_raw_sms,resource_expired,recovery_required,offers_required,contract_required,offer_decision_required,creditworthiness_required,analysis_deletion_required,session_connect_state_changed,service_account_created,service_account_updated,service_account_deleted

statusstring

Status of the subscription

Enum: ACTIVE,INACTIVE,DEACTIVATE

clientVpcstring

Client VPC

useProxyboolean

Use Proxy

forceSendEmailboolean

Force sending the webhook_failed notification email even when emails are globally disabled through the disableEmails configuration flag

oAuth2Credentialsobject

DTO for OAuth2 Credentials

mtlsCredentialsobject

DTO for mTLS credentials.

webhookRetryDelaysarray[number]

Webhook retry delays in milliseconds Array of delays for retry attempts when webhook fails Delays are counted from the previous attempt

createdAtdate-time

Creation date of the subscription

updatedAtdate-time

Last update date of the subscription

400

Validation failed

401

Authentication required

403

Insufficient permissions

404

Not Found

Response
{
"id": "{string}",
"secret": "{string}",
"encryptionFlag": "{boolean}",
"target": "{string}",
"subscriberId": "{string}",
"eventName": "{string}",
"status": "{string}",
"clientVpc": "{string}",
"useProxy": "{boolean}",
"forceSendEmail": "{boolean}",
"oAuth2Credentials": {
"authUrl": "{string}",
"refreshUrl": "{string}",
"clientId": "{string}",
"clientSecret": "{string}",
"username": "{string}",
"password": "{string}",
"scope": "{string}",
"clientAssertionOptions": {
"type": "{string}",
"aud": [
"{array[string]...}"
]
},
"additionalHeaders": {}
},
"mtlsCredentials": {
"cert": "{string}",
"key": "{string}",
"ca": "{string}"
},
"webhookRetryDelays": [
"{array[number]...}"
],
"createdAt": "{date-time}",
"updatedAt": "{date-time}"
}
Copy

GET /subscriptions/:subscriptionId/events

Auth
Path Params
subscriptionIdstring
Query String
applicationIdstring

The application ID

lowIndexnumber

The low index for pagination

highIndexnumber

The high index for pagination

pagenumber

The page number for pagination

limitnumber

The limit of items per page for pagination

filterstring

The filter string to filter events

GET /v1/subscriptions/{subscriptionId}/events
curl --get \
--url 'https://api.algoan.com/v1/subscriptions/{subscriptionId}/events' \
--header 'Authorization: Bearer {token}' \
--data applicationId={applicationId} \
--data lowIndex={lowIndex} \
--data highIndex={highIndex} \
--data page={page} \
--data limit={limit} \
--data filter={filter}
Copy
Responses
200

OK

objectobject
resourcesarray[object]
paginationobject
401

Authentication required

403

Insufficient permissions

404

Not Found

Response
{
"resources": [
{
"id": "{string}",
"statuses": [
{
"_id": "{string}",
"name": "{string}",
"error": {
"code": "{string}",
"message": "{string}"
},
"createdAt": "{date-time}"
}
],
"latestStatus": "{string}",
"time": "{number}",
"subscription": {
"_id": "{string}",
"id": "{string}",
"organizationId": "{string}",
"projectId": "{string}",
"disableRecovery": "{boolean}",
"target": "{string}",
"subscriberId": "{string}",
"eventName": "{string}",
"status": "{string}",
"clientVpc": "{string}",
"useProxy": "{boolean}",
"forceSendEmail": "{boolean}",
"webhookRetryDelays": [
"{array[number]...}"
]
},
"index": "{number}",
"payload": {},
"_references": {},
"_data": {},
"_emitter": {},
"_id": "{string}",
"updatedAt": "{date-time}"
}
],
"pagination": {
"next": "{string}",
"previous": "{string}",
"first": "{string}",
"last": "{string}",
"totalPages": "{number}",
"totalResources": "{number}"
}
}
Copy

PATCH /subscriptions/:subscriptionId/events/:eventId

Auth
Path Params
subscriptionIdstring
eventIdstring
Request Body
objectobject

Dto to update the event status

statusstring

Enum for event statuses

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

errorobject

Dto for event error

codestring

Error code

messagestring

Error message

PATCH /v1/subscriptions/{subscriptionId}/events/{eventId}
curl --request PATCH \
--url 'https://api.algoan.com/v1/subscriptions/{subscriptionId}/events/{eventId}' \
--header 'Authorization: Bearer {token}' \
--data '{
"status": "{string}",
"error": {
"code": "{string}",
"message": "{string}"
}
}'
Copy
Responses
200

OK

objectobject

Event model

idstring

Id of the event

statusesarray[object]

Status of the event

latestStatusstring

Enum for event statuses

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

timenumber

Timestamp from pub/sub

subscriptionobject

Subscription in Event model

indexnumber

Index

payloadobject

Payload

_referencesobject

Internal references

_dataobject

Internal data

_emitterobject

Service who emitted the event

_idstring

ID of the event

updatedAtdate-time

Date of update

400

Validation failed

401

Authentication required

403

Insufficient permissions

404

Not Found

Response
{
"id": "{string}",
"statuses": [
{
"_id": "{string}",
"name": "{string}",
"error": {
"code": "{string}",
"message": "{string}"
},
"createdAt": "{date-time}"
}
],
"latestStatus": "{string}",
"time": "{number}",
"subscription": {
"_id": "{string}",
"id": "{string}",
"organizationId": "{string}",
"projectId": "{string}",
"disableRecovery": "{boolean}",
"target": "{string}",
"subscriberId": "{string}",
"eventName": "{string}",
"status": "{string}",
"clientVpc": "{string}",
"useProxy": "{boolean}",
"forceSendEmail": "{boolean}",
"webhookRetryDelays": [
"{array[number]...}"
]
},
"index": "{number}",
"payload": {},
"_references": {},
"_data": {},
"_emitter": {},
"_id": "{string}",
"updatedAt": "{date-time}"
}
Copy

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 customer

Auth
Query String
includeRestrictedTokenboolean

Create a user with restricted access scope in its token

Request Body
objectobject

DTO for creating a new customer

customIdentifierstring

A custom identifier that will be attached to the customer. This can be used to identify a customer based on the client's internal reference.

aggregationDetailsobject

Class representing the aggregation details

userSegmentstring

Used to differentiate the use-case and origin of the customer

personalDetailsobject

Class representing the personal information about the customer

personalDetailsOfCoBorrowerobject

Class representing the personal information about the customer

POST /v2/register
curl --request POST \
--url 'https://api.algoan.com/v2/register' \
--header 'Authorization: Bearer {token}' \
--data includeRestrictedToken={includeRestrictedToken} \
--data '{
"customIdentifier": "{string}",
"aggregationDetails": {
"userId": "{string}",
"aggregatorName": "{string}",
"callbackUrl": "{string}",
"token": "{string}",
"mode": "{string}",
"redirectUrl": "{string}",
"apiUrl": "{string}",
"iframeUrl": "{string}",
"clientId": "{string}"
},
"userSegment": "{string}",
"personalDetails": {
"identity": {
"nationality": "{string}",
"firstName": "{string}",
"lastName": "{string}",
"birthName": "{string}",
"birthDate": "{date-time}",
"birthCity": "{string}",
"birthZipCode": "{string}",
"birthCountry": "{string}",
"documentNumber": "{string}"
},
"contact": {
"email": "{string}",
"phoneNumber": "{string}",
"street": "{string}",
"additionalInformation": "{string}",
"city": "{string}",
"zipCode": "{string}",
"country": "{string}"
},
"household": {
"maritalStatus": "{string}",
"numberOfDependentChildren": "{number}",
"numberOfOtherDependents": "{number}"
}
},
"personalDetailsOfCoBorrower": {
"identity": {
"nationality": "{string}",
"firstName": "{string}",
"lastName": "{string}",
"birthName": "{string}",
"birthDate": "{date-time}",
"birthCity": "{string}",
"birthZipCode": "{string}",
"birthCountry": "{string}",
"documentNumber": "{string}"
},
"contact": {
"email": "{string}",
"phoneNumber": "{string}",
"street": "{string}",
"additionalInformation": "{string}",
"city": "{string}",
"zipCode": "{string}",
"country": "{string}"
},
"household": {
"maritalStatus": "{string}",
"numberOfDependentChildren": "{number}",
"numberOfOtherDependents": "{number}"
}
}
}'
Copy
Responses
201

Created

objectobject
accessTokenstring
restrictedTokenstring
customerobject

Class representing a customer who asks for credit

businessobject

Class representing a customer who asks for credit

400

Validation failed

401

Authentication required

403

Insufficient permissions

Response
{
"accessToken": "{string}",
"restrictedToken": "{string}",
"customer": {
"id": "{string}",
"customIdentifier": "{string}",
"aggregationDetails": {
"userId": "{string}",
"aggregatorName": "{string}",
"callbackUrl": "{string}",
"token": "{string}",
"mode": "{string}",
"redirectUrl": "{string}",
"apiUrl": "{string}",
"iframeUrl": "{string}",
"clientId": "{string}"
},
"connect": {
"serviceAccountClientId": "{string}"
},
"dashboard": {
"currentState": "{string}",
"historyState": [
{
"createdAt": "{date-time}",
"state": "{string}",
"userId": "{string}"
}
],
"invitationHistory": [
{
"date": "{date-time}",
"type": "{string}",
"channel": "{string}",
"senderUsername": "{string}"
}
Copy

Find a list of sessions

Auth
GET /v2/sessions
curl --get \
--url 'https://api.algoan.com/v2/sessions' \
--header 'Authorization: Bearer {token}'
Copy
Responses
200

OK

objectobject
resourcesarray[object]
paginationobject
400

Bad Request if the pagination parameters are invalid

401

Authentication required

403

Insufficient permissions

Response
{
"resources": [
{
"_id": "{string}",
"organizationId": "{string}",
"projectId": "{string}",
"userId": "{string}",
"customerId": "{string}",
"businessId": "{string}",
"folderId": "{string}",
"status": "{string}",
"updatedAt": "{string}",
"accessedAt": "{date-time}",
"customerProps": {},
"connectorProps": {},
"connectProps": {
"redirectUrl": "{string}",
"chosenBankId": "{string}",
"chosenBankBranchId": "{string}",
"customerConsentVersion": "{string}",
"customerConsentDate": "{date-time}",
"termsConsent": {
"version": "{string}",
"date": "{date-time}"
},
"privacyPolicyConsent": {
"version": "{string}",
"date": "{date-time}"
},
"aggregatorUrl": "{string}",
"aggregatorConnections": [
{
"bank": {
"id": "{string}",
"logoUrl": "{string}",
"name": "{string}",
"country": "{string}"
},
"aggregator": {
"id": "{string}",
"type": "{string}",
"category": "{string}"
},
"connection": {
"id": "{string}",
"userId": "{string}",
"state": "{string}",
"stateError": {
"code": "{string}",
"message": "{string}"
},
"authorizationId": "{string}",
"accessToken": "{string}",
"loginToken": "{string}",
"isAggregated": "{boolean}",
"resolvedAt": "{date-time}",
"callbackCode": "{string}"
},
"accountSelection": {
"state": "{string}",
"accountIds": [
"{array[string]...}"
],
"stateError": {
"code": "{string}",
"message": "{string}"
}
},
"aggregatorDataRetrievalStatus": "{string}",
"aggregatorDataRetrieval": {
"accounts": {},
"status": "{string}"
}
}
],
"hasAccounts": "{boolean}",
"hasAggregatedCheckingAccount": "{boolean}",
"isAnalysisRequired": "{boolean}",
"isAnalysisCreated": "{boolean}",
"analysisId": "{string}",
"numberOfRequiredAggregations": "{number}",
"numberOfReceivedAggregations": "{number}",
"state": "{string}",
"stateError": {
"code": "{string}",
"message": "{string}"
},
"userJourneyState": "{}",
"isBankConnectionInProgress": "{boolean}",
"pingedAt": "{date-time}",
"decoupledState": "{string}",
"target": "{string}",
"invitationSenderEmail": "{string}",
"isIosUser": "{boolean}",
"injectedUrlParams": {},
"featureFlags": {},
"advancedChecks": {
"isActivityScoreBelowThreshold": "{boolean}",
"hasInternalTransfers": "{boolean}",
"noRevenueDetected": "{boolean}",
"isMonthlyIncomeBelowThreshold": "{boolean}"
},
"uiInteractions": {},
"selectedAccountId": "{string}"
},
"otp": {
"code": "{string}",
"nbOfAttempts": "{number}",
"createdAt": "{date-time}"
},
"phoneNumber": "{string}",
"accessToken": "{string}",
"uuid": "{string}",
"isUserDeleted": "{boolean}",
"code": "{string}",
"expiresAt": "{date-time}",
"jtis": [
"{array[string]...}"
]
}
],
"pagination": {
"next": "{string}",
"previous": "{string}",
"first": "{string}",
"last": "{string}",
"totalPages": "{number}",
"totalResources": "{number}"
}
}
Copy

Create a new session

Auth
Request Body

The data for session creation

objectobject

DTO for creating a new session

customerIdstring

The customer's id

businessIdstring

The business's id, if the project usage is a business (stored as customerId in the database)

folderIdstring

The folder's id

dashboardobject

Dashboard DTO

onboardingobject

Onboarding data of a customer

phoneNumberstring

Phone Number of the customer in order to use for OTP process

uuidstring

UUID used to retrieve accessToken

userIdstring

The Id of the Keycloak user linked to the session. Cannot be set if the user who creates the session is anonymous.

POST /v2/sessions
curl --request POST \
--url 'https://api.algoan.com/v2/sessions' \
--header 'Authorization: Bearer {token}' \
--data '{
"customerId": "{string}",
"businessId": "{string}",
"folderId": "{string}",
"dashboard": {
"onboarding": {}
},
"phoneNumber": "{string}",
"uuid": "{string}",
"userId": "{string}"
}'
Copy
Responses
201

Created

objectobject

Class representing a session for customer journey

_idstring

Algoan unique identifier

organizationIdstring

The organization's id

projectIdstring

The project's id

userIdstring

The Id of the Keycloak user linked to the session.

customerIdstring

The customer's id

businessIdstring

The business's id (for business usage)

folderIdstring

The id of the Bank Statement Upload (OCR) flow's result folder once the upload analysis has been created.

statusstring

Session's status

Enum: IN_PROGRESS,EXPIRED,COMPLETED

updatedAtstring

The date of modification, populated by Mongoose

accessedAtdate-time

The date of the last access (read or write)

customerPropsobject

The properties persisted by a frontend app

connectorPropsobject

The properties persisted by a connector

connectPropsobject

Model that contains Connect specific properties

otpobject

Model that contains the properties to do an OTP

phoneNumberstring
accessTokenstring

Access Token that will be returned in the route GET /token

uuidstring

UUID to retrieve the access token in the route GET /token

isUserDeletedboolean

true if the user associated to the session id has been deleted

codestring

A code from which a JWT can be exchanged (especially, for permanent user flow of Bank Data). It can be used only once.

expiresAtdate-time
jtisarray[string]

JWT ids. Property used to ensure that only some specific JWTs can patch a session.

400

Validation failed

401

Authentication required

403

Insufficient permissions

Response
{
"_id": "{string}",
"organizationId": "{string}",
"projectId": "{string}",
"userId": "{string}",
"customerId": "{string}",
"businessId": "{string}",
"folderId": "{string}",
"status": "{string}",
"updatedAt": "{string}",
"accessedAt": "{date-time}",
"customerProps": {},
"connectorProps": {},
"connectProps": {
"redirectUrl": "{string}",
"chosenBankId": "{string}",
"chosenBankBranchId": "{string}",
"customerConsentVersion": "{string}",
"customerConsentDate": "{date-time}",
"termsConsent": {
"version": "{string}",
"date": "{date-time}"
},
"privacyPolicyConsent": {
"version": "{string}",
"date": "{date-time}"
},
"aggregatorUrl": "{string}",
"aggregatorConnections": [
{
"bank": {
"id": "{string}",
"logoUrl": "{string}",
"name": "{string}",
"country": "{string}"
},
"aggregator": {
"id": "{string}",
"type": "{string}",
"category": "{string}"
},
"connection": {
"id": "{string}",
"userId": "{string}",
"state": "{string}",
"stateError": {
"code": "{string}",
"message": "{string}"
},
"authorizationId": "{string}",
"accessToken": "{string}",
"loginToken": "{string}",
"isAggregated": "{boolean}",
"resolvedAt": "{date-time}",
"callbackCode": "{string}"
},
"accountSelection": {
"state": "{string}",
"accountIds": [
"{array[string]...}"
],
"stateError": {
"code": "{string}",
"message": "{string}"
}
},
"aggregatorDataRetrievalStatus": "{string}",
"aggregatorDataRetrieval": {
"accounts": {},
"status": "{string}"
}
}
],
"hasAccounts": "{boolean}",
"hasAggregatedCheckingAccount": "{boolean}",
"isAnalysisRequired": "{boolean}",
"isAnalysisCreated": "{boolean}",
"analysisId": "{string}",
"numberOfRequiredAggregations": "{number}",
"numberOfReceivedAggregations": "{number}",
"state": "{string}",
"stateError": {
"code": "{string}",
"message": "{string}"
},
"userJourneyState": "{}",
"isBankConnectionInProgress": "{boolean}",
"pingedAt": "{date-time}",
"decoupledState": "{string}",
"target": "{string}",
"invitationSenderEmail": "{string}",
"isIosUser": "{boolean}",
"injectedUrlParams": {},
"featureFlags": {},
"advancedChecks": {
"isActivityScoreBelowThreshold": "{boolean}",
"hasInternalTransfers": "{boolean}",
"noRevenueDetected": "{boolean}",
"isMonthlyIncomeBelowThreshold": "{boolean}"
},
"uiInteractions": {},
"selectedAccountId": "{string}"
},
"otp": {
"code": "{string}",
"nbOfAttempts": "{number}",
"createdAt": "{date-time}"
},
"phoneNumber": "{string}",
"accessToken": "{string}",
"uuid": "{string}",
"isUserDeleted": "{boolean}",
"code": "{string}",
"expiresAt": "{date-time}",
"jtis": [
"{array[string]...}"
]
}
Copy

Get session data

Auth
Path Params
idstring

The session's id

GET /v2/sessions/{id}/session-data
curl --get \
--url 'https://api.algoan.com/v2/sessions/{id}/session-data' \
--header 'Authorization: Bearer {token}'
Copy
Responses
200

OK

objectobject

Session data

statestring

State of a Connect session. It represents the progress of the user's journey.

Enum: IN_PROGRESS,SUCCESS,ERROR,EXIT,EXPIRED,BANK_NOT_FOUND

stateErrorsarray[object]
code
stringstring

Error codes for the application

Enum: UNKNOWN_ENTITY,UNAUTHORIZED,FORBIDDEN,ALREADY_EXISTS,BAD_REQUEST,INTERNAL_ERROR,SESSION_COMPLETED,SESSION_EXPIRED,USAGE_NOT_SUPPORTED,NO_CHECKING_ACCOUNT_SELECTED,NO_LOCAL_CURRENCY_ACCOUNT_SELECTED,CONNECTION_FAILURE

messagestring
userJourneyState
stringstring

State of the user journey on the Open Banking track, sorted by the advancement of the user's journey.

⚠️ Declaration order IS this track's ranking: isHigherUserJourneyState ranks two OB states by comparing their position in this enum. Never reorder or remove a member — an existing customer document persisted with an older member would be misranked.

Enum: CUSTOMER_CREATED,CREATED,INVITATION_SENT,CUSTOMER_DATA_SOURCE_SELECTION,STARTED,CONSENT_GIVEN,BANK_SELECTED,QR_CODE_SCANNED,AGGREGATION_STARTED,AGGREGATION_FINISHED_ERROR,AGGREGATION_FINISHED_SUCCESS,FINISHED_ERROR,FINISHED_SUCCESS,ANALYSIS_PENDING,ANALYSIS_ERROR,ANALYSIS_SUCCESS

termsConsentobject

Model for consent information

versionstring

Version of the consent

datedate-time

Date when the consent was given

privacyPolicyConsentobject

Model for consent information

versionstring

Version of the consent

datedate-time

Date when the consent was given

401

Authentication required

403

Insufficient permissions

404

Not Found

Response
{
"state": "{string}",
"stateErrors": [
{
"code": "{string}",
"message": "{string}"
}
],
"userJourneyState": "{string}",
"termsConsent": {
"version": "{string}",
"date": "{date-time}"
},
"privacyPolicyConsent": {
"version": "{string}",
"date": "{date-time}"
}
}
Copy