Retrieve Consolidated Overview

Request (GET)

NameDescriptionTypeRequired
baseStatementKeyBase statement Key from linked statementsintYes
bearertokenAuthentication CredentialsstringYes
curl --location 'https://api.insights-periculum.io/statements/consolidatedoverview/{baseStatementKey}' \
--header 'Authorization: Bearer {bearertoken}'

Response

{
    "customerName": " ",
    "userId": "22",
    "overview": {
        "statementCount": {
            "totalCount": 3,
            "successCount": 1,
            "failCount": 0
        },
        "totalClosingBalance": 104944.61,
        "totalTransactions": 280,
        "totalInflowOverview": {
            "totalAmount": 2228623.3000000003,
            "totalSummary": [
                {
                    "amount": 2228623.3000000003,
                    "bank": null
                }
            ]
        },
        "totalOutflowOverview": {
            "totalAmount": 2101979.23,
            "totalSummary": [
                {
                    "amount": 2101979.23,
                    "bank": null
                }
            ]
        },
        "accountActivity": [
            {
                "bankName": null,
                "activity": 0.3
            }
        ],
        "salaryAccountOverview": {
            "numberOfSalaryAccounts": 1,
            "salaryAccountSummary": [
                {
                    "account": "Salary Account 0",
                    "bank": null,
                    "averagePredictedSalary": 226247.64
                }
            ]
        },
        "loanOverview": [
            {
                "account": null,
                "noOfLoanTransaction": 0,
                "totalLoanAmount": 0,
                "latestLoanAmount": null,
                "latestLoanDate": null
            }
        ],
        "selfTransferOverview": [
            {
                "bankName": null,
                "selfTransferSummary": []
            }
        ]
    },
    "accounts": {
        "statementSummaries": [
            {
                "key": 2722,
                "createdDate": "2023-12-21T17:12:51.205+00:00",
                "updatedDate": "2023-12-21T17:12:51.205+00:00",
                "status": "UPLOADED",
                "type": "STATEMENT"
            },
            {
                "key": 2723,
                "createdDate": "2023-12-21T17:12:51.52+00:00",
                "updatedDate": "2023-12-21T17:12:51.52+00:00",
                "status": "UPLOADED",
                "type": "STATEMENT"
            },
            {
                "key": 2715,
                "createdDate": "2023-12-08T12:33:29.549+00:00",
                "updatedDate": "2023-12-08T12:33:29.549+00:00",
                "status": "PROCESSED",
                "type": "STATEMENT",
                "monthlyLoanRepyament": 0
            }
        ]
    }
}