Финансы · Чтение
Платежи · Возврат средств · Просмотр · Операция
payment_refund_get_operation
Попробуйте три запроса
Получить данные
- Вы указываетеОбъект
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Платежи / Возврат средств / Просмотр / Операция» выполни чтение в текущей компании. Выведи кратко: companyId, operationId.
- companyId
- Поле ответа
- operationId
- Поле ответа
- paymentIntentId
- Поле ответа
Уточнить условия
- Вы указываетеЗадача
- ПомощникСхема входа
- Вы получаетеУсловия чтения
Запрос в чат
Для «Платежи / Возврат средств / Просмотр / Операция» перечисли допустимые условия чтения. Уточни, какие значения нужны для моей задачи, до запроса данных.
- Контракт
- См. полную схему
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Платежи / Возврат средств / Просмотр / Операция» объясни companyId, operationId. Отметь отсутствующие значения.
- companyId
- Поле ответа
- operationId
- Поле ответа
- paymentIntentId
- Поле ответа
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании.
Описание разработчика
Read and reconcile the original refund receipt against Stripe after a timeout or later status change. Never sends another refund, even after provider idempotency keys expire. submitted or not_found is not proof that money was returned or that an earlier request rolled back.
Параметры запроса
- requestId
- Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
- companyId
- Native companyId value; use the value and type returned by the corresponding service. обязательно по схеме · string
- operationId
- Native operationId value; use the value and type returned by the corresponding service. необязательно · string
- paymentIntentId
- Native paymentIntentId value; use the value and type returned by the corresponding service. необязательно · string
- amountMinor
- Native amountMinor value; use the value and type returned by the corresponding service. необязательно · integer · максимум 9007199254740991
- currency
- Native currency value; use the value and type returned by the corresponding service. необязательно · string
- state
- Native state value; use the value and type returned by the corresponding service. обязательно по схеме · string · варианты not_found, submitted, recorded, rejected
- refundId
- Native refundId value; use the value and type returned by the corresponding service. необязательно · string / null
- providerStatus
- Native providerStatus value; use the value and type returned by the corresponding service. необязательно · string / null
- reason
- Native reason value; use the value and type returned by the corresponding service. необязательно · string / null
- updatedAt
- Native updatedAt value; use the value and type returned by the corresponding service. необязательно · integer · минимум 0 · максимум 9007199254740991
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"requestId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,128}$",
"description": "Original payment_refund_create requestId in this same user/company/MCP connection."
}
},
"required": [
"requestId"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"companyId": {
"type": "string",
"description": "Native companyId value; use the value and type returned by the corresponding service."
},
"operationId": {
"description": "Native operationId value; use the value and type returned by the corresponding service.",
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"paymentIntentId": {
"description": "Native paymentIntentId value; use the value and type returned by the corresponding service.",
"type": "string",
"pattern": "^pi_[A-Za-z0-9]+$"
},
"amountMinor": {
"description": "Native amountMinor value; use the value and type returned by the corresponding service.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"currency": {
"description": "Native currency value; use the value and type returned by the corresponding service.",
"type": "string",
"pattern": "^[A-Z]{3}$"
},
"state": {
"type": "string",
"enum": [
"not_found",
"submitted",
"recorded",
"rejected"
],
"description": "Native state value; use the value and type returned by the corresponding service."
},
"refundId": {
"description": "Native refundId value; use the value and type returned by the corresponding service.",
"anyOf": [
{
"type": "string",
"pattern": "^re_[A-Za-z0-9]+$"
},
{
"type": "null"
}
]
},
"providerStatus": {
"description": "Native providerStatus value; use the value and type returned by the corresponding service.",
"anyOf": [
{
"type": "string",
"enum": [
"pending",
"requires_action",
"succeeded",
"failed",
"canceled"
]
},
{
"type": "null"
}
]
},
"reason": {
"description": "Native reason value; use the value and type returned by the corresponding service.",
"type": [
"string",
"null"
]
},
"updatedAt": {
"description": "Native updatedAt value; use the value and type returned by the corresponding service.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"companyId",
"state"
],
"additionalProperties": false
}