Skip to main content

Generate Account ID

Request

[POST]
{{baseUrl}}/api/v1/financial/transactions/pdf
HeaderTypeDescription
AppIdstringCreate an app to get your app ID on dashboard here
AuthorizationstringPrivate/secret key. Use <key> not Bearer <key>

Body parameter

ParameterTypeDescriptionRequired
bank_codestringBank code of Customerrequired
statementfilePDF document of Customer’s statement of accountrequired

Sample response

Response
{
    "entity": {
        "acct_id": "1234a5b6-20bb-4e16-b711-56c5bd7a3c90"
    }
}

Response Fields

FieldTypeDescription
entityobjectContains the account generation response data
entity.acct_idstringUnique account identifier used for subsequent financial analysis requests

Financial Analysis

Request

[GET]
{{baseUrl}}/api/v1/financial/analysis

Header

HeaderTypeDescription
AppIdstringCreate an app to get your app ID on dashboard here
AuthorizationstringPrivate/secret key. Use <key> not Bearer <key>

Query parameter

ParameterTypeDescriptionRequired
account_idstringAccount ID generated from the API hererequired

Sample response

Response
{
    "entity": {
        "accountBreakdown": {
            "TotalCreditEntry": 306935.75,
            "TotalDebitMade": 321986.57,
            "averageMonthlyBalance": 0,
            "averageMonthlyCredits": 25577.98,
            "averageMonthlyDebits": 20124.16,
            "averageWeeklyBalance": 0,
            "averageWeeklyCredits": 6530.55,
            "averageWeeklyDebits": 5031.04,
            "closingBalance": 0,
            "firstDateInStatement": "2021-04-12",
            "lastDateInStatement": "2022-07-03",
            "numberOfTransactingMonths": 6,
            "periodInStatement": "April - July",
            "yearInStatement": "2021, 2022"
        },
        "expenseBreakdown": {
            "MaximumExpense": "pos web pmt John Doe b aso l00ng",
            "atmLocations": [
                "lagos",
                "yabatech",
                "yaba"
            ],
            "averageMonthlyExpenseOnAirtimeandData": 2200,
            "averageMonthlyExpenseOnAtmAndPOS": 39663.05,
            "averageMonthlyExpenseOnChargesAndStampDuty": 108.88,
            "averageMonthlyExpenseOnEntertainment": 168.46,
            "averageMonthlyExpenseOnGambling": 0,
            "averageMonthlyExpenseOnHealth": 91.67,
            "averageMonthlyExpenseOnHospitalityandFood": 0,
            "averageMonthlyExpenseOnInsurance": 0,
            "averageMonthlyExpenseOnInternationalTransactions": 0,
            "averageMonthlyExpenseOnOnlineandWeb": 24955.55,
            "averageMonthlyExpenseOnRent": 0,
            "averageMonthlyExpenseOnSavingsAndInvestments": 0,
            "averageMonthlyExpenseOnTransfer": 11692.5,
            "averageMonthlyExpenseOnTransportation": 0,
            "averageMonthlyExpenseOnUSSD": 333.33,
            "averageMonthlyExpenseOnUtilities": 0,
            "averageMonthlyExpenseonTravel": 0,
            "averageMonthlyRecurringExpenses": 0,
            "averageMonthlyTotalExpenses": 53555.55,
            "minimumSalary": 653.25,
            "monthWithmaximumExpense": "2/2022",
            "mostFrequentExpense": "atm_and_pos_transactions",
            "mostFrequentExpenseCategory": "atm_and_pos_transactions",
            "totalExpenseOnAirtimeAndData": 13200,
            "totalExpenseOnInternationalTransactions": 0,
            "totalExpenseOnSavingsAndInvestments": 0,
            "totalExpenseOnTransfer": 70155.02,
            "totalExpenseOnTransportation": 0,
            "totalExpenseOnTravel": 0,
            "totalExpenseOnUSSD": 2000,
            "totalExpenseOnUtilities": 0,
            "totalExpenseonChargesAndStampDuty": 237978.3,
            "totalExpenseonEntertainment": 1010.75,
            "totalExpenseonGambling": 0,
            "totalExpenseonHealth": 550,
            "totalExpenseonHospitalityandFood": 0,
            "totalExpenseonInsurance": 0,
            "totalExpenseonOnlineandWeb": 149733.3,
            "totalMonthlyExpenses": 321333.32,
            "totalRecurringExpenses": 0
        },
        "fundsManagement": {
            "accountActivity": 0.1,
            "accountSweep": "No",
            "averageMonthlyLoanAmount": 0,
            "averageMonthlyLoanRepaymentAmount": 0,
            "gamblingRate": 0,
            "gamblingStatus": "No Gambling Transactions Found",
            "loanInflowAmount": null,
            "loanRepaymentToInflowAmount": 0,
            "monthToMonthInflowToOutflowAmount": "Positive Cash Flow",
            "numberOfCreditLoanTransactions": null,
            "numberOfDebitRepaymentTransactions": null,
            "overallInflowToOutflowAmount": "Negative Cash Flow",
            "percentOfInflowIrregularity": 0,
            "totalLoanAmount": 0,
            "totalLoanRepaymentAmount": 0
        },
        "inflowBreakdown": {
            "AdditionalIncome": "Yes",
            "RecurringSalaryPayments": null,
            "aSalaryEarner": "No",
            "averageAdditionalIncome": 9166.67,
            "averageGuaranteedSalary": 0,
            "estimatedSalaryPaymentDay": null,
            "lastDateOfSalaryPayment": null,
            "minimumSalary": 0,
            "netAverageMonthlySalary": 0,
            "numberOfAdditionalIncomePayments": 2,
            "totalnumberOfSalaryPayments": 0
        },
        "transactionRoutineBreakdown": {
            "MaximumExpense": 0,
            "lastCreditReceived": "2022-03-04",
            "lastDebitMade": "2022-07-03",
            "mostFrequentBalanceRange": "<10000",
            "mostFrequentTransactionRange": "<10000",
            "numberOfCardRequests": 0,
            "percentNumberOfDaysBalanceWasLessThan10ThousandNaira": 1,
            "percentNumberOfDaysTransactionsWasLessThan10ThousandNaira": 0.96,
            "percentOfBalancesBetween100ThousandTo500ThousandNaira": 0,
            "percentOfBalancesBetween10ThousandTo100ThousandNaira": 0,
            "percentOfBalancesBetween500ThousandToOneMillionNaira": 0,
            "percentOfBalancesGreaterThanOneMillionNaira": 0,
            "percentOfBalancesLessThan10ThousandNaira": 1,
            "percentOfTransactionsBetween100ThousandTo500ThousandNaira": 0,
            "percentOfTransactionsBetween10ThousandTo100ThousandNaira": 0.12,
            "percentOfTransactionsBetween500ThousandToOneMillionNaira": 0,
            "percentOfTransactionsGreaterThanOneMillionNaira": 0,
            "percentOfTransactionsLessThan10ThousandNaira": 0.88,
            "percentofCreditTransactions": 0.19,
            "percentofDebitTransactions": 0.81,
            "totalAmountOfTransactions": 129
        }
    }
}

