GET /loan/{loan_id}

Get Loan Details - /loan/{loan_id}

Route GET https://borrow.pods.finance/v1/loan/{loan_id}

Description This route is used to retrieve details of an existing loan.

Request

Parameters

  • loan_id: The ID of the loan to retrieve.

Example Request

GET https://borrow.pods.finance/v1/loan/abc123

Responses

Success (200 OK) If the request is successful, the API will return a status code of 200 with the following response structure.

Example Response

{
  "loan_id": "abc123",
  "amount_borrowed": 100,
  "collateral_type": "ETH",
  "collateral_amount": 1,
  "interest_accrued": 2.5,
  "status": "active"
}

Last updated