---
metadata:
  - name: generator
    content: Diplodoc Platform v5.70.0
alternate:
  - https://yandex.ru/dev/kit/ru/openapi/Podarochnye-karty/GetGiftCards.md
  - href: https://yandex.ru/dev/kit/ru/openapi/Podarochnye-karty/GetGiftCards.md
    type: text/markdown
    title: Markdown version
  - href: https://yandex.ru/dev/kit/ru/llms.txt?revision=r22093267
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/dev/kit/ru/llms.txt?revision=r22093267

<div class="openapi">

# Получение списка подарочных карт

<!-- markdownlint-disable-file -->

Возвращает список подарочных карт магазина с пагинацией и фильтрами.

## Request

<div class="openapi__requests">

<div class="openapi__request__wrapper" style="--method: var(--dc-openapi-methods-get);margin-bottom: 12px">

<div class="openapi__request">

GET {.openapi__method}
```text translate=no
https://api.kit.yandex.net/v1/gift_cards
```

</div>

</div>

</div>

### Query parameters

#|
|| **Name** | **Description** ||
||

_page_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: integer

Номер страницы.

_Default:_{.json-schema-reset .json-schema-value} `1`

_Min value:_{.json-schema-reset .json-schema-assertion} `1`
{.table-cell}
||
||

_per_page_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: integer

Количество элементов на странице.

_Default:_{.json-schema-reset .json-schema-value} `25`

_Min value:_{.json-schema-reset .json-schema-assertion} `1`

_Max value:_{.json-schema-reset .json-schema-assertion} `100`
{.table-cell}
||
||

_purchased_date_from_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string&lt;date-time&gt;

Фильтр по дате покупки — начало диапазона (включительно).

_Example:_{.json-schema-reset .json-schema-example} `2026-01-01T00:00:00Z`
{.table-cell}
||
||

_purchased_date_to_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string&lt;date-time&gt;

Фильтр по дате покупки — конец диапазона (включительно).

_Example:_{.json-schema-reset .json-schema-example} `2026-02-01T00:00:00Z`
{.table-cell}
||
||

