DevelopersAPIReferencedata
TopExpenses
TopExpenses (data endpoint) in the Walletguide REST API. Parameters, response fields, and a playground you can run.
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)
Format
uuidRequest 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/topExpenses" \ -H "Content-Type: application/json" \ -d '{ "period": "today" }'[ { "assetId": "string", "date": "2019-08-24", "fromTo": "string", "description": "string", "amount": { "value": 0, "currency": "EUR" }, "categoryId": "string", "merchantId": "string", "merchantAutoAssigned": true, "merchantCheckedGoogleMaps": true, "merchantCheckedSearchApiGoogleWebSearch": true, "excludeFromMerchantAutoAssignment": true, "usingDateRule": "transactionDate", "usingStartDate": "2019-08-24", "usingEndDate": "2019-08-24", "notes": "string", "parentTransactionId": "string", "parent": true, "source": "string", "assignedUserId": "string", "transferCounterPosition": { "type": "transaction", "id": "string" }, "gocardlessTransactionId": "string", "gocardlessInternalTransactionId": "string", "finApiTransactionId": 0, "plaidTransactionId": "string", "tagIds": [ "string" ], "pending": true, "reviewed": true, "createdTime": "2019-08-24T14:15:22Z", "createdUserId": "string", "lastUpdatedTime": "2019-08-24T14:15:22Z", "lastUpdatedUserId": "string", "id": "string" }]