360 Secure SkillHub
360 安全技能中心

DailyExpenseTracker

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

分类:生活
gurpreetkaits
gurpreetkaits
热度 41.33
最近更新 2026-05-11 17:26:45

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add gurpreetkaits/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