List credit lines
Query Parameters
- Type: integerpagemin:-9007199254740991max:9007199254740991
Page number
- Type: integerlimitmin:-9007199254740991max:9007199254740991
Items per page
- Type: stringsearch
Search by customer ID or credit line ID
- Type: stringdate
From Pattern: ^(\d{4}-\d{2}-\d{2}(T.*)?|(0[1-9]|1[0-2])-([0-2][0-9]|3[01])-\d{4})$Filter from date (YYYY-MM-DD; legacy MM-DD-YYYY accepted)
- Type: stringdate
To Pattern: ^(\d{4}-\d{2}-\d{2}(T.*)?|(0[1-9]|1[0-2])-([0-2][0-9]|3[01])-\d{4})$Filter to date (YYYY-MM-DD; legacy MM-DD-YYYY accepted)
- Type: stringorder
By Field used for sorting
- enumorder
Direction Sort direction
values- asc
- desc
- enumstatus
Filter by status
values- active
- suspended
- closed
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for get/credit-lines
curl https://api-sandbox.tryslatehq.com/credit-lines \
--header 'x-api-key: YOUR_SECRET_TOKEN'
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"applicationId": "123e4567-e89b-12d3-a456-426614174000",
"customerId": "123e4567-e89b-12d3-a456-426614174000",
"organizationId": "123e4567-e89b-12d3-a456-426614174000",
"facilityLimit": 1000000,
"currency": "CAD",
"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"
}
}
],
"page": 1,
"limit": 1,
"total": 1,
"totalPages": 1
}