Course Purchase List
Lists the course purchases (enrollments and their payments) of the signed-in learner, or of a parent's linked children. Use it in a learner portal to show "My purchases".
GET
/institution/bookingsCourse Purchase List
curl --request GET \
--url 'https://<your-api-host>/nuSource/api/v1/institution/bookings' \
--header 'APIKEY: <your-api-key>' \
--header 'ORGID: <your-org-id>'{
"code": 200,
"message": "Success",
"bookings": [
{
"package_id": 62567,
"institution_id": 126,
"payment_id": 3881340,
"payment_status": "cleared",
"payment_scheme": 324,
"discount": 0,
"amount": 5000,
"currency_symbol": "₹",
"position": 1,
"payment_gateway": 8,
"date_of_commencement": "",
"institution_name": "demo. Academy Edmingle",
"package_name": "Gen AI Course",
"student_name": "Asit",
"student_email": "hemal+test9809@edmingle.com",
"student_contact_number": "7898093461",
"student_bundle_status": 1,
"final_amount": 5000,
"date_of_enrolment": "18/06/2026",
"enrollment_id": 3889789,
"is_online_package": 1,
"is_test_series": 0,
"is_free_enrolment": 0,
"course_type": 2,
"institution_bundle_id": 92821,
"organization_id": 212,
"enrollment_expiration_date": 1803340800,
"promocode_text": "",
"timestamp_date_of_enrolment": 1781772555,
"bundle_img_url": null,
"enrollment_source": 1
},
{
"package_id": 1951,
"institution_id": 126,
"payment_id": 3783273,
"payment_status": "pending",
"payment_scheme": 344,
"discount": 0,
"amount": 5,
"currency_symbol": "₹",
"position": 1,
"payment_gateway": 8,
"date_of_commencement": "",
"institution_name": "demo. Academy Edmingle",
"package_name": "Physics",
"student_name": "Asit",
"student_email": "hemal+test9809@edmingle.com",
"student_contact_number": "7898093461",
"student_bundle_status": 1,
"final_amount": 5.9,
"date_of_enrolment": "22/05/2026",
"enrollment_id": 3791721,
"is_online_package": 1,
"is_test_series": 0,
"is_free_enrolment": 0,
"course_type": 1,
"institution_bundle_id": 2182,
"organization_id": 241,
"enrollment_expiration_date": 0,
"promocode_text": "",
"timestamp_date_of_enrolment": 1779440917,
"bundle_img_url": "https://dme2wmiz2suov.cloudfront.net/User(3846680)/CourseBundles(1951)/4237523-Screenshot_2025-07-09_at_12.21.58%E2%80%AFPM.png",
"enrollment_source": 1
},
{
"package_id": 24162,
"institution_id": 126,
"payment_id": 1819581,
"payment_status": "cleared",
"payment_scheme": 290,
"discount": 0,
"amount": 1,
"currency_symbol": "₹",
"position": 1,
"payment_gateway": 8,
"date_of_commencement": "",
"institution_name": "demo. Academy Edmingle",
"package_name": "2026 Welcome to India Course",
"student_name": "Asit",
"student_email": "hemal+test9809@edmingle.com",
"student_contact_number": "7898093461",
"student_bundle_status": 1,
"final_amount": 1,
"date_of_enrolment": "07/02/2025",
"enrollment_id": 1828001,
"is_online_package": 1,
"is_test_series": 0,
"is_free_enrolment": 0,
"course_type": 1,
"institution_bundle_id": 44840,
"organization_id": 212,
"enrollment_expiration_date": 0,
"promocode_text": "",
"timestamp_date_of_enrolment": 1738915059,
"bundle_img_url": "https://dme2wmiz2suov.cloudfront.net/User(53044146)/CourseBundles(24162)/3684846-124855-Gspace.png",
"enrollment_source": 1
},
{
"package_id": 12511,
"institution_id": 126,
"payment_id": 1819580,
"payment_status": "cleared",
"payment_scheme": 290,
"discount": 0,
"amount": 1120,
"currency_symbol": "₹",
"position": 1,
"payment_gateway": 8,
"date_of_commencement": "",
"institution_name": "demo. Academy Edmingle",
"package_name": "Paid course test data single installment",
"student_name": "Asit",
"student_email": "hemal+test9809@edmingle.com",
"student_contact_number": "7898093461",
"student_bundle_status": 1,
"final_amount": 1120,
"date_of_enrolment": "07/02/2025",
"enrollment_id": 1828000,
"is_online_package": 1,
"is_test_series": 0,
"is_free_enrolment": 0,
"course_type": 1,
"institution_bundle_id": 28658,
"organization_id": 212,
"enrollment_expiration_date": 0,
"promocode_text": "",
"timestamp_date_of_enrolment": 1738886400,
"bundle_img_url": "https://dme2wmiz2suov.cloudfront.net/User(3846680)/CourseBundles(12511)/2205450-Krishna.jpg",
"enrollment_source": 1
},
{
"package_id": 1370,
"institution_id": 126,
"payment_id": 1552651,
"payment_status": "cleared",
"payment_scheme": 290,
"discount": 1,
"amount": 1,
"currency_symbol": "$",
"position": 1,
"payment_gateway": -1,
"date_of_commencement": "",
"institution_name": "demo. Academy Edmingle",
"package_name": "Commerce",
"student_name": "Asit",
"student_email": "hemal+test9809@edmingle.com",
"student_contact_number": "7898093461",
"student_bundle_status": 1,
"final_amount": 0,
"date_of_enrolment": "10/10/2024",
"enrollment_id": 1561065,
"is_online_package": 1,
"is_test_series": 0,
"is_free_enrolment": 0,
"course_type": 2,
"institution_bundle_id": 1516,
"organization_id": 212,
"enrollment_expiration_date": 0,
"promocode_text": "",
"timestamp_date_of_enrolment": 1728560709,
"bundle_img_url": "https://dme2wmiz2suov.cloudfront.net/User(3846680)/CourseBundles(1370)/1890676-clay-banks-E2HgkL3LaFE-unsplash.jpg",
"enrollment_source": 2
}
],
"registrations": [],
"special_fees": [
{
"payment_id": 46577,
"institution_id": 126,
"organization_id": 212,
"user_id": 91139236,
"template_id": 333,
"amount": 0,
"created_at_gmt": 1738915079,
"due_date_gmt": 1738915079,
"payment_status": "cleared",
"notes": "Mettl Exam Course Enrollment By Course",
"paid_on": 0,
"template_name": "Assessment Fees template",
"invoice_id": 2284364,
"amount_due": 0,
"invoice_number": 4080,
"discount": 0,
"final_amount": 0,
"credits_applied": 0,
"is_igst": 0,
"igst_per": "0.00000",
"igst_amount": 0,
"cgst_per": "0.00000",
"cgst_amount": 0,
"sgst_per": "0.00000",
"sgst_amount": 0,
"enable_gst": 0,
"place_of_supply": "KARNATAKA",
"currency_symbol": "₹",
"position": 1,
"currency_id": 49,
"base_currency_id": 49,
"conversion_rate": "1.00000",
"adjustment_rate": "0.00000",
"num_of_decimals": 2
},
{
"payment_id": 60165,
"institution_id": 126,
"organization_id": 241,
"user_id": 91139236,
"template_id": 333,
"amount": 0,
"created_at_gmt": 1779440933,
"due_date_gmt": 1779440933,
"payment_status": "cleared",
"notes": "Mettl Exam Course Enrollment By Course",
"paid_on": 0,
"template_name": "Assessment Fees template",
"invoice_id": 4467882,
"amount_due": 0,
"invoice_number": 255,
"discount": 0,
"final_amount": 0,
"credits_applied": 0,
"is_igst": 0,
"igst_per": "0.00000",
"igst_amount": 0,
"cgst_per": "0.00000",
"cgst_amount": 0,
"sgst_per": "0.00000",
"sgst_amount": 0,
"enable_gst": 0,
"place_of_supply": "KARNATAKA",
"currency_symbol": "₹",
"position": 1,
"currency_id": 49,
"base_currency_id": 49,
"conversion_rate": "1.00000",
"adjustment_rate": "0.00000",
"num_of_decimals": 2
}
]
}Access: Learners (their own purchases) and parents (their children's). Other roles get an empty list.
Query parameters
payment_idinteger
Return only this purchase.
course_typeinteger
Return only courses of this course type.
send_archivedinteger
1 also returns cancelled enrollments to learners. Default 0.Response
codeinteger
Example:
200messagestring
Example:
Successbookingsobject[]
Show child attributesHide child attributes
bookings.institution_idinteger
Example:
126bookings.payment_idinteger
Example:
3881340bookings.discountinteger
Example:
0bookings.amountinteger
Example:
5000bookings.currency_symbolstring
Example:
₹bookings.payment_gatewayinteger
-1 enrolled by an admin (no gateway), 1 PayUBiz, 2 Instamojo, 3 PayPal, 4 Paytm, 5 CCAvenue, 6 Stripe, 7 PayUMoney, 8 Razorpay, 9 Apple Pay, 10 Easebuzz, 11 NMIExample:
8Example:
demo. Academy Edminglebookings.package_namestring
Example:
Gen AI Coursebookings.student_namestring
Example:
Asitbookings.student_emailstring
Example:
hemal+test9809@edmingle.comExample:
7898093461bookings.enrollment_idinteger
Example:
3889789bookings.is_online_packageinteger
Example:
1bookings.is_test_seriesinteger
Example:
0bookings.is_free_enrolmentinteger
Example:
0bookings.course_typeinteger
Example:
2Example:
92821bookings.organization_idinteger
Example:
212bookings.promocode_textstring
bookings.enrollment_sourceinteger
Example:
1registrationsarray
Course registrations
special_feesobject[]
Other fee invoices (template name, amount, amount due, GST details, invoice number, status)
Show child attributesHide child attributes
special_fees.payment_idinteger
Example:
46577special_fees.institution_idinteger
Example:
126special_fees.organization_idinteger
Example:
212special_fees.user_idinteger
Example:
91139236special_fees.template_idinteger
Example:
333special_fees.amountinteger
Example:
0special_fees.created_at_gmtinteger
Example:
1738915079special_fees.due_date_gmtinteger
Example:
1738915079special_fees.notesstring
Example:
Mettl Exam Course Enrollment By Coursespecial_fees.paid_oninteger
Example:
0Example:
Assessment Fees templatespecial_fees.invoice_idinteger
Example:
2284364special_fees.amount_dueinteger
Example:
0special_fees.invoice_numberinteger
Example:
4080special_fees.discountinteger
Example:
0special_fees.credits_appliedinteger
Example:
0special_fees.is_igstinteger
Example:
0special_fees.igst_perstring
Example:
0.00000special_fees.igst_amountinteger
Example:
0special_fees.cgst_perstring
Example:
0.00000special_fees.cgst_amountinteger
Example:
0special_fees.sgst_perstring
Example:
0.00000special_fees.sgst_amountinteger
Example:
0special_fees.enable_gstinteger
Example:
0Example:
KARNATAKAExample:
₹special_fees.currency_idinteger
Example:
49Example:
49Example:
1.00000Example:
0.00000special_fees.num_of_decimalsinteger
Example:
2Notes: Only purchases in organizations that let learners see their purchases are returned. Payment-in-progress and failed enrollments are never listed. Rate limit: 30 requests per minute; going over locks you out for 30 minutes.