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_daysintegerdefault: 365

Days to look back

Responses

200Successful Response

successboolean
messagestring
codestring
dataSpendHistoryResponse

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject