---
title: "Get financial relations for a customer"
method: GET
path: "/customers/{id}/files/financial-relations"
---

# Get financial relations for a customer

`GET /customers/{id}/files/financial-relations`

## Request

- Base URL: `https://api.open-finance.ai/v3/loans`
- URL: `https://api.open-finance.ai/v3/loans/customers/{id}/files/financial-relations`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.open-finance.ai/oauth/token` scopes: `read:customers`

## Path parameters

- `id` string, required

## Query parameters

- `sort` 1 | -1
- `limit` integer
- `nextPage` string

## Response `200`

List of financial relations

- object
  - `count` integer
  - `nextPage` string
  - `items` object[]
    - `customerId` string
    - `fileId` string
    - `year` integer
    - `amount` number, double, nullable
    - `category` string
    - `subCategory` string

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/open-finance/apis/loans.md) - [All operations](https://skmtc.dev/open-finance/apis/loans/llms.txt) - [OpenAPI document](https://skmtc.dev/open-finance/apis/loans/revisions/915c69e62042?raw)
