Monthly spend history for recurring transactions

GET /api/v1/subscriptions/history

Returns per-month totals and per-counterparty breakdown for charting.

Operation ID: get_spend_history_api_v1_subscriptions_history_get · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Query

lookback_days integer default: 365

Days to look back

Responses

200 Successful Response

401 Unauthorized - Authentication required

403 Forbidden - Insufficient permissions

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object