_status_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: [GiftCardStatus](#entity-GiftCardStatus)

Фильтр по статусу подарочной карты.

Статус подарочной карты:
- `ACTIVATED` — активен.
- `DEACTIVATED` — деактивирован.
- `REFUND_IN_PROGRESS` — в процессе возврата.
- `REFUNDED` — возвращен.
- `CANCELLED` — отменен.

_Enum:_{.json-schema-reset .json-schema-value} `ACTIVATED`, `DEACTIVATED`, `REFUND_IN_PROGRESS`, `REFUNDED`, `CANCELLED`
{.table-cell}
||
|#{.json-schema-properties}

<div class="openapi-entity">

### GiftCardStatus {#entity-GiftCardStatus}

Статус подарочной карты:
- `ACTIVATED` — активен.
- `DEACTIVATED` — деактивирован.
- `REFUND_IN_PROGRESS` — в процессе возврата.
- `REFUNDED` — возвращен.
- `CANCELLED` — отменен.

**Type**: string

_Enum:_{.json-schema-reset .json-schema-value} `ACTIVATED`, `DEACTIVATED`, `REFUND_IN_PROGRESS`, `REFUNDED`, `CANCELLED`

</div>

## Responses

<div class="openapi__response__code__200">

## 200 OK

Список подарочных карт.

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "gift_cards": [
    {
      "id": "019b21d9-c5d9-777d-80bd-d67c664bc6d9",
      "code": "GIFTCARD-****-1234",
      "initial_amount": "1000.00",
      "spent_amount": "300.00",
      "status": "ACTIVATED",
      "expires_at": "2026-12-31T23:59:59Z",
      "buyer_name": "Иван Иванов",
      "buyer_email": "buyer@example.com",
      "buyer_phone": "+79998887766",
      "holder_email": "holder@example.com",
      "sending_date": "2026-01-01T10:30:00Z",
      "purchased_date": "2026-01-01T10:30:00Z",
      "message": "С днем рождения!"
    }
  ],
  "total_count": 100
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_gift_cards_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: [GiftCard](#entity-GiftCard)[]

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
[
  {
    "id": "019b21d9-c5d9-777d-80bd-d67c664bc6d9",
    "code": "GIFTCARD-****-1234",
    "initial_amount": "1000.00",
    "spent_amount": "300.00",
    "status": "ACTIVATED",
    "expires_at": "2026-12-31T23:59:59Z",
    "buyer_name": "Иван Иванов",
    "buyer_email": "buyer@example.com",
    "buyer_phone": "+79998887766",
    "holder_email": "holder@example.com",
    "sending_date": "2026-01-01T10:30:00Z",
    "purchased_date": "2026-01-01T10:30:00Z",
    "message": "С днем рождения!"
  }
]
```

{% endcut %}
{.table-cell}
||
||

_total_count_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: integer

Общее количество подарочных карт.
{.table-cell}
||
|#{.json-schema-properties}

</div>

<div class="openapi-entity">

### GiftCardID {#entity-GiftCardID}

Идентификатор подарочной карты

**Type**: string&lt;uuid&gt;

_Example:_{.json-schema-reset .json-schema-example} `019b21d9-c5d9-777d-80bd-d67c664bc6d9`

</div>

<div class="openapi-entity">

### GiftCard {#entity-GiftCard}

Подарочная карта.

#|
|| **Name** | **Description** ||
||

_buyer_email_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Email покупателя.

_Example:_{.json-schema-reset .json-schema-example} `buyer@example.com`
{.table-cell}
||
||

_buyer_name_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Имя покупателя.

_Example:_{.json-schema-reset .json-schema-example} `Иван Иванов`
{.table-cell}
||
||

_buyer_phone_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Телефон покупателя.

_Example:_{.json-schema-reset .json-schema-example} `+79998887766`
{.table-cell}
||
||

_code_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Код подарочной карты.

_Example:_{.json-schema-reset .json-schema-example} `GIFTCARD-****-1234`
{.table-cell}
||
||

_holder_email_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Email получателя.

_Example:_{.json-schema-reset .json-schema-example} `holder@example.com`
{.table-cell}
||
||

_id_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: [GiftCardID](#entity-GiftCardID)

Идентификатор подарочной карты

_Example:_{.json-schema-reset .json-schema-example} `019b21d9-c5d9-777d-80bd-d67c664bc6d9`
{.table-cell}
||
||

_initial_amount_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string&lt;decimal&gt;

Номинал подарочной карты.

_Example:_{.json-schema-reset .json-schema-example} `1000.00`
{.table-cell}
||
||

_spent_amount_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string&lt;decimal&gt;

Потраченная сумма.

_Example:_{.json-schema-reset .json-schema-example} `300.00`
{.table-cell}
||
||

_status_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: [GiftCardStatus](#entity-GiftCardStatus)

Статус подарочной карты:
- `ACTIVATED` — активен.
- `DEACTIVATED` — деактивирован.
- `REFUND_IN_PROGRESS` — в процессе возврата.
- `REFUNDED` — возвращен.
- `CANCELLED` — отменен.

_Enum:_{.json-schema-reset .json-schema-value} `ACTIVATED`, `DEACTIVATED`, `REFUND_IN_PROGRESS`, `REFUNDED`, `CANCELLED`
{.table-cell}
||
||

_expires_at_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string&lt;date-time&gt;

Срок действия подарочной карты.

_Example:_{.json-schema-reset .json-schema-example} `2026-12-31T23:59:59Z`
{.table-cell}
||
||

_message_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Сообщение получателю.

_Example:_{.json-schema-reset .json-schema-example} `С днем рождения!`
{.table-cell}
||
||

_purchased_date_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string&lt;date-time&gt;

Дата покупки подарочной карты.

_Example:_{.json-schema-reset .json-schema-example} `2026-01-01T10:30:00Z`
{.table-cell}
||
||

_sending_date_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string&lt;date-time&gt;

Дата отправки подарочной карты получателю.

_Example:_{.json-schema-reset .json-schema-example} `2026-01-01T10:30:00Z`
{.table-cell}
||
|#{.json-schema-properties}

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "id": "019b21d9-c5d9-777d-80bd-d67c664bc6d9",
  "code": "GIFTCARD-****-1234",
  "initial_amount": "1000.00",
  "spent_amount": "300.00",
  "status": "ACTIVATED",
  "expires_at": "2026-12-31T23:59:59Z",
  "buyer_name": "Иван Иванов",
  "buyer_email": "buyer@example.com",
  "buyer_phone": "+79998887766",
  "holder_email": "holder@example.com",
  "sending_date": "2026-01-01T10:30:00Z",
  "purchased_date": "2026-01-01T10:30:00Z",
  "message": "С днем рождения!"
}
```

{% endcut %}

</div>

</div>

<div class="openapi__response__code__400">

## 400 Bad Request

Некорректный запрос.

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "code": "VALIDATION_ERROR",
  "message": "Invalid input",
  "trace_id": "00000000000000000000000000000000"
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_code_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

_Example:_{.json-schema-reset .json-schema-example} `VALIDATION_ERROR`
{.table-cell}
||
||

_message_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

_Example:_{.json-schema-reset .json-schema-example} `Invalid input`
{.table-cell}
||
||

_trace_id_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Уникальный идентификатор запроса для отладки.

_Example:_{.json-schema-reset .json-schema-example} `00000000000000000000000000000000`
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

<div class="openapi__response__code__401">

## 401 Unauthorized

Не авторизован.

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "code": "VALIDATION_ERROR",
  "message": "Invalid input",
  "trace_id": "00000000000000000000000000000000"
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_code_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

_Example:_{.json-schema-reset .json-schema-example} `VALIDATION_ERROR`
{.table-cell}
||
||

_message_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

_Example:_{.json-schema-reset .json-schema-example} `Invalid input`
{.table-cell}
||
||

_trace_id_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Уникальный идентификатор запроса для отладки.

_Example:_{.json-schema-reset .json-schema-example} `00000000000000000000000000000000`
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

<div class="openapi__response__code__500">

## 500 Internal Server Error

Внутренняя ошибка сервера.

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "code": "VALIDATION_ERROR",
  "message": "Invalid input",
  "trace_id": "00000000000000000000000000000000"
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_code_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

_Example:_{.json-schema-reset .json-schema-example} `VALIDATION_ERROR`
{.table-cell}
||
||

_message_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

_Example:_{.json-schema-reset .json-schema-example} `Invalid input`
{.table-cell}
||
||

_trace_id_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Уникальный идентификатор запроса для отладки.

_Example:_{.json-schema-reset .json-schema-example} `00000000000000000000000000000000`
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

</div>

[*Deprecated]: No longer supported, please use an alternative and newer version.