К содержанию
TelegaFirst

Для AI-агентов: markdown этой страницы — /docs/mcp-tool-configure-payment-credentials.mdиндекс документации — /llms.txt

configure_payment_credentials

Обновлено

Configure (upsert) ONE payment provider for the tenant. Provide `credentials` — discriminated by `provider` (e.g. yookassa {shop_id, api_key}; stripe {secret_key, webhook_secret, currency?}; tochka {jwt, tochka_client_id, customer_code?, merchant_id?} — the Tochka webhook is registered by the platform, the owner pastes no address; getcourse {account, api_key} — the platform issues the callback secret and the answer carries the full callback address for the GetCourse «Вызвать URL» process; {rotate_callback_secret: true} alone issues a new address and the old one answers 401 at once) — plus optional `enabled` (default true) and `default_currency`. Credentials are stored server-side and NEVER returned by a read. Idempotent upsert on the tenant. The answer includes webhook_setup: relay its steps to the owner. OWNER-ONLY money-config: call it directly, or prepare_admin_action then execute_admin_write (secrets are passed again at execute, never held).

Права и условия

required_scopes: ALL.

ПолеЗначение
description"Configure (upsert) ONE payment provider for the tenant. Provide `credentials` — discriminated by `provider` (e.g. yookassa {shop_id, api_key}; stripe {secret_key, webhook_secret, currency?}; tochka {jwt, tochka_client_id, customer_code?, merchant_id?} — the Tochka webhook is registered by the platform, the owner pastes no address; getcourse {account, api_key} — the platform issues the callback secret and the answer carries the full callback address for the GetCourse «Вызвать URL» process; {rotate_callback_secret: true} alone issues a new address and the old one answers 401 at once) — plus optional `enabled` (default true) and `default_currency`. Credentials are stored server-side and NEVER returned by a read. Idempotent upsert on the tenant. The answer includes webhook_setup: relay its steps to the owner. OWNER-ONLY money-config: call it directly, or prepare_admin_action then execute_admin_write (secrets are passed again at execute, never held)."
domain"payments"
name"configure_payment_credentials"
platform_version"1.0.34"
required_scopes["payments:config"]
risk"money"
scope"payments:config"
title"Configure Payment Credentials"

Входные параметры

configure_payment_credentials: inputSchema

Результат

configure_payment_credentials: outputSchema