List transactions for a credit line

Path Parameters
  • creditLineId
    Type: string Format: uuid
    required

    Credit line UUID

Query Parameters
  • periodId
    Type: string Format: uuid

    Filter by period UUID

  • type
    enum

    Filter by transaction type

    values
    • purchase
    • fee
    • payment
    • rebate
  • status
    enum

    Filter by transaction status

    values
    • active
    • reverted
  • description
    Type: string

    Filter by description (case-insensitive contains)

  • 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: ^(\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)

  • dateTo
    Type: string 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)

  • orderBy
    Type: string

    Field used for sorting

  • orderDirection
    enum

    Sort direction

    values
    • asc
    • desc
Responses
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/credit-lines/{creditLineId}/transactions
curl https://api-sandbox.tryslatehq.com/credit-lines/123e4567-e89b-12d3-a456-426614174000/transactions \
  --header 'x-api-key: YOUR_SECRET_TOKEN'
{
  "data": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "creditLineId": "123e4567-e89b-12d3-a456-426614174000",
      "periodId": "123e4567-e89b-12d3-a456-426614174000",
      "type": "payment",
      "amount": 50000,
      "transactionDate": "2025-01-01",
      "description": null,
      "notes": null,
      "createdAt": "2025-01-01T00:00:00Z",
      "status": "active",
      "revertedAt": null,
      "revertReason": null
    }
  ],
  "total": -9007199254740991,
  "totalPages": -9007199254740991
}