deprecated

List financing agreements

Query Parameters
  • page
    Type: integer
    min:  
    -9007199254740991
    max:  
    9007199254740991

    Page number

  • limit
    Type: integer
    min:  
    -9007199254740991
    max:  
    9007199254740991

    Items per page

  • search
    Type: string

    Free-text search

  • dateFrom
    Type: string Pattern: ^(0[1-9]|1[0-2])-([0-2][0-9]|3[01])-\d{4}$

    Filter from date (MM-DD-YYYY)

  • dateTo
    Type: string Pattern: ^(0[1-9]|1[0-2])-([0-2][0-9]|3[01])-\d{4}$

    Filter to date (MM-DD-YYYY)

  • orderBy
    Type: string

    Field used for sorting

  • orderDirection
    enum

    Sort direction

    values
    • asc
    • desc
  • id
    Type: stringFormat: uuid

    Financing agreement UUID

  • businessId
    Type: stringFormat: uuid

    Business UUID

  • externalId
    Type: string

    Partner-defined business identifier

  • status
    enum

    Financing agreement status

    values
    • IN_PROGRESS
    • COMPLETED
    • DEFAULTED
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
}