http://localhost:8000
GET /banks
Get all bank accounts.
Response
POST /bank
Create a new bank account.
Request Body
PUT /bank/{bank_id}
Update a bank account’s name.
Request Body
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Manage bank accounts and ledgers
http://localhost:8000
GET /banks[
{
"id": 1,
"name": "HDFC Bank",
"balance": 50000.0
}
]
POST /bank{ "name": "HDFC Bank" }
PUT /bank/{bank_id}| Parameter | Type | Description |
|---|---|---|
bank_id | integer | Bank account ID |
{ "name": "Updated Bank Name" }
DELETE /bank-account/{bank_id}| Parameter | Type | Description |
|---|---|---|
bank_id | integer | Bank account ID |
GET /bank-ledger/{bank_account_id}POST /bank-ledger/{bank_account_id}{
"date": "2025-01-15",
"in_entries": [
{ "description": "Cash deposit", "amount": 10000 }
],
"out_entries": [
{ "description": "Cheque payment", "amount": 5000 }
]
}
PUT /bank-ledger/{bank_account_id}