Get a credit line's facility state
Availability of the facility: its limit, the credit still available, and every agreement currently consuming it. Applies to draw-facility and feed credit lines.
Path Parameters
- Type: string Format: uuidcredit
Line Id 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,
"activeExtensionsRemaining": 100000,
"pendingPeriodSpend": 50000,
"activeExtensions": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"fundedAmount": 250000,
"remainingBalance": 100000,
"principalRemaining": 100000,
"status": "IN_PROGRESS"
}
]
}