Loan Application
Submit a loan after a completed credit assessment, respond to the terms offer, set up the repayment mandate, or apply for multiple children at once.
Unlike the Partner API, these endpoints use Edubanc’s own schoolId / studentId
GUIDs, not your externalSchoolId / externalStudentId. Your UI typically gets
these from Edubanc’s own school/student selection screens (or from a prior lookup)
rather than from your own system’s ids directly.
Submit loan application
POST /api/loansOne-shot submit. Same end state as the loan draft’s submit step, just without the pause-and-resume in between.
The student must already be linked to the parent. Submitting with a
studentId the parent hasn’t linked or self-enrolled returns 422. See
Link or Enroll a Child for the search-and-link and
self-enroll flows.
Documents (product-gated)
Upload files via Utils → Upload file (POST /api/uploads),
then pass the returned S3 key strings:
| Product | Required keys |
|---|---|
| K-12 (partner / booked school) | utilityBill, idCard |
| ProfessionalBody (Exam finance) | examInvoice, utilityBill, bankStatement, idCard, payslips |
| Institution (Graduate finance) | utilityBill, bankStatement, idCard, payslips (no examInvoice, no admissionLetter) |
otherDocuments is always optional.
Request body
| Field | Description |
|---|---|
schoolId / studentId | Edubanc GUIDs for the school and student. |
creditAssessmentId | Optional, from a Completed credit assessment. Omit to submit into manual review. |
loanType | Termly or Session. |
term | e.g. "FirstTerm". |
academicSession | e.g. "2025/2026". |
tenure | OneMonth … SixteenMonths. The real cap is per-product, quote it first with Calculate Interest to clamp your UI. |
utilityBill / idCard | S3 keys from Upload file, required for K-12. |
requestedAmount | Optional, partial K-12 fees need at least 40% of the catalog amount; institution fees can request up to maxCustomAmount. Omit (null) to request the full catalog amount. |
nextOfKin | name, phone, relationship, occupation. |
acceptTerms | Required, must be true. The parent’s agreement to the platform terms and conditions, from a checkbox on your form. See Terms Acceptance. |
Sample below is K-12 (typical partner school):
{
"schoolId": "00000000-0000-0000-0000-000000000010",
"studentId": "00000000-0000-0000-0000-000000000011",
"creditAssessmentId": "{{assessmentId}}",
"loanType": "Termly",
"term": "FirstTerm",
"academicSession": "2025/2026",
"tenure": "SixMonths",
"utilityBill": "{{utilityBillKey}}",
"idCard": "{{idCardKey}}",
"requestedAmount": null,
"nextOfKin": {
"name": "Ngozi Eze",
"phone": "08012345678",
"relationship": "Spouse",
"occupation": "Teacher"
},
"acceptTerms": true
}Response 201
Click to expand
{
"success": true,
"message": "Resource created successfully",
"data": {
"id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"applicationNumber": "LN-20250901-0001",
"schoolName": "Greenfield Academy",
"studentName": "Ada Eze",
"className": "JSS 2",
"academicSession": "2025/2026",
"loanType": "Termly",
"term": "FirstTerm",
"tuitionAmount": 250000.00,
"discountAmount": 0,
"loanAmount": 250000.00,
"isCustomAmount": false,
"interestRate": 12.5,
"totalRepayableAmount": 281250.00,
"monthlyRepaymentAmount": 46875.00,
"tenure": "SixMonths",
"tenureMonths": 6,
"status": "Submitted",
"termsAccepted": true,
"termsAcceptedAt": "2025-09-01T10:30:00Z",
"isMandateSetup": false,
"isDisbursed": false,
"outstandingBalance": 281250.00,
"createdAt": "2025-09-01T10:30:00Z",
"monthlyInterestRatePercent": 2.08,
"totalInterestAmount": 31250.00,
"insuranceFeePercent": 0,
"insuranceFeeAmount": 0,
"firstInstallmentAmount": 46875.00
},
"errors": [],
"statusCode": 201
}| Field | Description |
|---|---|
id | This is {loanId} in every other endpoint on this page. |
applicationNumber | Human-readable reference. |
status | Starts at Submitted, see Key enums for the full list. |
termsAccepted / termsAcceptedAt | The platform terms the parent agreed to with acceptTerms, and when. Always true on a new loan. Informational only, the loan terms offer is tracked separately on offer. |
isMandateSetup / isDisbursed | Flip to true once the parent completes Setup repayment mandate, and once Edubanc disburses. |
totalRepayableAmount / monthlyRepaymentAmount / outstandingBalance | The financing breakdown, interest included. |
Error 422
Returned when acceptTerms is missing or false:
{
"success": false,
"statusCode": 422,
"message": "Validation failed.",
"errors": ["You must accept the terms and conditions to apply."]
}Try it
Respond to loan terms offer
POST /api/loans/{loanId}/offer/respondAccept or decline the terms offer Edubanc sent. One endpoint handles both answers.
This is the step between review and approval:
- The parent submits the loan and the credit assessment shows they’re eligible.
- An Edubanc admin reviews it and sends a terms offer: the pricing, the repayment
plan, and an offer PDF. The loan moves to
AwaitingTermsAcceptanceand the parent gets an email. - The parent reads the offer and accepts or declines it with this endpoint.
Accepting unblocks Edubanc’s approval and mandate setup. Declining returns the loan to review so Edubanc can send a new offer. It is not a cancellation.
This is separate from the platform terms the parent agrees to at submit
(acceptTerms). See Terms Acceptance for how
the two fit together.
Path parameters
| Parameter | Description |
|---|---|
loanId | The loan’s id, as returned by Submit loan application. |
Request body
| Field | Type | Description |
|---|---|---|
accept | boolean | Required. true to accept the offer, false to decline it. |
reason | string | Why the parent is declining. Required when accept is false, ignored otherwise. |
Accept:
{ "accept": true }Decline:
{ "accept": false, "reason": "The monthly repayment is too high for me" }Response 200
Click to expand
{
"success": true,
"message": "",
"errors": [],
"statusCode": 200
}There’s no data field. Any 2xx means the answer was recorded. Don’t read the new state from this response.
Refetch Loan detail instead, and use
its status and offer fields:
| Answer | status afterwards | Other changes | What happens next |
|---|---|---|---|
| Accepted | Stays AwaitingTermsAcceptance | offer.acceptedAt set | Edubanc is notified and approves the loan. The parent is told once it’s approved. |
| Declined | Back to UnderReview | offer.rejectedAt and offer.rejectionReason set | Edubanc sees the reason and can send a new offer, which moves the loan back to AwaitingTermsAcceptance. |
Responding doesn’t change termsAccepted.
The offer object
Loan detail returns the offer as
offer, or null if Edubanc hasn’t sent one yet.
{
"sentAt": "2025-09-03T09:00:00Z",
"documentUrl": "https://.../loan-offer-LN-20250901-0001.pdf",
"acceptedAt": null,
"rejectedAt": null,
"rejectionReason": null
}| Field | Description |
|---|---|
sentAt | When Edubanc sent the offer. |
documentUrl | The offer PDF. Show it to the parent before they answer. |
acceptedAt | Set when the parent accepts, otherwise null. |
rejectedAt | Set when the parent declines, otherwise null. |
rejectionReason | The reason the parent gave when declining, otherwise null. |
An offer is waiting for an answer when status is AwaitingTermsAcceptance and both
acceptedAt and rejectedAt are null.
Errors
Errors use the standard envelope with success: false. For example, a loan id that
doesn’t exist, or doesn’t belong to the signed-in parent:
{
"success": false,
"message": "LoanApplication with identifier '49dd4554-5044-4bf7-9fc1-d46ac616e159' was not found.",
"errors": [],
"statusCode": 404
}| Status | When |
|---|---|
401 | The parent token is missing or expired. |
403 / 404 | The loan doesn’t exist, or belongs to a different parent account. |
422 | The loan isn’t in AwaitingTermsAcceptance. The message is "There are no loan terms awaiting your response." |
Show message to the parent when a call fails.
Building the offer screen
- Open from the email link. The offer email links to
{portalUrl}/parent/loans/{loanId}?acceptTerms={loanId}. Open this screen whenacceptTermsis in the query string. That parameter is only a UI hint, unrelated to theacceptTermsbody field sent at submit. - Show the offer first. Link or embed
offer.documentUrl, and only enable Accept after the parent confirms they’ve read and agree to the terms. - Ask for a reason on decline. Keep Decline disabled until the parent types a non-empty reason, and trim it before sending.
- Handle the wrong account. The offer email links to one specific loan. If
Loan detail returns
403or404for thatloanId, the parent is probably signed in to a different account. Show which account is signed in and offer to switch. Keep theloanIdacross sign-out, so the offer can reopen once they sign in to the right account. - Refetch after answering. Reload the loan detail, and any loan lists you show, so every screen reflects the new state.
Try it
Setup repayment mandate
POST /api/loans/{loanId}/setup-mandateInitialize the direct-debit mandate. Body needs parent address (saved on the
profile if empty). Bank account is chosen during Mono authorization, do not
send accountNumber / bankCode.
Response includes authorizationUrl, redirect the parent there, then poll
Verify mandate.
The parent must accept the terms offer first. This call needs offer.acceptedAt
to be set, see Respond to loan terms offer. Otherwise
it returns 422 with the message
"Loan terms must be accepted before setting up a mandate." Show your mandate button
only when the loan’s availableActions contains SetupMandate.
Request body
| Field | Description |
|---|---|
loanApplicationId | Same as {loanId} in the path. |
address | Parent address, saved on profile if empty. |
{
"loanApplicationId": "{{loanId}}",
"address": "12 Example Street, Ikeja, Lagos"
}Response 200
Click to expand
{
"success": true,
"message": "Request successful",
"data": {
"mandateId": "mono_mandate_abc123",
"authorizationUrl": "https://connect.withmono.com/mandate/authorize/xyz789",
"message": "Mandate initiated. Please complete authorization via the provided URL."
},
"errors": [],
"statusCode": 200
}| Field | Description |
|---|---|
authorizationUrl | Redirect the parent here to complete bank authorization. |
mandateId | Reference for the mandate provider. |
Try it
Verify mandate
GET /api/loans/mandates/verify?reference={loanId}Poll after the Mono mandate redirect (?reference=...&status=...). Confirms
mandate activation on the loan.
Query
| Param | Description |
|---|---|
reference | Usually the {loanId} from setup. |
Try it
Submit batch loan (multi-child)
POST /api/loans/batchK-12 multi-child only. Same docs as single K-12 application: utilityBill +
idCard from Upload file, applied to every loan in the batch.
Request body
| Field | Description |
|---|---|
schoolId | Edubanc GUID, same school for every child in the batch. |
creditAssessmentId | From a Completed credit assessment (optional, omit for manual review). |
loanType / term / academicSession / tenure | Same meaning as Submit loan application. |
utilityBill / idCard | S3 keys from Upload file. |
students | Array of { studentId, requestedAmount }. |
nextOfKin | Optional, same shape as Submit loan application, or null. |
acceptTerms | Required, must be true. Applies to every loan in the batch. Missing or false returns the same 422 as a single submit. |
{
"schoolId": "00000000-0000-0000-0000-000000000010",
"creditAssessmentId": "{{assessmentId}}",
"loanType": "Termly",
"term": "FirstTerm",
"academicSession": "2025/2026",
"tenure": "SixMonths",
"utilityBill": "{{utilityBillKey}}",
"idCard": "{{idCardKey}}",
"students": [
{ "studentId": "00000000-0000-0000-0000-000000000011", "requestedAmount": null },
{ "studentId": "00000000-0000-0000-0000-000000000012", "requestedAmount": 120000 }
],
"nextOfKin": null,
"acceptTerms": true
}Response 201
Click to expand
{
"success": true,
"message": "Resource created successfully",
"data": {
"batchId": "b8e3f1a2-4c5d-6e7f-8a9b-0c1d2e3f4a5b",
"batchReference": "BATCH-20250901-0001",
"schoolName": "Greenfield Academy",
"totalLoanAmount": 470000.00,
"totalCatalogAmount": 500000.00,
"studentCount": 2,
"loans": [
{
"id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"applicationNumber": "LN-20250901-0001",
"schoolName": "Greenfield Academy",
"studentName": "Ada Eze",
"className": "JSS 2",
"academicSession": "2025/2026",
"loanType": "Termly",
"term": "FirstTerm",
"tuitionAmount": 250000.00,
"discountAmount": 0,
"loanAmount": 250000.00,
"isCustomAmount": false,
"interestRate": 12.5,
"totalRepayableAmount": 281250.00,
"monthlyRepaymentAmount": 46875.00,
"tenure": "SixMonths",
"tenureMonths": 6,
"status": "Submitted",
"termsAccepted": true,
"termsAcceptedAt": "2025-09-01T10:30:00Z",
"isMandateSetup": false,
"isDisbursed": false,
"outstandingBalance": 281250.00,
"createdAt": "2025-09-01T10:30:00Z",
"monthlyInterestRatePercent": 2.08,
"totalInterestAmount": 31250.00,
"insuranceFeePercent": 0,
"insuranceFeeAmount": 0,
"firstInstallmentAmount": 46875.00
},
{
"id": "c3d4e5f6-a7b8-9012-cdef-345678901234",
"applicationNumber": "LN-20250901-0002",
"schoolName": "Greenfield Academy",
"studentName": "Chidi Eze",
"className": "Primary 4",
"academicSession": "2025/2026",
"loanType": "Termly",
"term": "FirstTerm",
"tuitionAmount": 250000.00,
"discountAmount": 0,
"loanAmount": 220000.00,
"isCustomAmount": true,
"interestRate": 12.5,
"totalRepayableAmount": 247500.00,
"monthlyRepaymentAmount": 41250.00,
"tenure": "SixMonths",
"tenureMonths": 6,
"status": "Submitted",
"termsAccepted": true,
"termsAcceptedAt": "2025-09-01T10:30:00Z",
"isMandateSetup": false,
"isDisbursed": false,
"outstandingBalance": 247500.00,
"createdAt": "2025-09-01T10:30:00Z",
"monthlyInterestRatePercent": 2.08,
"totalInterestAmount": 27500.00,
"insuranceFeePercent": 0,
"insuranceFeeAmount": 0,
"firstInstallmentAmount": 41250.00
}
]
},
"errors": [],
"statusCode": 201
}Each entry in loans is shaped exactly like Submit loan application’s data, isCustomAmount: true here reflects the second child’s explicit requestedAmount.
Try it
Get loan batch
GET /api/loans/batch/{batchId}Detail for a multi-student batch application.
Response 200
Same shape as Submit batch loan’s data above.