---
metadata:
  - name: generator
    content: Diplodoc Platform v5.64.0
alternate:
  - https://yandex.ru/dev/business-api/doc/ru/ref/Payment/GetBalanceClientGet.md
  - href: https://yandex.ru/dev/business-api/doc/ru/ref/Payment/GetBalanceClientGet.md
    type: text/markdown
    title: Markdown version
  - href: https://yandex.ru/dev/business-api/doc/ru/llms.txt?revision=r21817852
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/dev/business-api/doc/ru/llms.txt?revision=r21817852

<div class="openapi">

# Баланс кошелька (нужен для перевода средств)

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

Позволяет узнать баланс и идентификатор кошелька субклиента.
Идентификатор понадобится для перевода средств /priority/v1/billing-transfer (запрос «Перевод средств»).


## 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://geoadv-api.yandex.ru/priority/v1/get-balance-client
```

</div>

</div>

</div>

### Headers

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

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

Логин субклиента.

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

## Responses

<div class="openapi__response__code__200">

## 200 OK

Информация о балансе клиента.

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "data": {
    "currency": "rub",
    "walletId": 0.5,
    "availableSum": 0.5
  }
}
```

{% endcut %}

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

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

Информация о бюджете.

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

```json translate=no
{
  "currency": "rub",
  "walletId": 0.5,
  "availableSum": 0.5
}
```

{% endcut %}
{.table-cell}
||
|#{.json-schema-properties}

</div>

<div class="openapi-entity">

### GetBalanceClientData {#entity-GetBalanceClientData}

Информация о бюджете.

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

_availableSum_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: number

Доступная сумма на кошельке.
{.table-cell}
||
||

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

Валюта кошелька пользователя.

_Enum:_{.json-schema-reset .json-schema-value} `rub`, `kzt`, `byn`, `uah`
{.table-cell}
||
||

_walletId_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: number

Идентификатор кошелька.
{.table-cell}
||
|#{.json-schema-properties}

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

```json translate=no
{
  "currency": "rub",
  "walletId": 0.5,
  "availableSum": 0.5
}
```

{% endcut %}

</div>

</div>

<div class="openapi__response__code__422">

## 422 Unprocessable Entity

Ошибка при работе.

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "code": 0.5,
  "message": "example",
  "businessCode": "USER_NOT_FOUND"
}
```

{% endcut %}

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

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

Бизнес-код ошибки в текстовом формате.

_Enum:_{.json-schema-reset .json-schema-value} `USER_NOT_FOUND`, `RESOURCE_ACCESS_FORBIDDEN`
{.table-cell}
||
||

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

Код ошибки.
{.table-cell}
||
||

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

Сообщение об ошибке.

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

</div>

</div>

<div class="openapi__response__code__500">

## 500 Internal Server Error

Непредвиденная ошибка.

</div>

</div>

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