Финансы · Чтение
Клиенты · Депозит · Контекст
customer_deposit_context
Попробуйте три запроса
Получить данные
- Вы указываетеКлиент
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Клиенты / Депозит / Контекст» выполни чтение по выбранной записи (клиент). Выведи кратко: клиент, accountId.
- customerId
- Клиент
- accountId
- Поле ответа
- currency
- Валюта
Задать параметры
- Вы указываетеКлиент
- ПомощникСверка выбора
- Вы получаетеТочный объект
Запрос в чат
Покажи, как получить «Клиенты / Депозит / Контекст» на учебном примере с customerId = DEMO-101. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
- customerId
- DEMO-101
- accountId
- DEMO-101
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Клиенты / Депозит / Контекст» объясни клиент, accountId. Отметь отсутствующие значения.
- customerId
- Клиент
- accountId
- Поле ответа
- currency
- Валюта
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании.
Описание разработчика
Read the canonical customer deposit balance in one existing financial account currency and its exact ledger revision. Also reports a pending settlement that must be recovered first. No independent balance ledger or currency conversion is used. Histories above the bounded reconciliation limit fail rather than returning a partial balance.
Параметры запроса
- customerId
- Идентификатор клиента, выбранного по результату поиска. обязательно по схеме · string
- accountId
- Existing company financial account ID from finance_accounts_list/get. Currency is verified again when posting. обязательно по схеме · string
Что вернёт команда
- customerId
- Verified company customer. обязательно по схеме · string
- accountId
- Verified company financial account. обязательно по схеме · string
- currency
- Existing native currency marker. обязательно по схеме · string
- balance
- Current signed native customer deposit balance in this currency. обязательно по схеме · number
- revision
- Exact customer/profile and deposit-history revision. обязательно по схеме · string
- entries
- Native entries examined for reconciliation, including other currencies. обязательно по схеме · integer · минимум 0 · максимум 9007199254740991
- pendingOperationId
- Protected operation still holding this customer ledger, or null. Recover the original operation before another write. обязательно по схеме · string / null
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"customerId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Existing native users ID from customers_search, owned by this company."
},
"accountId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Existing company financial account ID from finance_accounts_list/get. Currency is verified again when posting."
}
},
"required": [
"customerId",
"accountId"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"customerId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Verified company customer."
},
"accountId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Verified company financial account."
},
"currency": {
"type": "string",
"description": "Existing native currency marker."
},
"balance": {
"type": "number",
"description": "Current signed native customer deposit balance in this currency."
},
"revision": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Exact customer/profile and deposit-history revision."
},
"entries": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Native entries examined for reconciliation, including other currencies."
},
"pendingOperationId": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
{
"type": "null"
}
],
"description": "Protected operation still holding this customer ledger, or null. Recover the original operation before another write."
}
},
"required": [
"customerId",
"accountId",
"currency",
"balance",
"revision",
"entries",
"pendingOperationId"
],
"additionalProperties": false
}