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

<div class="openapi">

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

<!-- 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/{gift_card_id}
```

</div>

</div>

</div>

## Responses

<div class="openapi__response__code__200">

## 200 OK

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

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```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 %}

#|
|| **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}

</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">

### 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>

</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__404">

## 404 Not Found

Ресурс не найден.

<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.