Интеграции · Изменение
Stripe · Деактивация
stripe_deactivate
Попробуйте три запроса
Подготовить
- Вы указываетеОбъект
- ПомощникПодготовка
- Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Stripe / Деактивация». Покажи объект и ожидаемый эффект до выполнения.
- Контракт
- См. полную схему
Применить
- Вы указываетеСогласованные значения
- ПомощникОдин вызов
- Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Stripe / Деактивация» с параметром expectedRevision = 4. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
- expectedRevision
- 4
Проверить итог
- Вы указываетеИсходный ответ
- ПомощникСверка результата
- Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Stripe / Деактивация» по исходному ответу. Покажи operationId, версия записи. Объясни, чем подтвердить эффект для выбранного объекта.
- До измененияПрочитать версию
- При записиПередать выбранную версию
- После ответаПеречитать объект
Как работает действие
Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения. Прочитайте актуальную версию записи перед подготовкой запроса.
Описание разработчика
Disable Stripe for new MCP order payment links while retaining the account reference and existing settlement/recovery records. This is local canonical deactivation; it does not delete the Stripe account, revoke credentials, refund or move money.
Параметры запроса
- requestId
- Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
- expectedRevision
- Версия, прочитанная перед изменением. обязательно по схеме · integer · минимум 0 · максимум 9007199254740991
Что вернёт команда
- operationId
- Protected company and user bound Stripe operation reference. обязательно по схеме · string
- revision
- Current revision returned by stripe_get_status. A stale revision returns CONFLICT; read latest before a new operation. обязательно по схеме · integer · минимум 0 · максимум 9007199254740991
- mode
- 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. обязательно по схеме · string · варианты existing_account, new_account, sabsus_platform
- status
- Confirmed setup result; account_created or a URL does not mean onboarding is complete. обязательно по схеме · string
- stripeAccountId
- Non-secret connected-account reference, when present. обязательно по схеме · string / null
- url
- Short-lived provider authorization/onboarding URL; never an API credential. обязательно по схеме · string / null
- expiresAt
- Actual provider/state expiry; obtain a fresh link after expiry. обязательно по схеме · string / null
- onboardingOperationId
- Separate recoverable native onboarding operation after account creation. необязательно · string
Поля и технические схемы

Вход · 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": "Stable idempotency key for this exact attempt. Reuse unchanged after a lost response."
},
"expectedRevision": {
"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."
}
},
"required": [
"requestId",
"expectedRevision"
],
"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."
},
"revision": {
"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."
},
"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
}