---
title: "Get account by ID"
method: GET
path: "/accounts/{id}"
tags: ["Accounts"]
---

# Get account by ID

`GET /accounts/{id}`

Retrieves credit account details from PayCredit

## Path parameters

- `id` integer, required

## Headers

- `unique-request-id` string

## Response `200`

Account retrieved successfully

- AccountResponseDto
  - `account` AccountData
    - `id` integer — Account ID
    - `account_reference` string — Client account reference if provided
    - `customer_id` integer — Customer ID
    - `status` string — Account status: A - Active C - Closed D - Deleted H - Hold I - Inactive L - Over Limit M - Matured P - Over Paid Q - Delinquency R - Arrears T - Dept_Collection W - Written Off
    - `product_id` integer — Credit product identifier
    - `balance_settled` number — Balance for settled transactions only
    - `balance_authorised` number — Balance authorised including settled and pending transactions
    - `balance_used_for_instalments` number — Balance used for instalments
    - `balance_limit` number — Credit limit of the account
    - `date_created` string — Date the account was created
    - `date_closed` string — Date closed, if the account has been closed
    - `statement_cycle_parameter` integer — Statement Day for the account if no account specific statement_cycle_parameter isincluded at time of account creation.
    - `pending_statement_id` integer — Statement ID of the current billing cycle
    - `last_released_statement_id` integer — Statement ID of the last completed billing cycle
    - `repayment_fixed_amount` number — Fixed repayment amount, if configured for the account
    - `pending_statement_start_date` string — Start date of the current billing cycle
    - `pending_statement_end_date` string — End date of the current billing cycle
    - `next_statement_id` integer — Statement ID of the next billing cycle
    - `repayment_status` string — The repayment status of the last released statement: A - In arrears D - Repayment due E - Overpaid F - Repaid in full L - Late payment O - Overdue R - Repaid minimum S - Statemented amount repaid
    - `repayment_overdue` number — Amount overdue for the last released statement
    - `repayment_type_id` string — Repayment amount configuration, defines repayment_minimum_actual_due: C = Calculated minimum H = Higher of product minimum or calculated O = Outstanding balance F = Fixed amount
    - `statements_update_date` string — The date of the last account and statement update. Processing would have been for the previous day.
    - `outstanding_principal` number — The total of outstanding debt, excluding fees and posted interest
    - `outstanding_interest` number — Total outstanding posted interest
    - `calculated_interest` number — The total accrued interest not yet posted to the account.
  - `response_status` StatusDto
    - `status_code` string
    - `status_message` string

## Other responses

- `400` — Bad request
- `404` — Account 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)
