Emi Loan Dashoard Detail
These APIs are used to fetch dashboard detail for Emi loans.
a. When loan status is OVERDUE
| Emi Overdue Loan Details |
 |
| URL |
/v4/deashboard/detail |
| METHOD |
POST |
<br> |
|
Request body
{
"bankCode": "SCB",
"customerNumber": "9845528933"
}
| Field |
Data Type |
Description |
bankCode |
String |
Swift code representing the bank (e.g., SCB). |
customerNumber |
String |
Unique identifier for the customer. |
Response body
<button>Copy</button>
{
"status": "OK",
"statusCode": 200,
"series": "SUCCESSFUL",
"code": 20,
"phrase": "Existing loan details fetched successfully.",
"data": {
"appView": {
"header": {
"title": "Fone Loan",
"user": {
"name": "Sudin Shakya",
"avatar": "https://example.com/user_avatar"
},
"warning": {
"message": "You have due amount of NPR 5,256. Please maintain your account balance so that your due amount for 10 days is settled on time to avoid LATE FEES and PENALTY."
}
},
"loanStatusSection": {
"status": "OVERDUE",
"overdueAmount": "NPR 15,265.00",
"overdueBy": "12 days"
},
"loanDetailsSection": {
"monthlyEMI": "NPR 5,005.00",
"nextPaymentDate": "2024-03-15",
"totalLoanAmount": "NPR 30,000.00",
"EMIPaid": "NPR 10,000.00",
"remainingAmount": "NPR 20,590.00",
"action": {
"label": "View Details",
"action": "viewLoanDetails"
}
},
"bnplSection": {
"title": "Buy Now Pay Later",
"description": "You can use the fund to buy products using buy now pay later QR scanner",
"action": {
"label": "Open BNPL Offering Website",
"action": "openBNPLWebsite"
}
},
"footerSection": {
"label": "Past Loan History",
"action": "viewPastLoanHistory"
}
}
},
"timestamp": "01-22-2025 11:32:57 AM"
}
b. When Loan Status is DEFAULT
| Emi Default Loan Details |
 |
Request body
{
"bankCode": "SCB",
"customerNumber": "9845528933"
}
| Field |
Data Type |
Description |
bankCode |
String |
Swift code representing the bank (e.g., SCB). |
customerNumber |
String |
Unique identifier for the customer. |
|
|
|
Response body
{
"status": "OK",
"statusCode": 200,
"series": "SUCCESSFUL",
"code": 20,
"phrase": "Existing loan details fetched successfully.",
"data": {
"appView": {
"header": {
"title": "Fone Loan",
"user": {
"name": "Sudin Shakya",
"avatar": "https://example.com/user_avatar"
},
"warning": {
"message": "You have due amount of NPR 15,256. We could not charge the EMI for three months. It looks like the account balance is empty. We request you to urgently make the payment to avoid penalty and backlisting."
}
},
"loanStatusSection": {
"status": "OVERDUE",
"overdueAmount": "NPR 15,265.00",
"overdueBy": "92 days"
},
"loanDetailsSection": {
"monthlyEMI": "NPR 5,005.00",
"nextPaymentDate": "2024-03-15",
"totalLoanAmount": "NPR 30,000.00",
"EMIPaid": "NPR 10,000.00",
"remainingAmount": "NPR 20,590.00",
"action": {
"label": "View Details",
"action": "viewLoanDetails"
}
},
"bnplSection": {
"title": "Buy Now Pay Later",
"description": "You can use the fund to buy products using buy now pay later QR scanner",
"action": {
"label": "Open BNPL Offering Website",
"action": "openBNPLWebsite"
}
}
}
},
"timestamp": "01-22-2025 11:32:57 AM"
}
c. When Loan Status is ACTIVE
| Emi Active Loan Details |
 |
