---
title: "Get all accounts linked to an agreement"
method: GET
path: "/v1/priceagreement/{id}/link"
tags: ["Get repricing agreements"]
---

# Get all accounts linked to an agreement

`GET /v1/priceagreement/{id}/link`

This operation will returns a list of accounts connected to given agreement id

## Path parameters

- `id` string, required

## Query parameters

- `auditUser` string, required
- `page` integer
- `size` integer

## Response `200`

Successfully retrieved

- PriceAgreementAccountFullResponse[]
  - `accountId` string — The id of the card that you want to connect to a price agreement
  - `validFrom` string, date-time — The RFC 3339 format date and time from what time the price list should be active. Cannot be null
  - `validTo` string, date-time — The RFC 3339 format date and time when this price list should stop to be active. Cannot be greater than 'validFrom' of any other price list with the same 'code'. Can be null, which means this price list is active until this field is set
  - `id` string — The primary key of the connection between account and agreement
  - `priceAgreementId` string — The primary key of the price agreement

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Site number not found
- `500` — Internal server error

---

[API](https://skmtc.net/enfuce/apis/transfer-api.md) · [All operations](https://skmtc.net/enfuce/apis/transfer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/enfuce/transfer-api/versions/dc4a41118f80/schema)
