update
This commit is contained in:
@@ -18,6 +18,16 @@
|
||||
"type": "string",
|
||||
"example": "ACC456"
|
||||
},
|
||||
"transaction_id": {
|
||||
"type": "string",
|
||||
"example": "TRX789",
|
||||
"nullable": true
|
||||
},
|
||||
"original_transaction": {
|
||||
"type": "string",
|
||||
"example": "ORIG123",
|
||||
"nullable": true
|
||||
},
|
||||
"offer_id": {
|
||||
"type": "string",
|
||||
"example": "OFFER789"
|
||||
@@ -50,10 +60,29 @@
|
||||
"format": "float",
|
||||
"example": 50.0
|
||||
},
|
||||
"upfront_fee": {
|
||||
"type": "number",
|
||||
"format": "float",
|
||||
"example": 100.0,
|
||||
"nullable": true
|
||||
},
|
||||
"repayment_amount": {
|
||||
"type": "number",
|
||||
"format": "float",
|
||||
"example": 10500.0,
|
||||
"nullable": true
|
||||
},
|
||||
"installment_amount": {
|
||||
"type": "number",
|
||||
"format": "float",
|
||||
"example": 3500.0,
|
||||
"nullable": true
|
||||
},
|
||||
"due_date": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"example": "2023-12-31T23:59:59Z"
|
||||
"example": "2023-12-31T23:59:59Z",
|
||||
"nullable": true
|
||||
},
|
||||
"created_at": {
|
||||
"type": "string",
|
||||
@@ -105,4 +134,4 @@
|
||||
"xml": {
|
||||
"name": "LoansResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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