List transactions for a credit line

​

The period transactions of a billing cycle. Applies to revolving credit lines only.

Path Parameters

  • Credit line UUID

Query Parameters

  • Filter by period UUID

  • Filter by transaction type

    values
    purchasefeepaymentrebate
  • Filter by transaction status

  • Filter by description (case-insensitive contains)

  • Page number

  • Items per page

  • Free-text search

  • Filter from date (YYYY-MM-DD; legacy MM-DD-YYYY accepted)

  • Filter to date (YYYY-MM-DD; legacy MM-DD-YYYY accepted)

  • Field used for sorting

  • Sort direction

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/credit-lines/{creditLineId}/period-transactions
curl 'https://api-sandbox.tryslatehq.com/credit-lines/123e4567-e89b-12d3-a456-426614174000/period-transactions?periodId=123e4567-e89b-12d3-a456-426614174000&description=fuel&page=1&limit=50&dateFrom=2025-01-30&dateTo=2025-01-30&orderBy=createdAt' \
  --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
}