List pre-approvals v2

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

    Pre-approval UUID

  • customerId
    Type: stringFormat: uuid

    Customer UUID

  • externalId
    Type: string

    Partner-defined customer identifier

  • status
    enum

    Pre-approval status

    values
    • ACTIVE
    • EXPIRED
    • CONSUMED
Responses
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/v2/pre-approvals
curl 'https://api-sandbox.tryslatehq.com/v2/pre-approvals?page=1&limit=50&search=&dateFrom=01-30-2025&dateTo=01-30-2025&orderBy=createdAt&id=123e4567-e89b-12d3-a456-426614174000&customerId=123e4567-e89b-12d3-a456-426614174000&externalId=cust_123' \
  --header 'x-api-key: YOUR_SECRET_TOKEN'
{
  "data": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "customerId": "123e4567-e89b-12d3-a456-426614174000",
      "externalId": "cust_123",
      "status": "ACTIVE",
      "amount": 10000,
      "currency": "CAD",
      "repaymentFrequency": 1,
      "repaymentFrequencyUnit": "month",
      "origin": "slate",
      "createdAt": "2026-05-26T22:23:03.881Z"
    }
  ],
  "page": 1,
  "limit": 1,
  "total": 1,
  "totalPages": 1
}