Files
digifi-swagger/schemas/LoanStatusResponse.json
T
2025-03-24 17:20:34 +01:00

96 lines
3.5 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"type": "object",
"required": [
"customerId",
"transactionId",
"loans",
"resultCode",
"resultDescription"
],
"properties": {
"customerId": {
"type": "string",
"description": "Unique identifier of a user",
"example": "CN621868"
},
"transactionId": {
"type": "string",
"description": "Unique identifier of transaction. This transaction Id must be consistent across all platforms",
"example": "Tr201712RK9232P115"
},
"loans": {
"type": "array",
"description": "Array of loan entities. If customer doesn't have a loan, this array will be empty",
"items": {
"type": "object",
"properties": {
"debtId": {
"type": "string",
"description": "Unique identifier of a debt of a user",
"example": "123456789"
},
"loanDate": {
"type": "string",
"format": "date-time",
"description": "Date and time of provided loan",
"example": "2019-10-18 14:26:21.063"
},
"dueDate": {
"type": "string",
"format": "date-time",
"description": "Due date of provided loan",
"example": "2019-11-20 14:26:21.063"
},
"currentLoanAmount": {
"type": "number",
"format": "double",
"description": "Outstanding debt amount of the user",
"example": 8500.0
},
"initialLoanAmount": {
"type": "number",
"format": "double",
"description": "Initial loan amount",
"example": 10000.0
},
"defaultPenaltyFee": {
"type": "number",
"format": "double",
"description": "Penalty fee amount",
"example": 0.0
},
"continuousFee": {
"type": "number",
"format": "double",
"description": "Interest fee charged continuously. First occurs when payment is delayed",
"example": 0.0
},
"productId": {
"type": "string",
"description": "Identifier of a provided product to a user",
"example": "101"
}
}
}
},
"totalDebtAmount": {
"type": "number",
"format": "double",
"description": "Sum amount of all existing debts of a user",
"example": 8500.0
},
"resultCode": {
"type": "string",
"description": "Result code of executed transaction, e.g. (00 Success etc.) see result codes table",
"example": "00"
},
"resultDescription": {
"type": "string",
"description": "Description of provided result code",
"example": "Successful"
}
},
"xml": {
"name": "LoanStatusResponse"
}
}