Финансы · Чтение
Платежи · Возврат средств · Контекст
payment_refund_context
Попробуйте три запроса
Получить данные
- Вы указываетеPaymentintentid
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Платежи / Возврат средств / Контекст» выполни чтение по выбранной записи (paymentIntentId). Выведи кратко: companyId, paymentIntentId.
- companyId
- Поле ответа
- paymentIntentId
- Поле ответа
- chargeId
- Поле ответа
Уточнить объект
- Вы указываетеPaymentintentid
- ПомощникСверка выбора
- Вы получаетеТочный объект
Запрос в чат
Перед чтением «Платежи / Возврат средств / Контекст» сверь paymentIntentId с выбранной мной записью. Если совпадений несколько, покажи различия и дождись выбора.
- paymentIntentId
- Из выбранной записи
- При совпадениях
- Уточнить выбор
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Платежи / Возврат средств / Контекст» объясни 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
Поля и технические схемы

Вход · 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
}