MCP Control
Финансы · Чтение

Платежи · Возврат средств · Контекст

payment_refund_context
Кассовый чек, калькулятор и монеты

Попробуйте три запроса

Получить данные
  1. Вы указываетеPaymentintentid
  2. ПомощникЧтение
  3. Вы получаетеПоля ответа
Запрос в чат
Для задачи «Платежи / Возврат средств / Контекст» выполни чтение по выбранной записи (paymentIntentId). Выведи кратко: companyId, paymentIntentId.
Что искать в ответе
companyId
Поле ответа
paymentIntentId
Поле ответа
chargeId
Поле ответа
Уточнить объект
  1. Вы указываетеPaymentintentid
  2. ПомощникСверка выбора
  3. Вы получаетеТочный объект
Запрос в чат
Перед чтением «Платежи / Возврат средств / Контекст» сверь paymentIntentId с выбранной мной записью. Если совпадений несколько, покажи различия и дождись выбора.
Параметры примера
paymentIntentId
Из выбранной записи
При совпадениях
Уточнить выбор
Разобрать ответ
  1. Вы указываетеПолученный ответ
  2. ПомощникРазбор значений
  3. Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Платежи / Возврат средств / Контекст» объясни companyId, paymentIntentId. Отметь отсутствующие значения.
Поля для проверки
companyId
Поле ответа
paymentIntentId
Поле ответа
chargeId
Поле ответа
Как работает действие

Это чтение. Выберите запись или задайте фильтры в доступной компании.

Описание разработчика

Read the verified Stripe charge ownership, currency, captured, already refunded and remaining amount for this company. Returns a current context hash. This is provider evidence, not an accounting-only adjustment. Requires current company administrator authority.

Параметры запроса
paymentIntentId
Native paymentIntentId value; use the value and type returned by the corresponding service. обязательно по схеме · string
Что вернёт команда
companyId
Native companyId 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
chargeId
Native chargeId value; use the value and type returned by the corresponding service. обязательно по схеме · string
currency
Native currency value; use the value and type returned by the corresponding service. обязательно по схеме · string
capturedMinor
Native capturedMinor value; use the value and type returned by the corresponding service. обязательно по схеме · integer · минимум 0 · максимум 9007199254740991
refundedMinor
Native refundedMinor value; use the value and type returned by the corresponding service. обязательно по схеме · integer · минимум 0 · максимум 9007199254740991
remainingMinor
Native remainingMinor value; use the value and type returned by the corresponding service. обязательно по схеме · integer · минимум 0 · максимум 9007199254740991
orderId
Native orderId value; use the value and type returned by the corresponding service. обязательно по схеме · string / null
contextHash
Native contextHash value; use the value and type returned by the corresponding service. обязательно по схеме · string
Поля и технические схемы
Входные поля и поля ответа payment_refund_context
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "paymentIntentId": {
      "type": "string",
      "pattern": "^pi_[A-Za-z0-9]+$",
      "description": "Native paymentIntentId value; use the value and type returned by the corresponding service."
    }
  },
  "required": [
    "paymentIntentId"
  ],
  "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."
    },
    "paymentIntentId": {
      "type": "string",
      "pattern": "^pi_[A-Za-z0-9]+$",
      "description": "Native paymentIntentId value; use the value and type returned by the corresponding service."
    },
    "chargeId": {
      "type": "string",
      "pattern": "^(?:ch|py)_[A-Za-z0-9]+$",
      "description": "Native chargeId value; use the value and type returned by the corresponding service."
    },
    "currency": {
      "type": "string",
      "pattern": "^[A-Z]{3}$",
      "description": "Native currency value; use the value and type returned by the corresponding service."
    },
    "capturedMinor": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Native capturedMinor value; use the value and type returned by the corresponding service."
    },
    "refundedMinor": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Native refundedMinor value; use the value and type returned by the corresponding service."
    },
    "remainingMinor": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Native remainingMinor value; use the value and type returned by the corresponding service."
    },
    "orderId": {
      "description": "Native orderId value; use the value and type returned by the corresponding service.",
      "type": [
        "string",
        "null"
      ]
    },
    "contextHash": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$",
      "description": "Native contextHash value; use the value and type returned by the corresponding service."
    }
  },
  "required": [
    "companyId",
    "paymentIntentId",
    "chargeId",
    "currency",
    "capturedMinor",
    "refundedMinor",
    "remainingMinor",
    "orderId",
    "contextHash"
  ],
  "additionalProperties": false
}