---
updatedAt: 2026-05-13T10:26:55.000Z
agentTools:
  projectIndex: https://developers.keka.com/llms.txt
---

# Updates the loan details for the specified loan identifier, with support for multi-file upload.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "PMS",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://{company}.{environment}.com/api/v1",
      "description": "Production server (uses live data)",
      "variables": {
        "environment": {
          "default": "keka",
          "enum": [
            "keka",
            "kekademo"
          ]
        }
      }
    }
  ],
  "paths": {
    "/loans": {
      "put": {
        "tags": [
          "Loans"
        ],
        "summary": "Updates the loan details for the specified loan identifier, with support for multi-file upload.",
        "parameters": [
          {
            "name": "loanId",
            "in": "query",
            "description": "The unique identifier of the loan to update.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "The data transfer object containing updated loan details.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLoanDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLoanDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLoanDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLoanDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BooleanResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BooleanResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "LoanDisbursalMode": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32"
      },
      "UpdateLoanDto": {
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/LoanRequestStatus"
          },
          "loanDisbursalMode": {
            "$ref": "#/components/schemas/LoanDisbursalMode"
          },
          "loanReleaseDate": {
            "type": "string",
            "nullable": true
          },
          "loanAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "typeOfInterest": {
            "$ref": "#/components/schemas/InterestCalculationMethod"
          },
          "interestRatePerAnnum": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "repaymentTermMonths": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "emiDeductsFrom": {
            "type": "string",
            "nullable": true
          },
          "note": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BooleanResponse": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean",
            "description": "Gets or sets a value indicating whether this Keka.API.Web.Core.Response`1 is succeeded."
          },
          "message": {
            "type": "string",
            "description": "Gets or sets the message.",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Gets or sets the errors.",
            "nullable": true
          },
          "data": {
            "type": "boolean",
            "description": "Gets or sets the data."
          }
        },
        "additionalProperties": false,
        "description": "class represents response."
      },
      "InterestCalculationMethod": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "LoanRequestStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "format": "int32"
      }
    },
    "securitySchemes": {
      "oauth2": {
        "type": "oauth2",
        "flows": {
          "implicit": {
            "authorizationUrl": "https://login.kekad.com/connect/authorize",
            "scopes": {
              "kekaapi": "Keka API"
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "oauth2": []
    }
  ]
}
```