Get a credit line's draw-facility state

Availability of a draw facility: its limit, the credit still available, and every draw currently consuming it.

Path Parameters
  • creditLineId
    Type: string Format: uuid
    required
Responses
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/credit-lines/{creditLineId}/facility
curl https://api-sandbox.tryslatehq.com/credit-lines/123e4567-e89b-12d3-a456-426614174000/facility \
  --header 'x-api-key: YOUR_SECRET_TOKEN'
{
  "creditLineId": "123e4567-e89b-12d3-a456-426614174000",
  "currency": "CAD",
  "status": "active",
  "facilityLimit": 1000000,
  "availableCredit": 750000,
  "outstandingDrawsTotal": 150000,
  "activeExtensionsRemaining": 100000,
  "pendingPeriodSpend": 50000,
  "openDraws": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "creditLineId": "123e4567-e89b-12d3-a456-426614174000",
      "amount": 250000,
      "periodStart": null,
      "periodEnd": null,
      "fundedDate": null,
      "dueDate": null,
      "status": "open",
      "financingAgreementId": null,
      "createdAt": "2025-01-01T00:00:00Z",
      "updatedAt": "2025-01-01T00:00:00Z"
    }
  ],
  "activeExtensions": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "fundedAmount": 250000,
      "remainingBalance": 100000,
      "principalRemaining": 100000,
      "status": "IN_PROGRESS"
    }
  ]
}