Response Fields

FieldTypeDescription
entityobjectContains the financial analysis response data
entity.accountBreakdownobjectSummary of account activity and balances over the statement period
entity.accountBreakdown.TotalCreditEntrynumberTotal value of all credit (inflow) transactions
entity.accountBreakdown.TotalDebitMadenumberTotal value of all debit (outflow) transactions
entity.accountBreakdown.averageMonthlyBalancenumberAverage monthly account balance
entity.accountBreakdown.averageMonthlyCreditsnumberAverage monthly credit (inflow) amount
entity.accountBreakdown.averageMonthlyDebitsnumberAverage monthly debit (outflow) amount
entity.accountBreakdown.averageWeeklyBalancenumberAverage weekly account balance
entity.accountBreakdown.averageWeeklyCreditsnumberAverage weekly credit (inflow) amount
entity.accountBreakdown.averageWeeklyDebitsnumberAverage weekly debit (outflow) amount
entity.accountBreakdown.closingBalancenumberAccount balance at the end of the statement period
entity.accountBreakdown.firstDateInStatementstringStart date of the statement period
entity.accountBreakdown.lastDateInStatementstringEnd date of the statement period
entity.accountBreakdown.numberOfTransactingMonthsnumberNumber of months with recorded transactions
entity.accountBreakdown.periodInStatementstringHuman-readable summary of the statement period
entity.accountBreakdown.yearInStatementstringYear(s) covered by the statement
entity.expenseBreakdownobjectCategorized breakdown of spending patterns
entity.expenseBreakdown.MaximumExpensestringDescription of the single highest expense transaction
entity.expenseBreakdown.atmLocationsarrayList of ATM locations where withdrawals were made
entity.expenseBreakdown.averageMonthlyExpenseOnAirtimeandDatanumberAverage monthly spend on airtime and data
entity.expenseBreakdown.averageMonthlyExpenseOnAtmAndPOSnumberAverage monthly spend on ATM withdrawals and POS transactions
entity.expenseBreakdown.averageMonthlyExpenseOnChargesAndStampDutynumberAverage monthly bank charges and stamp duty
entity.expenseBreakdown.averageMonthlyExpenseOnEntertainmentnumberAverage monthly spend on entertainment
entity.expenseBreakdown.averageMonthlyExpenseOnGamblingnumberAverage monthly spend on gambling
entity.expenseBreakdown.averageMonthlyExpenseOnHealthnumberAverage monthly spend on health-related expenses
entity.expenseBreakdown.averageMonthlyExpenseOnHospitalityandFoodnumberAverage monthly spend on hospitality and food
entity.expenseBreakdown.averageMonthlyExpenseOnInsurancenumberAverage monthly spend on insurance
entity.expenseBreakdown.averageMonthlyExpenseOnInternationalTransactionsnumberAverage monthly spend on international transactions
entity.expenseBreakdown.averageMonthlyExpenseOnOnlineandWebnumberAverage monthly spend on online and web purchases
entity.expenseBreakdown.averageMonthlyExpenseOnRentnumberAverage monthly spend on rent
entity.expenseBreakdown.averageMonthlyExpenseOnSavingsAndInvestmentsnumberAverage monthly amount moved to savings or investments
entity.expenseBreakdown.averageMonthlyExpenseOnTransfernumberAverage monthly spend on bank transfers
entity.expenseBreakdown.averageMonthlyExpenseOnTransportationnumberAverage monthly spend on transportation
entity.expenseBreakdown.averageMonthlyExpenseOnUSSDnumberAverage monthly spend via USSD transactions
entity.expenseBreakdown.averageMonthlyExpenseOnUtilitiesnumberAverage monthly spend on utilities
entity.expenseBreakdown.averageMonthlyExpenseonTravelnumberAverage monthly spend on travel
entity.expenseBreakdown.averageMonthlyRecurringExpensesnumberAverage monthly recurring expense amount
entity.expenseBreakdown.averageMonthlyTotalExpensesnumberAverage total monthly expenses across all categories
entity.expenseBreakdown.minimumSalarynumberMinimum detected salary payment
entity.expenseBreakdown.monthWithmaximumExpensestringMonth with the highest total expenses
entity.expenseBreakdown.mostFrequentExpensestringMost frequently occurring expense type
entity.expenseBreakdown.mostFrequentExpenseCategorystringCategory of the most frequent expense
entity.expenseBreakdown.totalExpenseOnAirtimeAndDatanumberTotal spend on airtime and data
entity.expenseBreakdown.totalExpenseOnInternationalTransactionsnumberTotal spend on international transactions
entity.expenseBreakdown.totalExpenseOnSavingsAndInvestmentsnumberTotal amount moved to savings or investments
entity.expenseBreakdown.totalExpenseOnTransfernumberTotal spend on bank transfers
entity.expenseBreakdown.totalExpenseOnTransportationnumberTotal spend on transportation
entity.expenseBreakdown.totalExpenseOnTravelnumberTotal spend on travel
entity.expenseBreakdown.totalExpenseOnUSSDnumberTotal spend via USSD transactions
entity.expenseBreakdown.totalExpenseOnUtilitiesnumberTotal spend on utilities
entity.expenseBreakdown.totalExpenseonChargesAndStampDutynumberTotal bank charges and stamp duty
entity.expenseBreakdown.totalExpenseonEntertainmentnumberTotal spend on entertainment
entity.expenseBreakdown.totalExpenseonGamblingnumberTotal spend on gambling
entity.expenseBreakdown.totalExpenseonHealthnumberTotal spend on health-related expenses
entity.expenseBreakdown.totalExpenseonHospitalityandFoodnumberTotal spend on hospitality and food
entity.expenseBreakdown.totalExpenseonInsurancenumberTotal spend on insurance
entity.expenseBreakdown.totalExpenseonOnlineandWebnumberTotal spend on online and web purchases
entity.expenseBreakdown.totalMonthlyExpensesnumberTotal expenses across the statement period
entity.expenseBreakdown.totalRecurringExpensesnumberTotal recurring expenses across the statement period
entity.fundsManagementobjectAssessment of the user’s financial management behavior
entity.fundsManagement.accountActivitynumberAccount activity ratio (0–1)
entity.fundsManagement.accountSweepstringWhether account sweep activity was detected (Yes or No)
entity.fundsManagement.averageMonthlyLoanAmountnumberAverage monthly loan amount received
entity.fundsManagement.averageMonthlyLoanRepaymentAmountnumberAverage monthly loan repayment amount
entity.fundsManagement.gamblingRatenumberRatio of gambling transactions to total transactions
entity.fundsManagement.gamblingStatusstringSummary of gambling activity (e.g., No Gambling Transactions Found)
entity.fundsManagement.loanInflowAmountnumber|nullTotal loan inflow amount
entity.fundsManagement.loanRepaymentToInflowAmountnumberRatio of loan repayments to total inflows
entity.fundsManagement.monthToMonthInflowToOutflowAmountstringMonthly cash flow assessment (e.g., Positive Cash Flow)
entity.fundsManagement.numberOfCreditLoanTransactionsnumber|nullCount of credit/loan inflow transactions
entity.fundsManagement.numberOfDebitRepaymentTransactionsnumber|nullCount of loan repayment transactions
entity.fundsManagement.overallInflowToOutflowAmountstringOverall cash flow assessment (e.g., Negative Cash Flow)
entity.fundsManagement.percentOfInflowIrregularitynumberPercentage of irregular inflows (0–1)
entity.fundsManagement.totalLoanAmountnumberTotal loan amount received
entity.fundsManagement.totalLoanRepaymentAmountnumberTotal loan repayment amount
entity.inflowBreakdownobjectAnalysis of income sources and salary patterns
entity.inflowBreakdown.AdditionalIncomestringWhether additional income sources were detected (Yes or No)
entity.inflowBreakdown.RecurringSalaryPaymentsstring|nullDetails of recurring salary payments
entity.inflowBreakdown.aSalaryEarnerstringWhether the user is identified as a salary earner (Yes or No)
entity.inflowBreakdown.averageAdditionalIncomenumberAverage additional (non-salary) income per month
entity.inflowBreakdown.averageGuaranteedSalarynumberAverage guaranteed salary amount per month
entity.inflowBreakdown.estimatedSalaryPaymentDaystring|nullEstimated day of the month salary is received
entity.inflowBreakdown.lastDateOfSalaryPaymentstring|nullDate of the most recent salary payment
entity.inflowBreakdown.minimumSalarynumberMinimum detected salary payment amount
entity.inflowBreakdown.netAverageMonthlySalarynumberNet average monthly salary
entity.inflowBreakdown.numberOfAdditionalIncomePaymentsnumberCount of additional income payments detected
entity.inflowBreakdown.totalnumberOfSalaryPaymentsnumberTotal number of salary payments detected
entity.transactionRoutineBreakdownobjectAnalysis of transaction patterns and balance distribution
entity.transactionRoutineBreakdown.MaximumExpensenumberMaximum single expense transaction amount
entity.transactionRoutineBreakdown.lastCreditReceivedstringDate of the last credit transaction
entity.transactionRoutineBreakdown.lastDebitMadestringDate of the last debit transaction
entity.transactionRoutineBreakdown.mostFrequentBalanceRangestringMost common account balance range
entity.transactionRoutineBreakdown.mostFrequentTransactionRangestringMost common transaction amount range
entity.transactionRoutineBreakdown.numberOfCardRequestsnumberNumber of card replacement or issuance requests
entity.transactionRoutineBreakdown.percentNumberOfDaysBalanceWasLessThan10ThousandNairanumberProportion of days balance was below ₦10,000 (0–1)
entity.transactionRoutineBreakdown.percentNumberOfDaysTransactionsWasLessThan10ThousandNairanumberProportion of days transaction totals were below ₦10,000 (0–1)
entity.transactionRoutineBreakdown.percentOfBalancesBetween100ThousandTo500ThousandNairanumberProportion of days balance was ₦100,000–₦500,000 (0–1)
entity.transactionRoutineBreakdown.percentOfBalancesBetween10ThousandTo100ThousandNairanumberProportion of days balance was ₦10,000–₦100,000 (0–1)
entity.transactionRoutineBreakdown.percentOfBalancesBetween500ThousandToOneMillionNairanumberProportion of days balance was ₦500,000–₦1,000,000 (0–1)
entity.transactionRoutineBreakdown.percentOfBalancesGreaterThanOneMillionNairanumberProportion of days balance exceeded ₦1,000,000 (0–1)
entity.transactionRoutineBreakdown.percentOfBalancesLessThan10ThousandNairanumberProportion of days balance was below ₦10,000 (0–1)
entity.transactionRoutineBreakdown.percentOfTransactionsBetween100ThousandTo500ThousandNairanumberProportion of transactions between ₦100,000–₦500,000 (0–1)
entity.transactionRoutineBreakdown.percentOfTransactionsBetween10ThousandTo100ThousandNairanumberProportion of transactions between ₦10,000–₦100,000 (0–1)
entity.transactionRoutineBreakdown.percentOfTransactionsBetween500ThousandToOneMillionNairanumberProportion of transactions between ₦500,000–₦1,000,000 (0–1)
entity.transactionRoutineBreakdown.percentOfTransactionsGreaterThanOneMillionNairanumberProportion of transactions exceeding ₦1,000,000 (0–1)
entity.transactionRoutineBreakdown.percentOfTransactionsLessThan10ThousandNairanumberProportion of transactions below ₦10,000 (0–1)
entity.transactionRoutineBreakdown.percentofCreditTransactionsnumberProportion of transactions that are credits (0–1)
entity.transactionRoutineBreakdown.percentofDebitTransactionsnumberProportion of transactions that are debits (0–1)
entity.transactionRoutineBreakdown.totalAmountOfTransactionsnumberTotal number of transactions in the statement