Walletguide
DevelopersAPIReferencedata

CategoryBreakdown

CategoryBreakdown (data endpoint) in the Walletguide REST API. Parameters, response fields, and a playground you can run.

POST
/wallets/{walletId}/data/categoryBreakdown

Authorization

bearerAuth
Authorization<token>

A Walletguide API key (wg_…) or an OAuth bearer token. Paste the value only. Create a key under Wallet settings → API keys.

In: header

Path Parameters

walletId*string

The wallet id (row uuid)

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/wallets/497f6eca-6276-4993-bfeb-53cbbbba6f08/data/categoryBreakdown" \  -H "Content-Type: application/json" \  -d '{    "period": "today"  }'
{  "income": 0,  "incomePreviousPeriod": 0,  "incomeChange": 0,  "expenses": 0,  "expensesPreviousPeriod": 0,  "expensesChange": 0,  "gainsLosses": 0,  "gainsLossesPreviousPeriod": 0,  "gainsLossesChange": 0,  "uncategorized": 0,  "uncategorizedPreviousPeriod": 0,  "uncategorizedChange": 0,  "profit": 0,  "profitPreviousPeriod": 0,  "profitChange": 0,  "plainProfit": 0,  "plainProfitPreviousPeriod": 0,  "plainProfitChange": 0}