360 Secure SkillHub
360 安全技能中心

DailyExpenseTracker

该 Skill 提供 DailyExpenseTracker 的 API 调用方式:用 curl 加 Bearer Token 新增支出、收入或转账交易,查询交易列表、钱包余额与分类,并规定交易日期字段名、默认钱包和大额确认等使用规则。

gurpreetkaits
gurpreetkaits
热度 55.93
最近更新 2026-05-11 17:26:45
分类:生活依赖:代码执行 / 第三方 API应用场景:个人理财 / API 集成 / 财务

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add det
Metadata
name
det
description
DailyExpenseTracker API integration for recording expenses, checking balances, and managing transactions. Use when user mentions expenses, spending, transactions, wallets, or DET.

DailyExpenseTracker (DET)

API

Base URL: https://dailyexpensetracker.in/api Token: Set in skills.entries.det.apiToken in openclaw.json Auth Header: Authorization: Bearer <token>

Wallets

Fetch wallets dynamically via /api/wallets endpoint. Cache wallet IDs locally after first fetch.

Add Expense

curl -X POST "https://dailyexpensetracker.in/api/transactions" \
  -H "Authorization: Bearer $DET_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "wallet_id": 1,
    "category_id": 5,
    "amount": 100,
    "type": "expense",
    "transaction_date": "2026-02-21",
    "description": "Groceries"
  }'

Required fields: wallet_id, amount, type, transaction_date Types: expense, income, transfer

Get Transactions

curl "https://dailyexpensetracker.in/api/transactions?per_page=10" \
  -H "Authorization: Bearer $DET_TOKEN"

Get Wallets with Balances

curl "https://dailyexpensetracker.in/api/wallets" \
  -H "Authorization: Bearer $DET_TOKEN"

Get Categories

curl "https://dailyexpensetracker.in/api/categories" \
  -H "Authorization: Bearer $DET_TOKEN"

Rules

  • ALWAYS use API - Never write directly to database
  • Field is transaction_date - Not date
  • Default wallet: HDFC BANK (1) unless specified
  • Confirm large amounts (>₹5000) before recording