134 lines
3.2 KiB
JSON
134 lines
3.2 KiB
JSON
{
|
|
"type": "object",
|
|
"properties": {
|
|
"customerId": {
|
|
"type": "string",
|
|
"example": "ZX48440946"
|
|
},
|
|
"transactionId": {
|
|
"type": "string",
|
|
"example": "TRCVIC49381378037"
|
|
},
|
|
"accountId": {
|
|
"type": "string",
|
|
"example": "361005323"
|
|
},
|
|
"loans": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"debtId": {
|
|
"type": "integer",
|
|
"example": 80
|
|
},
|
|
"loanDate": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"example": "2025-09-12T11:58:58"
|
|
},
|
|
"dueDate": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"example": "2025-12-11T11:58:58"
|
|
},
|
|
"currentLoanAmount": {
|
|
"type": "number",
|
|
"format": "float",
|
|
"example": 30000.0
|
|
},
|
|
"initialLoanAmount": {
|
|
"type": "number",
|
|
"format": "float",
|
|
"example": 30000.0
|
|
},
|
|
"defaultPenaltyFee": {
|
|
"type": "number",
|
|
"format": "float",
|
|
"example": 0.0
|
|
},
|
|
"continuousFee": {
|
|
"type": "number",
|
|
"format": "float",
|
|
"example": 0.0
|
|
},
|
|
"productId": {
|
|
"type": "string",
|
|
"example": "3MPC"
|
|
},
|
|
"installmentAmount": {
|
|
"type": "number",
|
|
"format": "float",
|
|
"example": 10900.0
|
|
},
|
|
"repaymentAmount": {
|
|
"type": "number",
|
|
"format": "float",
|
|
"example": 32700.0
|
|
},
|
|
"loanRef": {
|
|
"type": "string",
|
|
"example": "TRCVIC73089465966USSD3MPC"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"example": "active"
|
|
},
|
|
"tenor": {
|
|
"type": "integer",
|
|
"example": 90
|
|
},
|
|
"transactionId": {
|
|
"type": "string",
|
|
"example": "TRCVIC73089465966"
|
|
},
|
|
"upfrontFee": {
|
|
"type": "number",
|
|
"format": "float",
|
|
"example": 622.5
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"resultCode": {
|
|
"type": "string",
|
|
"example": "00"
|
|
},
|
|
"resultDescription": {
|
|
"type": "string",
|
|
"example": "Successful"
|
|
},
|
|
"totalDebtAmount": {
|
|
"type": "number",
|
|
"format": "float",
|
|
"example": 30000.0
|
|
},
|
|
"summary": {
|
|
"type": "object",
|
|
"properties": {
|
|
"totalOutstandingAmount": {
|
|
"type": "number",
|
|
"format": "float",
|
|
"example": 114450.0,
|
|
"description": "Total amount still owed across all unpaid loans."
|
|
},
|
|
"totalActiveLoanAmount": {
|
|
"type": "number",
|
|
"format": "float",
|
|
"example": 40000.0,
|
|
"description": "Total principal amount of currently active loans."
|
|
},
|
|
"totalSettledAmount": {
|
|
"type": "number",
|
|
"format": "float",
|
|
"example": 80000.0,
|
|
"description": "Total amount that has been fully repaid."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"xml": {
|
|
"name": "LoanStatusResponse"
|
|
}
|
|
}
|