LendWorksLendWorksDocs

Funded Deals

List and retrieve closed/funded deals with financial details and commission information.

Funded deals represent loans that have been successfully closed and funded. They include full financial details like funded amounts, interest rates, terms, and commission breakdowns.

List Funded Deals

GET /v1/funded-deals

Returns a paginated list of funded deals in your organization.

Query Parameters

ParameterTypeDefaultDescription
pageinteger1Page number
limitinteger20Items per page (max 100)

Example Request

curl -H "Authorization: Bearer lw_live_xxxx" \
     "https://api.lend.works/v1/funded-deals?limit=10"

Example Response

{
  "data": [
    {
      "id": "f1a2b3c4-1234-5678-9abc-def012345678",
      "type": "funded_deal",
      "attributes": {
        "businessName": "Acme Corp",
        "lenderName": "First Capital Finance",
        "fundedAmount": "250000",
        "interestRate": "8.5",
        "termMonths": 24,
        "monthlyPayment": "11458.33",
        "productType": "Term Loan",
        "commission": {
          "amount": "5000",
          "rate": "0.02",
          "type": "percentage"
        },
        "fundedAt": "2025-01-10T16:00:00Z",
        "createdAt": "2025-01-10T16:00:00Z",
        "updatedAt": "2025-01-10T16:00:00Z"
      }
    }
  ],
  "meta": {
    "total": 87,
    "page": 1,
    "limit": 10,
    "hasMore": true,
    "requestId": "c98d08e1-f2a3-4b45-6789-012345678234"
  }
}

Get a Funded Deal

GET /v1/funded-deals/{id}

Retrieve a single funded deal with full financial details.

Path Parameters

ParameterTypeDescription
idUUIDFunded deal ID

Example Request

curl -H "Authorization: Bearer lw_live_xxxx" \
     https://api.lend.works/v1/funded-deals/f1a2b3c4-1234-5678-9abc-def012345678

Response — 200 OK

Returns the funded deal in the standard response envelope with full financial details.

Errors

StatusCodeDescription
403FORBIDDENAPI key lacks read permission
404NOT_FOUNDFunded deal not found

Webhook Events

EventDescription
deal.fundedFired when a deal is marked as funded

See Webhook Events for payload details.