Skip to Content
Parent Loans APILink or Enroll a Child

Link or Enroll a Child

A loan needs a studentId the parent is actually linked to. Before you build a multi-step application UI on top of Edubanc, use these endpoints to search a school’s roster and link a child, or to self-enroll when the applicant is financing their own tuition.

These endpoints take a parent session token, not your API key. They sit outside /api/partner/* and are parent actions ([Authorize(Roles = "Parent")]). Calling them with X-EdPay-Api-Key / X-EdPay-Api-Secret instead of Authorization: Bearer returns 403.

Get a session token

Mint one with Create parent SSO session (needs CanProvisionParents), then send it as Authorization: Bearer {accessToken} on every call below.

The token is short-lived, 30 minutes, and there’s no refresh token. Re-call sso/parent-session to get a fresh one instead of trying to extend the old one.

Search the school’s uploaded student roster, then link the match to the parent’s account.

GET /api/parents/students/search?schoolId={schoolId}&firstName={firstName}&lastName={lastName}
Query parameterDescription
schoolIdRequired. Edubanc GUID of the school whose roster to search.
firstNameRequired. The student’s first name.
lastNameRequired. The student’s last name.
GET/api/parents/students/search
{ "data": [ { "id": "ee4b05ac-4fba-4318-9d0f-3f357a937088", "studentId": "CT-STU-001", "fullName": "Chidi Obi", "className": "JSS 1A", "academicSession": "2025/2026", "schoolName": "ClaudeTest Academy", "isAlreadyLinked": false } ] }

Then link the match’s id (not studentId, use the roster row’s id) to the parent:

POST /api/parents/children/link
POST/api/parents/children/link
{ "success": true, "data": { "id": "<parentStudentLinkId>" }, "statusCode": 200 }

Not on the roster?

Add the child directly instead of searching:

POST /api/parents/children/manual
POST/api/parents/children/manual

This flags the child isSelfAdded: true and leaves it isVerified: false until the school confirms it. The child can still be used on a loan while unverified.

Institution / ProfessionalBody: self-enroll

Graduate and Exam financing have no separate child, the applicant is the beneficiary. Skip search and link entirely:

POST /api/parents/students/self-enroll
POST/api/parents/students/self-enroll

The returned studentId is verified immediately, there’s no roster to confirm against for these school types by design, use it the same way as a linked K-12 child from here on.

EndpointReturns
GET /api/parents/childrenEverything the parent has linked or enrolled.
GET /api/parents/students/{studentId}Detail for one.
DELETE /api/parents/children/{linkId}Unlinks a child. Takes the link id from the list response, not the student id.
GET/api/parents/children

Next

With a studentId in hand, either submit the loan directly or work up to it with a loan draft.