- URL: POST /signup/
{
"email": "demo@gg.com",
"password": "demouserfordemo"
}
- URL: POST /auth/login/
{
"email": "demo@gg.com",
"password": "demouserfordemo"
}
- URL: GET /accounts/
- URL: GET /accounts/id/
- URL: POST /accounts/
{
"name": "Salary"
}
{
"name": "Cash Wallet"
}
- URL: PUT /accounts/id/
{
"name": "Wallet"
}
- URL: POST /accounts/1/toggle-favorite
No payload
- URL: GET /categories/
- URL: GET /categories/id/
Gotta remove eligible_mode
- URL: POST /categories/
{
"name": "Salary",
"eligible_mode": "creditable"
}
{
"name": "Commute",
"eligible_mode": "debitable"
}
{
"name": "Cash Transfer",
"eligible_mode": "creditable",
"category_type": "internal_transfer"
}
- URL: PUT /categories/id/
{
"name": "Cash Refill"
}
- URL: POST /categories/1/toggle-favorite
No payload
- URL: POST /expense_logs/
{
"account_id":1,
"category_id":1,
"amount":50000,
"mode": "credit",
"note":"Salary Credit",
"tag_list": ["paisa", "paishe"]
}
{
"user_id":7,
"account_id":4,
"destination_account_id": 3,
"category_id":2,
"amount":500,
"mode": "debit",
"note":"Wallet refill from new salary",
"tag_list": ["oops"]
}
- URL: PUT /expense_logs/1/
{
"tag_list": ["chai, samosa"],
"note": "Money for snacks!"
}
- URL: POST /expense_logs/1/toggle-favorite
No payload
- URL: GET /internal-transfer-logs/
- URL: GET /internal-transfer-logs/id/
--