{ "type": "object", "properties": { "loans": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer", "example": 1 }, "customer_id": { "type": "string", "example": "CUST123" }, "account_id": { "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" }, "initial_loan_amount": { "type": "number", "format": "float", "example": 10000.0 }, "current_loan_amount": { "type": "number", "format": "float", "example": 8500.0 }, "status": { "type": "string", "example": "active" }, "tenor": { "type": "string", "example": "30" }, "product_id": { "type": "string", "example": "PROD101" }, "default_penalty_fee": { "type": "number", "format": "float", "example": 500.0 }, "continuous_fee": { "type": "number", "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", "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-20T14:45: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": "LoansResponse" } }