---
title: "Get repayment by ID"
method: GET
path: "/repayments"
tags: ["Repayments"]
---

# Get repayment by ID

`GET /repayments`

Retrieves a list of repayment records applied by account ID or statement ID. Repayment record provides a summary of the application of a credit transaction to different debt components, for example repaying principal amount, fees or posted interest.

## Query parameters

- `account_id` integer
- `statement_id` integer
- `page_number` integer

## Headers

- `unique-request-id` string

## Response `200`

Repayments retrieved successfully

- RepaymentListResponse
  - `page_number` integer
  - `total_pages` integer
  - `total_results` integer
  - `repayments` RepaymentResponseData[]
    - `id` integer — Repayment ID
    - `account_id` integer — Account ID
    - `statement_id` integer — Statement ID
    - `transaction_id` integer — Transaction ID
    - `transaction_datetime` string, date-time — Date and time of credit transaction
    - `transaction_amount` number — Amount of credit transaction
    - `outstanding_accrued_interest_repaid_amount` number — Allocation to repay interest older than previous statement period
    - `previous_accrued_interest_repaid_amount` number — Allocation to repay interest from previous statement period
    - `outstanding_statement_principal_repaid_amount` number — Allocation to repay principal older than previous statement period
    - `previous_statement_principal_repaid_amount` number — Allocation to repay principal from the previous statement period
    - `statement_principal_repaid_amount` number — Allocation to repay principal from the current statement period
    - `outstanding_statement_fee_repaid_amount` number — Allocation to repay fees older than previous statement period
    - `previous_statement_fee_repaid_amount` number — Allocation to repay fees from the previous statement period
    - `statement_fee_repaid_amount` number — Allocation to repay fees from the current statement period
    - `overpayment` number — If credit amount exceeded account balance, this is the amount of overpayment
  - `response_status` StatusDto
    - `status_code` string
    - `status_message` string

## Other responses

- `400` — Bad request
- `404` — Repayment not found
- `500` — Server Error

---

[API](https://skmtc.net/paymentology/apis/payapi-docs.md) · [All operations](https://skmtc.net/paymentology/apis/payapi-docs/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/paymentology/payapi-docs/revisions/a675891b0365/schema)