Request body
{
"bankCode": "SCB",
"customerNumber": "9845528933"
}
| Field |
Data Type |
Description |
bankCode |
String |
Swift code representing the bank (e.g., SCB). |
customerNumber |
String |
Unique identifier for the customer. |
|
|
|
Response body
{
"status": "OK",
"statusCode": 200,
"series": "SUCCESSFUL",
"code": 20,
"phrase": "Successful",
"message": "Loan details fetched successfully.",
"data": {
"metadata": {
"user": {
"name": "Sudin Shakya"
},
"loanPrincipleDue": 20000.00,
"availableLimit": 70000.00,
"settleNote": "Settle existing loan to apply new loan"
},
"appView": {
"header": {
"title": "Loan Principle Due Vs Available Limit"
},
"body": [
{
"type": "barGraph",
"title": "Loan Principle Due Vs Available Limit",
"data": [
{
"label": "EMI Loan",
"amount": 20000.00
},
{
"label": "Available Limit",
"amount": 70000.00
}
]
},
{
"type": "section",
"title": "Your Loan Status",
"items": [
{
"key": "Status",
"value": "ACTIVE"
},
{
"key": "Monthly EMI",
"value": "NPR 5,005.00"
},
{
"key": "Next Payment Date",
"value": "2024-03-15 (20 Days Left)"
},
{
"key": "Total Loan Amount",
"value": "NPR 60,000.00"
},
{
"key": "EMI Paid",
"value": "NPR 40,000.00"
},
{
"key": "Remaining Amount",
"value": "NPR 20,590.00"
}
]
},
{
"type": "actionButtons",
"actions": [
{
"label": "Settle Now",
"action": "settleLoan"
},
{
"label": "View Details",
"action": "viewDetails"
}
]
},
{
"type": "section",
"title": "Buy Now Pay Later",
"items": [
{
"key": "Note",
"value": "You can use the fund to buy products using buy now pay later QR scanner"
},
{
"key": "Action",
"value": "Open BNPL Offering Website"
}
]
}
]
}
},
"timestamp": "01-22-2025 11:50:00 AM"
}
Emi Loan Dashoard Detail Active
| Emi Loan Details Active |
Emi Loan Details Active |
 |
 |
| URL |
/v4/deashboard/detail/active |
| METHOD |
POST |
<br> |
|
Request body
{
"bankCode": "SCB",
"mobileNumber": "9845528933",
"loanNumber": "1200000000003300"
}
| Field |
Data Type |
Description |
bankCode |
String |
Swift code representing the bank (e.g., SCB). |
customerNumber |
String |
Unique identifier for the customer. |
loanNumber |
String |
Unique identifier for the loan. |
Response body
<button>Copy</button>
{
"status": "OK",
"statusCode": 200,
"series": "SUCCESSFUL",
"code": 20,
"phrase": "Existing loan details fetched successfully.",
"data": {
"metadata": {
"token": "token",
"loanAmount": 30000,
"interestRatePerMonth": 1.33,
"loanPeriod": 3,
"lateFee": 300,
"administrationFee": 500,
"overdueInterestRate": 0.17
},
"appView": {
"header": {
"title": "Existing Loan Details"
},
"body": {
"yourLoanSection": {
"type": "section",
"title": "Your loan",
"items": [
{
"key": "Your loan amount",
"value": "NPR 30,000.00"
},
{
"key": "Interest rate per month",
"value": "1.33%"
},
{
"key": "For a period of",
"value": "3 months"
}
]
},
"loanRepaymentSection": {
"type": "section",
"title": "Your loan repayment",
"items": [
{
"key": "Monthly installments",
"value": "NPR 10,267.84"
},
{
"key": "Total payment amount",
"value": "NPR 30,803.50"
},
{
"key": "Amount credited to your account on",
"value": "1st Sep, 2024"
},
{
"key": "Your 1st installment",
"value": "24th Sep, 2024"
}
]
},
"lateFeeSection": {
"type": "section",
"title": "In case you miss the payment on time",
"items": [
{
"key": "Late fees per month",
"value": "NPR 300.00"
},
{
"key": "On overdue outstanding principle per month",
"value": "+0.17%"
}
]
},
"loanAdminFeeSection": {
"type": "section",
"title": "Loan Administration Fee",
"items": [
{
"key": "Loan administration fee",
"value": "NPR 500.00"
}
]
},
"paymentRecordSection": {
"type": "table",
"title": "Payment Date",
"columns": [
{
"header": "Payment Date",
"field": "date"
},
{
"header": "Payable Amount",
"field": "amount"
},
{
"header": "Status",
"field": "status"
}
],
"rows": [
{
"date": "Oct 22, 2022",
"amount": "5,712.00",
"status": "PAID"
},
{
"date": "Oct 22, 2022",
"amount": "5,712.00",
"status": "PAID"
},
{
"date": "Oct 22, 2022",
"amount": "5,712.00",
"status": "PAID"
}
]
},
"settledEmiSection": {
"type": "table",
"title": "Payment Date",
"columns": [
{
"header": "Payment Date",
"field": "date"
},
{
"header": "Payable Amount",
"field": "amount"
},
{
"header": "Status",
"field": "status"
}
],
"rows": [
{
"date": "Oct 22, 2022",
"amount": "5,712.00",
"status": "PAID"
},
{
"date": "Oct 22, 2022",
"amount": "5,712.00",
"status": "PAID"
},
{
"date": "Oct 22, 2022",
"amount": "5,712.00",
"status": "PAID"
}
]
}
}
}
},
"timestamp": "01-22-2025 11:32:57 AM"
}