Финансы · Чтение
Платежи · Просмотр · Stripe · Возможности
payments_get_stripe_capability
Попробуйте три запроса
Получить данные
- Вы указываетеPaymentmethodid
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Платежи / Просмотр / Stripe / Возможности» выполни чтение по выбранной записи (paymentMethodId). Выведи кратко: paymentMethodId, integration.
- paymentMethodId
- Поле ответа
- integration
- Поле ответа
- provider
- Провайдер
Задать параметры
- Вы указываетеPaymentmethodid
- ПомощникСверка выбора
- Вы получаетеТочный объект
Запрос в чат
Покажи, как получить «Платежи / Просмотр / Stripe / Возможности» на учебном примере с paymentMethodId = DEMO-101. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
- paymentMethodId
- DEMO-101
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Платежи / Просмотр / Stripe / Возможности» объясни paymentMethodId, integration. Отметь отсутствующие значения.
- paymentMethodId
- Поле ответа
- integration
- Поле ответа
- provider
- Провайдер
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании.
Описание разработчика
Check the selected native payment method and current Stripe routing without creating a Checkout, PaymentIntent or charge. Resolves api_integrations.id or SabsusPay server-side, reports saved percentage/fixed fee and customer-pays-fee semantics. Payment amount, destination and fee are never supplied by AI.
Параметры запроса
- paymentMethodId
- Existing company payment_methods.id. обязательно по схеме · string · до символов 128
Что вернёт команда
- paymentMethodId
- Verified method ID. обязательно по схеме · string
- integration
- Stored native integration reference. обязательно по схеме · string
- provider
- Resolved backend provider route. обязательно по схеме · string · варианты stripe, sabsuspay
- mode
- Effective mode for this selected method. обязательно по схеме · string / null
- accountId
- Company destination reference; null for platform Stripe. обязательно по схеме · string / null
- commissionPercent
- Existing payment_methods.commission normalized from PostgreSQL numeric. обязательно по схеме · number
- fixedFee
- Existing payment_methods.fixprice in major currency units. обязательно по схеме · number
- customerPaysFee
- Native clientPay: add rounded percentage plus fixed fee to the amount collected; credit only the order share. обязательно по схеме · boolean
- available
- Whether this route currently has an enabled Stripe account. обязательно по схеме · boolean
- status
- Current provider/integration state. обязательно по схеме · string
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"paymentMethodId": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Existing company payment_methods.id."
}
},
"required": [
"paymentMethodId"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"paymentMethodId": {
"type": "string",
"description": "Verified method ID."
},
"integration": {
"type": "string",
"description": "Stored native integration reference."
},
"provider": {
"type": "string",
"enum": [
"stripe",
"sabsuspay"
],
"description": "Resolved backend provider route."
},
"mode": {
"anyOf": [
{
"type": "string",
"enum": [
"existing_account",
"new_account",
"sabsus_platform"
]
},
{
"type": "null"
}
],
"description": "Effective mode for this selected method."
},
"accountId": {
"description": "Company destination reference; null for platform Stripe.",
"type": [
"string",
"null"
]
},
"commissionPercent": {
"type": "number",
"description": "Existing payment_methods.commission normalized from PostgreSQL numeric."
},
"fixedFee": {
"type": "number",
"description": "Existing payment_methods.fixprice in major currency units."
},
"customerPaysFee": {
"type": "boolean",
"description": "Native clientPay: add rounded percentage plus fixed fee to the amount collected; credit only the order share."
},
"available": {
"type": "boolean",
"description": "Whether this route currently has an enabled Stripe account."
},
"status": {
"type": "string",
"description": "Current provider/integration state."
}
},
"required": [
"paymentMethodId",
"integration",
"provider",
"mode",
"accountId",
"commissionPercent",
"fixedFee",
"customerPaysFee",
"available",
"status"
],
"additionalProperties": false
}