Интеграции · Чтение
Stripe · Просмотр · Операция
stripe_get_operation
Попробуйте три запроса
Получить данные
- Вы указываетеOperationid
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Stripe / Просмотр / Операция» выполни чтение по выбранной записи (operationId). Выведи кратко: operationId, вид.
- operationId
- Поле ответа
- kind
- Вид
- state
- Состояние
После обрыва
- Вы указываетеПервоначальный ключ
- ПомощникПоиск квитанции
- Вы получаетеСостояние операции
Запрос в чат
Найди результат «Stripe / Просмотр / Операция» по ключу первоначальной попытки. Покажи состояние операции и раздели подтверждённые и пока неизвестные данные.
- 1
- Взять исходный ключ
- 2
- Проверить квитанцию
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Stripe / Просмотр / Операция» объясни operationId, вид. Отметь отсутствующие значения.
- operationId
- Поле ответа
- kind
- Вид
- state
- Состояние
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании. Для поиска результата возьмите идентификатор из первоначальной попытки. Сохраните исходные аргументы.
Описание разработчика
Recover the state/result of a Stripe setup after a timeout using its operationId, or original operation kind/requestId. Ownership is checked against current company and user. Expired links are not replayed; recovery never creates an account or exchanges OAuth codes.
Параметры запроса
- operationId
- Known setup operation ID; omit only when reconstructing from original request. необязательно · string
- operationKind
- Original operation kind, required together with originalRequestId when operationId is absent. необязательно · string · варианты set_mode, connect_existing, create_account, onboarding, deactivate
- originalRequestId
- Сохранённый идентификатор первоначального запроса. необязательно · string
Что вернёт команда
- operationId
- Protected company and user bound Stripe operation reference. обязательно по схеме · string
- kind
- Original native Stripe operation kind. обязательно по схеме · string
- state
- pending, completed or expired. обязательно по схеме · string
- originalRequestId
- Stable idempotency key for this exact attempt. Reuse unchanged after a lost response. обязательно по схеме · string
- expectedRevision
- Current revision returned by stripe_get_status. A stale revision returns CONFLICT; read latest before a new operation. обязательно по схеме · integer · минимум 0 · максимум 9007199254740991
- canResume
- Whether replay with original server-held Stripe idempotency key is safe. обязательно по схеме · boolean
- result
- Sanitized original result; null for expired or unresolved operations. обязательно по схеме · object / null
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"operationId": {
"description": "Known setup operation ID; omit only when reconstructing from original request.",
"type": "string",
"pattern": "^si_[a-f0-9]{48}$"
},
"operationKind": {
"description": "Original operation kind, required together with originalRequestId when operationId is absent.",
"type": "string",
"enum": [
"set_mode",
"connect_existing",
"create_account",
"onboarding",
"deactivate"
]
},
"originalRequestId": {
"description": "Original setup requestId, not a new attempt.",
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,128}$"
}
},
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"operationId": {
"type": "string",
"pattern": "^si_[a-f0-9]{48}$",
"description": "Protected company and user bound Stripe operation reference."
},
"kind": {
"type": "string",
"description": "Original native Stripe operation kind."
},
"state": {
"type": "string",
"description": "pending, completed or expired."
},
"originalRequestId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,128}$",
"description": "Stable idempotency key for this exact attempt. Reuse unchanged after a lost response."
},
"expectedRevision": {
"$ref": "#/$defs/_mcp0"
},
"canResume": {
"type": "boolean",
"description": "Whether replay with original server-held Stripe idempotency key is safe."
},
"result": {
"anyOf": [
{
"type": "object",
"properties": {
"operationId": {
"type": "string",
"pattern": "^si_[a-f0-9]{48}$",
"description": "Protected company and user bound Stripe operation reference."
},
"revision": {
"$ref": "#/$defs/_mcp0"
},
"mode": {
"type": "string",
"enum": [
"existing_account",
"new_account",
"sabsus_platform"
],
"description": "existing_account connects an existing Stripe account; new_account creates one through the native Cloud Function; sabsus_platform uses the platform Stripe account without a company account."
},
"status": {
"type": "string",
"description": "Confirmed setup result; account_created or a URL does not mean onboarding is complete."
},
"stripeAccountId": {
"anyOf": [
{
"type": "string",
"pattern": "^acct_[A-Za-z0-9]+$"
},
{
"type": "null"
}
],
"description": "Non-secret connected-account reference, when present."
},
"url": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"type": "null"
}
],
"description": "Short-lived provider authorization/onboarding URL; never an API credential."
},
"expiresAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
{
"type": "null"
}
],
"description": "Actual provider/state expiry; obtain a fresh link after expiry."
},
"onboardingOperationId": {
"description": "Separate recoverable native onboarding operation after account creation.",
"type": "string",
"pattern": "^si_[a-f0-9]{48}$"
}
},
"required": [
"operationId",
"revision",
"mode",
"status",
"stripeAccountId",
"url",
"expiresAt"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Sanitized original result; null for expired or unresolved operations."
}
},
"required": [
"operationId",
"kind",
"state",
"originalRequestId",
"expectedRevision",
"canResume",
"result"
],
"additionalProperties": false,
"$defs": {
"_mcp0": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Current revision returned by stripe_get_status. A stale revision returns CONFLICT; read latest before a new operation."
}
}
}