List periods for a credit line

Path Parameters
  • creditLineId
    Type: string Format: uuid
    required
Query Parameters
  • dateFrom
    Type: string Format: date

    full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21

  • dateTo
    Type: string Format: date

    full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21

Responses
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/credit-lines/{creditLineId}/periods
curl https://api-sandbox.tryslatehq.com/credit-lines/123e4567-e89b-12d3-a456-426614174000/periods \
  --header 'x-api-key: YOUR_SECRET_TOKEN'
[
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "creditLineId": "123e4567-e89b-12d3-a456-426614174000",
    "periodNumber": 0,
    "periodStart": "2025-01-01",
    "periodEnd": "2025-01-07",
    "graceExpiry": "2025-01-10",
    "status": "open",
    "statementBalance": null,
    "minimumPayment": null,
    "amountPaid": null,
    "carriedBalance": null,
    "feeCharged": null,
    "createdAt": "2025-01-01T00:00:00Z"
  }
]