---
title: "Get statement by ID"
method: GET
path: "/statements/{id}"
tags: ["Statements"]
---

# Get statement by ID

`GET /statements/{id}`

## Request

- Base URL: `http://<host-url>`
- URL: `http://<host-url>/statements/{id}`
- Auth: HTTP bearer

Retrieves statement data for specific statement ID

## Path parameters

- `id` integer, required

## Headers

- `unique-request-id` string

## Response `200`

Statement successfully retrieved

- GetStatementResponseDto
  - `response_status` StatusDto
    - `status_code` string
    - `status_message` string
    - `error_message` string: Details of the error, when applicable.
  - `statement` StatementData
    - `account_id` integer: Account ID
    - `balance_close` number: Closing balance of the statement
    - `balance_open` number: Opening balance of the statement
    - `date_of_last_update` string: The date of the last account and statement update. Processing would have been for the previous day.
    - `end_date` string: End date of the statement
    - `first_transaction_id` integer: Transaction ID of the first transaction of the statement
    - `id` integer: Statement ID
    - `last_transaction_id` integer: Transaction ID of the last transaction of the statement
    - `product_id` integer: Product ID
    - `repayment_actual_amount_due` number: The actual amount expected as repayment for the billing cycle, based on repayment type, calculations and actual balance.
    - `repayment_due_date` string: Date by when the minimum amount due for the statement must be repaid.
    - `repayment_minimum_actual_due` number: The minimum amount based on calculated amount, any product configuration and closing balance. This amount is included in statement data, even if repayment type is set to fixed or outstanding balance.
    - `repayment_minimum_amount` number
    - `repayment_status` 'A' | 'D' | 'E' | 'F' | 'L' | 'O' | 'P' | 'R' | 'S': Repayment status of the Account A - In arrears D - Repayment due E - Overpaid F - Repaid in full L - Late payment O - Overdue P - Pending (statement is not yet active) R - Repaid minimum required S - Statemented amount repaid
    - `repayment_type_id` 'C' | 'F' | 'H' | 'O': Repayment amount configuration, defines repayment_minimum_actual_due C - Calculated minimum H - Higher of product minimum or calculated O - Outstanding balance F - Fixed amount
    - `sequence_number` integer: Incremental number for statements, i.e. 1, 2, 3
    - `start_date` string: Start date of the statement
    - `statement_date` string: The date the statement was issued (day after end of billing cycle date)
    - `status` 'A' | 'I' | 'R': Statement status: A – active R – released I – inactive
    - `total_credits` number: Total amount of credits for the billing cycle. All credit transaction types that apply.
    - `total_debits` number: Total amount of debits for the billing cycle. All debit transaction types that apply.
    - `total_fees` number: Total amount for all fees applied for the billing cycle.
    - `total_interest` number: Total amount of interest to be posted for the billing cycle.
    - `total_taxes` number: Total amount of taxes for the billing cycle.

## Other responses

- `400`: Invalid Request
- `401`: Unauthorized
- `404`: Statement not found.
- `500`: Server Error

---

[API](https://skmtc.dev/paymentology/apis/paycredit-api.md) - [All operations](https://skmtc.dev/paymentology/apis/paycredit-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paymentology/apis/paycredit-api/revisions/cc56df9c933b?raw)
