Student Fees Summary
Returns one student's fee summary in your current organization: total fees, amount paid, overdue and outstanding, and each instalment invoice with its status. Use it to show a student's dues in another system.
GET
/student/booking/statsStudent Fees Summary
curl --request GET \
--url 'https://<your-api-host>/nuSource/api/v1/student/booking/stats?user_id=<userid>' \
--header 'APIKEY: <your-api-key>' \
--header 'ORGID: <your-org-id>'{
"code": 200,
"message": "Success",
"student": {
"user_id": "168506",
"name": "Hemal Patel",
"total_fees": 280,
"paid": 120,
"overdue": 160,
"outstanding": 160,
"currency": "$",
"invoices": [
{
"invoice_id": 12058,
"due_date": 1739836800,
"currency": "$",
"amount": 10,
"status": "paid",
"name": "Full Payment 1"
},
{
"invoice_id": 12066,
"due_date": 1745280000,
"currency": "$",
"amount": 110,
"status": "paid",
"name": ""
},
{
"invoice_id": 12067,
"due_date": 1744070400,
"currency": "$",
"amount": 120,
"status": "pending",
"name": ""
},
{
"invoice_id": 12068,
"due_date": 1744070400,
"currency": "$",
"amount": 10,
"status": "pending",
"name": "Full Payment 1"
},
{
"invoice_id": 12069,
"due_date": 1744070400,
"currency": "$",
"amount": 30,
"status": "pending",
"name": "sdfdsf"
}
]
}
}Access: Institute admins only. The student must belong to the organization in your ORGID header.
Query parameters
The student.
Response
codeinteger
Example:
200messagestring
Example:
Successstudentobject
Show child attributesHide child attributes
student.user_idstring
Example:
168506student.total_feesinteger
Example:
280student.paidinteger
Example:
120student.invoicesobject[]
Show child attributesHide child attributes
student.invoices.invoice_idinteger
Example:
12058student.invoices.amountinteger
Example:
10Notes: Archived students come back with zero amounts and no invoices. If the student isn't in your organization, the response has code "Error" and the message "You Dont have permission to access this data". Rate limit: 30 requests per minute; going over locks you out for 30 minutes.