curl --request POST \
--url http://localhost:5000/api/finance/create \
--header 'Content-Type: application/json' \
--data '{
"studentId": "64a1f2c3e4b0d5f6a7b8c9d0",
"amount": 250.00,
"status": "PENDING"
}'
{
"_id": "64c5d8b3e2f1a0b4c5d6e7f8",
"studentId": "64a1f2c3e4b0d5f6a7b8c9d0",
"amount": 250,
"status": "PENDING",
"__v": 0
}
Create a new fee record for a student.
curl --request POST \
--url http://localhost:5000/api/finance/create \
--header 'Content-Type: application/json' \
--data '{
"studentId": "64a1f2c3e4b0d5f6a7b8c9d0",
"amount": 250.00,
"status": "PENDING"
}'
{
"_id": "64c5d8b3e2f1a0b4c5d6e7f8",
"studentId": "64a1f2c3e4b0d5f6a7b8c9d0",
"amount": 250,
"status": "PENDING",
"__v": 0
}
Creates a new fee record and saves it to the database. Fee records track amounts owed by students and their current payment status.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/praveenarya123/sps-backend/llms.txt
Use this file to discover all available pages before exploring further.
PENDING, PAID, OVERDUE.curl --request POST \
--url http://localhost:5000/api/finance/create \
--header 'Content-Type: application/json' \
--data '{
"studentId": "64a1f2c3e4b0d5f6a7b8c9d0",
"amount": 250.00,
"status": "PENDING"
}'
{
"_id": "64c5d8b3e2f1a0b4c5d6e7f8",
"studentId": "64a1f2c3e4b0d5f6a7b8c9d0",
"amount": 250,
"status": "PENDING",
"__v": 0
}