update
This commit is contained in:
@@ -0,0 +1,100 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"repayment_schedules": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "integer",
|
||||
"example": 1
|
||||
},
|
||||
"loan_id": {
|
||||
"type": "integer",
|
||||
"example": 1234
|
||||
},
|
||||
"product_id": {
|
||||
"type": "string",
|
||||
"example": "101"
|
||||
},
|
||||
"installment_number": {
|
||||
"type": "integer",
|
||||
"example": 1
|
||||
},
|
||||
"due_date": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"example": "2023-05-15T00:00:00Z"
|
||||
},
|
||||
"installment_amount": {
|
||||
"type": "number",
|
||||
"format": "float",
|
||||
"example": 1000.0
|
||||
},
|
||||
"total_repayment_amount": {
|
||||
"type": "number",
|
||||
"format": "float",
|
||||
"example": 1050.0
|
||||
},
|
||||
"paid": {
|
||||
"type": "boolean",
|
||||
"example": false
|
||||
},
|
||||
"paid_at": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"example": null,
|
||||
"nullable": true
|
||||
},
|
||||
"created_at": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"example": "2023-01-15T10:30:00Z"
|
||||
},
|
||||
"updated_at": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"example": "2023-01-15T10:30:00Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"count": {
|
||||
"type": "integer",
|
||||
"example": 1
|
||||
},
|
||||
"pagination": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"total_count": {
|
||||
"type": "integer",
|
||||
"example": 100
|
||||
},
|
||||
"total_pages": {
|
||||
"type": "integer",
|
||||
"example": 5
|
||||
},
|
||||
"current_page": {
|
||||
"type": "integer",
|
||||
"example": 1
|
||||
},
|
||||
"limit": {
|
||||
"type": "integer",
|
||||
"example": 20
|
||||
},
|
||||
"has_next": {
|
||||
"type": "boolean",
|
||||
"example": true
|
||||
},
|
||||
"has_prev": {
|
||||
"type": "boolean",
|
||||
"example": false
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"xml": {
|
||||
"name": "RepaymentSchedulesResponse"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user