Get a credit line
A single credit line: status, limit, available credit and outstanding balance. Applies to every credit line type. Each line's applicationId is the application that opened it (the one carrying the preApprovalId of the main offer). Draws against a line are separate applications whose creditLineId is the line's id.
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}
curl https://api-sandbox.tryslatehq.com/credit-lines/123e4567-e89b-12d3-a456-426614174000 \
--header 'x-api-key: YOUR_SECRET_TOKEN'
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"applicationId": "123e4567-e89b-12d3-a456-426614174000",
"customerId": "123e4567-e89b-12d3-a456-426614174000",
"facilityLimit": 1000000,
"currency": "CAD",
"type": "revolving",
"status": "active",
"anchorDate": "2025-01-01",
"factorFeeRate": "0.030000",
"minimumPaymentRate": "0.100000",
"createdAt": "2025-01-01T00:00:00Z",
"updatedAt": "2025-01-01T00:00:00Z",
"currentPeriod": {
"periodStart": "2025-01-01",
"periodEnd": "2025-01-31",
"graceExpiry": "2025-02-07"
},
"balance": {
"currency": "CAD",
"balance": 150000,
"totalOutstanding": 150000
},
"availableCredit": 850000
}