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.
K-12: search the roster, then link
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 parameter | Description |
|---|---|
schoolId | Required. Edubanc GUID of the school whose roster to search. |
firstName | Required. The student’s first name. |
lastName | Required. The student’s last name. |
{
"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{ "success": true, "data": { "id": "<parentStudentLinkId>" }, "statusCode": 200 }Not on the roster?
Add the child directly instead of searching:
POST /api/parents/children/manualThis 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-enrollThe 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.
Manage links
| Endpoint | Returns |
|---|---|
GET /api/parents/children | Everything 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. |
Next
With a studentId in hand, either submit the loan directly
or work up to it with a loan draft.