deprecated
List financing agreements
Query Parameters
- Type: integerpagemin:-9007199254740991max:9007199254740991
Page number
- Type: integerlimitmin:-9007199254740991max:9007199254740991
Items per page
- Type: stringsearch
Free-text search
- Type: stringdate
From Pattern: ^(0[1-9]|1[0-2])-([0-2][0-9]|3[01])-\d{4}$Filter from date (MM-DD-YYYY)
- Type: stringdate
To Pattern: ^(0[1-9]|1[0-2])-([0-2][0-9]|3[01])-\d{4}$Filter to date (MM-DD-YYYY)
- Type: stringorder
By Field used for sorting
- enumorder
Direction Sort direction
values- asc
- desc
- Type: stringFormat: uuidid
Financing agreement UUID
- Type: stringFormat: uuidbusiness
Id Business UUID
- Type: stringexternal
Id Partner-defined business identifier
- enumstatus
Financing agreement status
values- I
N _ P R O G R E S S - C
O M P L E T E D - D
E F A U L T E D
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for get/financing-agreements
curl 'https://api-sandbox.tryslatehq.com/financing-agreements?page=1&limit=50&search=&dateFrom=01-30-2025&dateTo=01-30-2025&orderBy=createdAt&id=123e4567-e89b-12d3-a456-426614174000&businessId=123e4567-e89b-12d3-a456-426614174000&externalId=biz_123' \
--header 'x-api-key: YOUR_SECRET_TOKEN'
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"businessId": "123e4567-e89b-12d3-a456-426614174000",
"fundedAmount": 10000,
"fundedDate": "2025-01-01",
"currency": "CAD",
"firstPaymentDate": "2025-01-01",
"estimatedLastPaymentDate": "2025-01-01",
"status": "IN_PROGRESS",
"term": 12,
"termUnit": "month",
"repaymentFrequency": 1,
"repaymentFrequencyUnit": "month",
"disbursed": false,
"remainingBalance": 10000,
"totalPaid": 10000,
"createdAt": "2025-01-01T00:00:00Z",
"updatedAt": "2025-01-01T00:00:00Z",
"type": "fixed_mca",
"fixedMCA": {
"factorRate": 1.2
}
}
],
"page": 1,
"limit": 1,
"total": 1,
"totalPages": 1
}