MCP Control
Интеграции · Чтение

Stripe · Просмотр · Статусы

stripe_get_status
Карточки процесса, соединённые нитями

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

Получить данные
  1. Вы указываетеОбъект
  2. ПомощникЧтение
  3. Вы получаетеПоля ответа
Запрос в чат
Для задачи «Stripe / Просмотр / Статусы» выполни чтение в текущей компании. Выведи кратко: integrationId, режим.
Что искать в ответе
integrationId
Поле ответа
mode
Режим
stripeAccountId
Поле ответа
Уточнить условия
  1. Вы указываетеЗадача
  2. ПомощникСхема входа
  3. Вы получаетеУсловия чтения
Запрос в чат
Для «Stripe / Просмотр / Статусы» перечисли допустимые условия чтения. Уточни, какие значения нужны для моей задачи, до запроса данных.
Параметры примера
Контракт
См. полную схему
Разобрать ответ
  1. Вы указываетеПолученный ответ
  2. ПомощникРазбор значений
  3. Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Stripe / Просмотр / Статусы» объясни integrationId, режим. Отметь отсутствующие значения.
Поля для проверки
integrationId
Поле ответа
mode
Режим
stripeAccountId
Поле ответа
Как работает действие

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

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

Read current company Stripe mode, non-secret account reference and live charge/onboarding capabilities. Legacy company references remain readable; credentials are never projected. If the user only says connect Stripe and intent is unknown, ask once: existing account, new account, or the platform Stripe account.

Параметры запроса

Именованных полей верхнего уровня в схеме нет.

Что вернёт команда
integrationId
Canonical integration document ID. обязательно по схеме · string
mode
Selected mode, or null when unconfigured. обязательно по схеме · string / null
stripeAccountId
Saved non-secret company account reference; retained when platform mode is selected. обязательно по схеме · string / null
referenceSource
Where the effective reference was read. обязательно по схеме · string · варианты integration, legacy
revision
Current revision returned by stripe_get_status. A stale revision returns CONFLICT; read latest before a new operation. обязательно по схеме · integer · минимум 0 · максимум 9007199254740991
status
Provider-verified, inactive, incomplete, disconnected or unavailable state. обязательно по схеме · string
active
Whether the company enables this integration. обязательно по схеме · boolean
chargesEnabled
Current Stripe charges capability; false if not verified. обязательно по схеме · boolean
payoutsEnabled
Current Stripe payouts capability; false if not verified. обязательно по схеме · boolean
detailsSubmitted
Whether Stripe reports submitted account details. обязательно по схеме · boolean
requirementsDue
Requirement field names only, never personal values or credentials. обязательно по схеме · array
disabledReason
Stripe restriction reason code, if any. обязательно по схеме · string / null
providerVerified
Whether this call obtained current Stripe account status. обязательно по схеме · boolean
platformAvailable
Whether this deployment permits platform payments. обязательно по схеме · boolean
needsOnboarding
Whether company account onboarding is still required. обязательно по схеме · boolean
setupOperationId
Pending native operation to inspect with stripe_get_operation. обязательно по схеме · string / null
Поля и технические схемы
Входные поля и поля ответа stripe_get_status
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "integrationId": {
      "type": "string",
      "const": "stripe",
      "description": "Canonical integration document ID."
    },
    "mode": {
      "anyOf": [
        {
          "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."
        },
        {
          "type": "null"
        }
      ],
      "description": "Selected mode, or null when unconfigured."
    },
    "stripeAccountId": {
      "description": "Saved non-secret company account reference; retained when platform mode is selected.",
      "type": [
        "string",
        "null"
      ]
    },
    "referenceSource": {
      "type": "string",
      "enum": [
        "integration",
        "legacy"
      ],
      "description": "Where the effective reference was read."
    },
    "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."
    },
    "status": {
      "type": "string",
      "description": "Provider-verified, inactive, incomplete, disconnected or unavailable state."
    },
    "active": {
      "type": "boolean",
      "description": "Whether the company enables this integration."
    },
    "chargesEnabled": {
      "type": "boolean",
      "description": "Current Stripe charges capability; false if not verified."
    },
    "payoutsEnabled": {
      "type": "boolean",
      "description": "Current Stripe payouts capability; false if not verified."
    },
    "detailsSubmitted": {
      "type": "boolean",
      "description": "Whether Stripe reports submitted account details."
    },
    "requirementsDue": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Requirement field names only, never personal values or credentials."
    },
    "disabledReason": {
      "description": "Stripe restriction reason code, if any.",
      "type": [
        "string",
        "null"
      ]
    },
    "providerVerified": {
      "type": "boolean",
      "description": "Whether this call obtained current Stripe account status."
    },
    "platformAvailable": {
      "type": "boolean",
      "description": "Whether this deployment permits platform payments."
    },
    "needsOnboarding": {
      "type": "boolean",
      "description": "Whether company account onboarding is still required."
    },
    "setupOperationId": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^si_[a-f0-9]{48}$",
          "description": "Protected company and user bound Stripe operation reference."
        },
        {
          "type": "null"
        }
      ],
      "description": "Pending native operation to inspect with stripe_get_operation."
    }
  },
  "required": [
    "integrationId",
    "mode",
    "stripeAccountId",
    "referenceSource",
    "revision",
    "status",
    "active",
    "chargesEnabled",
    "payoutsEnabled",
    "detailsSubmitted",
    "requirementsDue",
    "disabledReason",
    "providerVerified",
    "platformAvailable",
    "needsOnboarding",
    "setupOperationId"
  ],
  "additionalProperties": false
}