Get a statement for credit line

Path Parameters
  • creditLineId
    Type: string Format: uuid
    required
Query Parameters
  • statementDate
    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}/statement
curl https://api-sandbox.tryslatehq.com/credit-lines/123e4567-e89b-12d3-a456-426614174000/statement \
  --header 'x-api-key: YOUR_SECRET_TOKEN'
{
  "creditLineId": "123e4567-e89b-12d3-a456-426614174000",
  "period": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "periodNumber": 0,
    "periodStart": "2025-01-01",
    "periodEnd": "2025-01-07",
    "periodDays": 7,
    "paymentDueDate": "2025-01-10",
    "graceExpiry": "2025-01-10",
    "status": "finalized"
  },
  "summary": {
    "facilityLimit": 1000000,
    "openingBalance": 0,
    "totalPurchases": 150000,
    "totalPayments": 50000,
    "totalRebates": 0,
    "totalFees": 0,
    "statementBalance": 150000,
    "minimumPayment": 15000,
    "amountPaid": 50000,
    "carriedBalance": 100000,
    "availableCredit": 900000
  },
  "transactions": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "type": "purchase",
      "amount": 50000,
      "transactionDate": "2025-01-01",
      "description": null
    }
  ],
  "generatedAt": "2025-01-11T00:00:00Z"
}