Skip to Content
Parent Loans APILoan Application

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/loans

One-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:

ProductRequired 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

FieldDescription
schoolId / studentIdEdubanc GUIDs for the school and student.
creditAssessmentIdOptional, from a Completed credit assessment. Omit to submit into manual review.
loanTypeTermly or Session.
terme.g. "FirstTerm".
academicSessione.g. "2025/2026".
tenureOneMonth … SixteenMonths. The real cap is per-product, quote it first with Calculate Interest to clamp your UI.
utilityBill / idCardS3 keys from Upload file, required for K-12.
requestedAmountOptional, 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.
nextOfKinname, phone, relationship, occupation.
acceptTermsRequired, 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 }
FieldDescription
idThis is {loanId} in every other endpoint on this page.
applicationNumberHuman-readable reference.
statusStarts at Submitted, see Key enums for the full list.
termsAccepted / termsAcceptedAtThe 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 / isDisbursedFlip to true once the parent completes Setup repayment mandate, and once Edubanc disburses.
totalRepayableAmount / monthlyRepaymentAmount / outstandingBalanceThe 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

POST/api/loans

Respond to loan terms offer

POST /api/loans/{loanId}/offer/respond

Accept or decline the terms offer Edubanc sent. One endpoint handles both answers.

This is the step between review and approval:

  1. The parent submits the loan and the credit assessment shows they’re eligible.
  2. An Edubanc admin reviews it and sends a terms offer: the pricing, the repayment plan, and an offer PDF. The loan moves to AwaitingTermsAcceptance and the parent gets an email.
  3. 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

ParameterDescription
loanIdThe loan’s id, as returned by Submit loan application.

Request body

FieldTypeDescription
acceptbooleanRequired. true to accept the offer, false to decline it.
reasonstringWhy 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:

Answerstatus afterwardsOther changesWhat happens next
AcceptedStays AwaitingTermsAcceptanceoffer.acceptedAt setEdubanc is notified and approves the loan. The parent is told once it’s approved.
DeclinedBack to UnderReviewoffer.rejectedAt and offer.rejectionReason setEdubanc 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 }
FieldDescription
sentAtWhen Edubanc sent the offer.
documentUrlThe offer PDF. Show it to the parent before they answer.
acceptedAtSet when the parent accepts, otherwise null.
rejectedAtSet when the parent declines, otherwise null.
rejectionReasonThe 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 }
StatusWhen
401The parent token is missing or expired.
403 / 404The loan doesn’t exist, or belongs to a different parent account.
422The 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 when acceptTerms is in the query string. That parameter is only a UI hint, unrelated to the acceptTerms body 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 403 or 404 for that loanId, the parent is probably signed in to a different account. Show which account is signed in and offer to switch. Keep the loanId across 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

POST/api/loans/00000000-0000-0000-0000-000000000001/offer/respond

Setup repayment mandate

POST /api/loans/{loanId}/setup-mandate

Initialize 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

FieldDescription
loanApplicationIdSame as {loanId} in the path.
addressParent 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 }
FieldDescription
authorizationUrlRedirect the parent here to complete bank authorization.
mandateIdReference for the mandate provider.

Try it

POST/api/loans/00000000-0000-0000-0000-000000000001/setup-mandate

Verify mandate

GET /api/loans/mandates/verify?reference={loanId}

Poll after the Mono mandate redirect (?reference=...&status=...). Confirms mandate activation on the loan.

Query

ParamDescription
referenceUsually the {loanId} from setup.

Try it

GET/api/loans/mandates/verify

Submit batch loan (multi-child)

POST /api/loans/batch

K-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

FieldDescription
schoolIdEdubanc GUID, same school for every child in the batch.
creditAssessmentIdFrom a Completed credit assessment (optional, omit for manual review).
loanType / term / academicSession / tenureSame meaning as Submit loan application.
utilityBill / idCardS3 keys from Upload file.
studentsArray of { studentId, requestedAmount }.
nextOfKinOptional, same shape as Submit loan application, or null.
acceptTermsRequired, 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

POST/api/loans/batch

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.

Try it

GET/api/loans/batch/00000000-0000-0000-0000-000000000003