Return an aggregated monthly summary of money transfers for the authenticated user’s active wallet. The server uses theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/akevalion/life_cost/llms.txt
Use this file to discover all available pages before exploring further.
timeZone and date you provide to identify the target calendar month, queries all transfers within that month’s UTC-equivalent window, and builds a response that includes the monthly total, a per-day breakdown, and two different average-spend-per-day figures useful for trend analysis and dashboards.
Endpoint
Authentication
Required. The request must be made with an active session cookie obtained through the Google OAuth login flow.Request Body
An IANA timezone identifier (e.g.
"Europe/Madrid", "America/Chicago"). Defines the local calendar used to determine month boundaries, which are then converted to UTC for the database query and for grouping transfers into per-day buckets.An ISO 8601 date-time string representing any moment within the target month (e.g.
"2024-01-01T00:00:00Z"). Only the month and year of this value are used — the specific day and time do not affect results.Response
A single JSON object with the following fields.The calendar month number (1 = January … 12 = December) of the summary.
The four-digit calendar year of the summary.
All-time average spend per day. Calculated as
total_all_time_amount / days_since_oldest_transfer across the entire wallet history. Returns 0 if there are no transfers or if the oldest transfer was created today (zero-day window). Useful as a long-term baseline.This-month average spend per day. Calculated as
total_month_amount / days_in_month for the requested month. Returns 0 if there are no transfers in the month. Useful for comparing the current month’s pace to the long-term baseline.The sum of all transfer amounts in the requested month. Negative values dominate when expenses exceed income.
An array of per-day summary objects. Only days that have at least one transfer are included — days with no activity are omitted.
The
days array is not guaranteed to be sorted. The order depends on the iteration order of the internal daily_totals dictionary built from the query results. Sort client-side by day if you need ascending order.Example Request
Example Request Body
Example Response
Error Cases
| Status | Condition |
|---|---|
302 Found | The user is not authenticated. |
400 Bad Request | The request body is missing date or timeZone, or date is not a valid ISO 8601 string. |
500 Internal Server Error | timeZone is not a recognised IANA identifier or a database error occurred. |