Skip to main content
Statement Insights

What can I get from the data enrichment endpoint?

Omolara Akanni avatar
Written by Omolara Akanni
Updated over a week ago

The statement insights provide a clear and insightful analysis of a user's transactions over a certain period of time. This includes a general summary of the bank account, activity insights, transaction details, insights on repeat and recurring transactions, and some rare findings such as identical debits and credits, cash deposits larger than the salary, and immediate large withdrawals after the salary date. These insights are all important and can aid in credit scoring decisions.

Here's a breakdown of all insights that can be gotten from the statement insights API.

Variable

Description

account

This is the account ID of the user whose account was linked.

start_date

Date of earliest transaction linked on the account (YYYY-MM-DD).

end_date

Date of latest transaction linked on the account (YYYY-MM-DD).

transaction_length

Number of days between the first and last transaction

transaction_count

Number of transactions found linked on the account

balance_after_expense

Total credit amount minus total debit amount of all transactions

opening_balance

transaction.balance of earliest transaction

closing_balance

transaction.balance of latest transaction

average_balance

Average of transaction.balance for all transactions

debit_to_credit_ratio

Ratio of all debit to credit transactions

overall_credits

Total credit amount within the duration

overall_debits

Total debit amount within the duration

number_of_credit_transactions

Number of all credit transactions

number_of_debit_transactions

Number of all debit transactions

total_recurring_credits

Total amount for all recurring credit transactions

total_recurring_debits

Total amount for all recurring debit transactions

immediate_large_withdrawal_post_payday

More than 2 occurrences of withdrawal >80% of salary within 24hrs of credit.

identical_debit_vs_credit

This finds a match for the following criterias:
1. Same credit and debit amounts
2. Both credit and debit are transfers
3. Debit happened within 3 days after credit

cash_deposits_larger_than_salary

If salary is found; this returns credit amount higher than the salary amount.

highest_debits

Top 3 highest debits showing the amount and date of transaction

highest_credits

Top 3 highest credits showing the amount and date of transaction

inflow

This breaks down the average monthly sums of credit transactions

outflow

This breaks down the average and total monthly sums of debit transactions

all_transaction

This section considers all transactions, whether they are repeated or not. It shows the average amount per month, as well as sum of all amounts for each month over the last 12 months.

repeat_transactions

This section considers repeated transactions. It shows the average amount per month, as well as sum of all amounts for each month over the last 12 months.

recurring_transactions

This returns the clusters of repeat transactions and its details.

From the recurring_transactions cluster, here are the insights that can be gotten:

i) description

This is the transaction description for the cluster. The version returned maybe a modified version that has been stripped some text like months and reference number

ii) category

Cluster category returned from the transaction categoriser

iii) type

The type of transactions in the cluster. This could be credit or debit

iv) count

Total number of transactions in the cluster

v) stability

Variance of transaction amounts in the cluster. Ranges between 0-1.

vi) consistency

Consistency of the transaction amounts in the cluster, weighted by days between transactions. Ranges between 0-1.

vii) average_monthly_sum

Total monthly average / Number of months

viii) average_days_between_transactions

Average number of days between transactions in the cluster

ix) compound_monthly_growth_rate

monthly_growth_rate: monthly growth rate in total transaction amount for that cluster
โ€‹
total: total amount per specific month
โ€‹
growth_rate: increase in the total amount in relation to previous month. Ranges between 0-1.

Did this answer your question?