Below are sample JSON response payload formats
curl --location --request POST 'https://api.insights-periculum.io/statements/transaction-analytics'
--header 'Authorization: Bearer string_encrypted_access_token'
--header 'Content-Type: application/json'
--data-raw '{
"average_monthly_credits": 1941745.2,
"average_monthly_debits": 4511998,
"average_weekly_credits": 510985.58,
"average_weekly_debits": 1187367.89,
"first_day": "2023-12-01T00:00:00+00:00",
"last_day": "2024-04-04T00:00:00+00:00",
"no_transacting_months": 5,
"percentage_of_expense_over_inflow": 2.32,
"period_in_statement": "December - April",
"total_credit_turnover": 9708726,
"total_debit_turnover": 22559990,
"valid_credit": 9641406,
"account_summary": [
{
"CreditTurnover": 6455300,
"DebitTurnover": 19208810,
"Month": "December",
"Year": "2023"
},
{
"CreditTurnover": 198900,
"DebitTurnover": 196610,
"Month": "April",
"Year": "2024"
},
{
"CreditTurnover": 812550,
"DebitTurnover": 912440,
"Month": "February",
"Year": "2024"
},
{
"CreditTurnover": 211556,
"DebitTurnover": 216420,
"Month": "January",
"Year": "2024"
},
{
"CreditTurnover": 2030420,
"DebitTurnover": 2025710,
"Month": "March",
"Year": "2024"
}
],
"weekly_inflow": [
{
"amount": 6350400,
"month_name": "December",
"year": "2023",
"week": "week 1"
},
{
"amount": 48400,
"month_name": "December",
"year": "2023",
"week": "week 2"
},
{
"amount": 45400,
"month_name": "December",
"year": "2023",
"week": "week 3"
},
{
"amount": 11100,
"month_name": "December",
"year": "2023",
"week": "week 4"
},
{
"amount": 20000,
"month_name": "January",
"year": "2024",
"week": "week 1"
},
{
"amount": 44500,
"month_name": "January",
"year": "2024",
"week": "week 2"
},
{
"amount": 42916,
"month_name": "January",
"year": "2024",
"week": "week 3"
},
{
"amount": 104140,
"month_name": "January",
"year": "2024",
"week": "week 4"
},
{
"amount": 407250,
"month_name": "February",
"year": "2024",
"week": "week 1"
},
{
"amount": 72750,
"month_name": "February",
"year": "2024",
"week": "week 2"
},
{
"amount": 236300,
"month_name": "February",
"year": "2024",
"week": "week 3"
},
{
"amount": 96250,
"month_name": "February",
"year": "2024",
"week": "week 4"
},
{
"amount": 595400,
"month_name": "March",
"year": "2024",
"week": "week 1"
},
{
"amount": 152000,
"month_name": "March",
"year": "2024",
"week": "week 2"
},
{
"amount": 378100,
"month_name": "March",
"year": "2024",
"week": "week 3"
},
{
"amount": 904920,
"month_name": "March",
"year": "2024",
"week": "week 4"
},
{
"amount": 198900,
"month_name": "April",
"year": "2024",
"week": "week 1"
}
],
"weekly_outflow": [
{
"amount": 19108610,
"month_name": "December",
"year": "2023",
"week": "week 1"
},
{
"amount": 48360,
"month_name": "December",
"year": "2023",
"week": "week 2"
},
{
"amount": 45260,
"month_name": "December",
"year": "2023",
"week": "week 3"
},
{
"amount": 6580,
"month_name": "December",
"year": "2023",
"week": "week 4"
},
{
"amount": 24860,
"month_name": "January",
"year": "2024",
"week": "week 1"
},
{
"amount": 44100,
"month_name": "January",
"year": "2024",
"week": "week 2"
},
{
"amount": 41690,
"month_name": "January",
"year": "2024",
"week": "week 3"
},
{
"amount": 105770,
"month_name": "January",
"year": "2024",
"week": "week 4"
},
{
"amount": 507150,
"month_name": "February",
"year": "2024",
"week": "week 1"
},
{
"amount": 70000,
"month_name": "February",
"year": "2024",
"week": "week 2"
},
{
"amount": 232280,
"month_name": "February",
"year": "2024",
"week": "week 3"
},
{
"amount": 103010,
"month_name": "February",
"year": "2024",
"week": "week 4"
},
{
"amount": 595400,
"month_name": "March",
"year": "2024",
"week": "week 1"
},
{
"amount": 150960,
"month_name": "March",
"year": "2024",
"week": "week 2"
},
{
"amount": 377470,
"month_name": "March",
"year": "2024",
"week": "week 3"
},
{
"amount": 901880,
"month_name": "March",
"year": "2024",
"week": "week 4"
},
{
"amount": 196610,
"month_name": "April",
"year": "2024",
"week": "week 1"
}
],
"monthly_inflow": [
{
"amount": 6455300,
"month_name": "December",
"year": "2023"
},
{
"amount": 211556,
"month_name": "January",
"year": "2024"
},
{
"amount": 812550,
"month_name": "February",
"year": "2024"
},
{
"amount": 2030420,
"month_name": "March",
"year": "2024"
},
{
"amount": 198900,
"month_name": "April",
"year": "2024"
}
],
"monthly_outflow": [
{
"amount": 19208810,
"month_name": "December",
"year": "2023"
},
{
"amount": 216420,
"month_name": "January",
"year": "2024"
},
{
"amount": 912440,
"month_name": "February",
"year": "2024"
},
{
"amount": 2025710,
"month_name": "March",
"year": "2024"
},
{
"amount": 196610,
"month_name": "April",
"year": "2024"
}
],
"year_in_statement": "2023, 2024",
"uuid": "57106dad-a327-4aef-b2d9-b1d65aa9112b"
}'