Endpoint: POST /fees/refund/list-payments
CURL:
curl -X POST {{base_url}}/fees/refund/list-payments \
-H "Content-Type: application/json" \
-d '{
"student_id": 24,
"filters": {
"date_from": "2024-08-01",
"date_to": "2024-08-31",
"payment_method": "Cash"
},
"offset": 0,
"limit": 10,
"academic_year_id": 1
}'
Endpoint: POST /fees/refund/create
CURL:
curl -X POST {{base_url}}/fees/refund/create \
-H "Content-Type: application/json" \
-d '{
"fee_payment_id": 1,
"fee_structure_id": 7,
"amount": 200.00,
"reason": "Overpayment"
}'
Endpoint: POST /fees/refund/delete
CURL:
curl -X POST {{base_url}}/fees/refund/delete \
-H "Content-Type: application/json" \
-d '{
"fee_refund_id": 1
}'
Endpoint: POST /fees/refund/list-history
CURL:
curl -X POST {{base_url}}/fees/refund/list-history \
-H "Content-Type: application/json" \
-d '{
"filters": {
"date_from": "2024-08-01",
"date_to": "2024-08-31"
},
"offset": 0,
"limit": 10,
"academic_year_id": 1
}'